curl --request POST \
--url https://api.example.com/chatbots/query-docs-agent/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_prompt": "<string>",
"dataset_name": "<string>",
"message": "<string>",
"conversation_id": "<string>"
}
'{}Handles chatbot queries by incorporating conversation history.
curl --request POST \
--url https://api.example.com/chatbots/query-docs-agent/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_prompt": "<string>",
"dataset_name": "<string>",
"message": "<string>",
"conversation_id": "<string>"
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns the response of the chatbot based on the conversation history
The response is of type Response Query Docs Agent Chatbots Query Docs Agent Post · object.