Inject User
Send a text based message to the agent.
The InjectUserMessage is a JSON message you can send to the agent to interact with the agent using text. This is useful when you need to trigger an agent response from text input.
The InjectUserMessage message provides a way to have the agent “hear” something without the user actually speaking it. The agent will respond as if the user had spoken the message.
To send the InjectUserMessage message, you need to send the following JSON message to the server:
Some common ways to use the InjectUserMessage are: