Inferences
Stream chat
Endpoint: POST /v2/stream/
This endpoint allows for real-time or streamed interaction with an agent. It is designed for continuous dialogue where the agent’s responses are streamed back to the user incrementally, enhancing the real-time interaction experience.
Parameters
user_id
string
requiredThe unique identifier of the user interacting with the agent.
agent_id
string
requiredThe unique identifier of the agent handling the chat.
session_id
string
requiredThe session ID to maintain context across multiple interactions.
message
string
requiredThe user’s message or query to the agent.
Response Parameters
response
string
The agent’s response sent back incrementally.