Skip to main content
Version: v5.0

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"}
PropertyTypeRequiredDescription
_idStringOptionalConversation id to continue an existing conversation
_inputObjectRequiredInput for the conversation.
messageStringRequiredThe text input message content to send to the generative AI.
_teamIdStringNoThe team id for the conversation