Chat with Knowledge Base AI
Chat with the AI using the knowledge base as the response source.
Request parameters
Path
The chatbot ID.
Body
The message to send to the AI.
The ID of the AI model to use for the response. To get a list of available AI models, use the List AI models endpoint.
The ID of the conversation. This allows the AI to remember the context of the conversation.
If left blank, a new conversation will be created.
The ID of the language to use for the AI response. To get a list of available languages, use the List languages endpoint.
The temperature to be used by the AI. The temperature controls the randomness of the response. A lower temperature value, such as 0, will make the outputs more focused and deterministic, whereas a higher temperature, such as 1, will make the responses more diverse and unpredictable.
List of instructions to tailor the AI’s response. It can be used to provide additional context to the AI, such as the desired tone or style of the response.
Must be an array of strings.
Response
The status of the request. Will be success
if the request was successful, otherwise error
.