Start a new conversation
Chat
Start a new conversation
Use this API endpoint to generate a response from the LLM, tailored to your custom knowledge base and the specified prompt.
POST
Start a new conversation
Authorizations
API key associated with your workspace
Body Parameters
A unique identifier (UUID) that specifies the workspace within which the assistant operates.
A unique identifier (UUID) that specifies the assistant to be used for generating the LLM response.
A unique identifier associated with the user or customer initiating the conversation. This identifier is crucial for tracking and storing individual conversation histories. It allows you to maintain context across multiple interactions with the same user. Example: “user12345” or “customer_email@example.com”
The user’s query or prompt that is submitted to the LLM. The LLM will use this question to generate a relevant response.
The attributes parameter is an optional JSON object that allows you to provide additional contextual information or metadata with your API request. This can be used for various purposes, you can use this to pass user or customer details like firstName, lastName, or any other relevant information to personalize the interaction.
Response
The response generated by the LLM.
The ID associated with the conversation.