Sending a Message
After creating a Conversation you can now send your text using our API.
Or you can update it via API.
POST https://backend.az.misterturing.com/v4.0/workstation/ask_agent/
{
"conversation_id": "UUID",
"question": "Hey",
"message_id": "UUID" -> you need to pass a random UUID
}You will use the message_id to get the Sources selected by our retrieval system later.
The response will be a pure text streaming of Content-Type text/event-stream
curl --location 'https://backend.az.misterturing.com/v4.0/workstation/ask_agent/' --header 'authorization: Bearer your_toke' --header 'Content-Type: application/json' --data '{ "conversation_id": "conversation_id", "question": "Hey", "message_id": "c829333b-8824-405b-ab04-6227ce2f7fc6" }'
Last updated