Conversation
A Conversation represents an interactive session between the user and a Team of agents and maintains context across multiple prompts to support coherent dialogue. Conversations selectively load relevant chat history to help the LLM understand references and summarizes past interactions to stay within token limits.
Creating a conversation#
To create a conversation, enter the _teamId of the Team you want to recruit for the conversion and pass the user's question in _input.message.
For more information, see the following Conversation object properties:
{ _id: "8c7c8cbc-8197-4ddd-a8b8-062e3f0d4474", _input: { "message": "filter only dtType Glazing - Exterior" }, _teamId: "fd0b746e-050b-40b4-bf1b-cc423402176e"}| Property | Type | Required | Description |
|---|---|---|---|
_id | String | Optional | Conversation id to continue an existing conversation |
_input | Object | Required | Input for the conversation. |
message | String | Required | The text input message content to send to the generative AI. |
_teamId | String | No | The team id for the conversation |