Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.chataigne.ai/llms.txt

Use this file to discover all available pages before exploring further.

There are 3 possible types of Assistant Message:

Assistant Text Message

FieldTypeDescription
idstringUnique identifier of the message
createdAtDateCreation timestamp
conversationIdstringID of the conversation
senderstringCan be “system”, “user”, “assistant”, or “tool”
typestringFixed value: “text”
contentstringText content of the message

Assistant Tool Call Message

FieldTypeDescription
idstringUnique identifier of the message
createdAtDateCreation timestamp
conversationIdstringID of the conversation
senderstringFixed value: “assistant”
typestringFixed value: “toolCall”
toolCallsobject[]Array of tool call objects

Tool Call Object

FieldTypeDescription
toolCallIdstringUnique identifier of the tool call
typestringFixed value: “function”
functionobjectFunction call details
function.namestringName of the function to call
function.argumentsstringArguments for the function call

Assistant Tool Result Message

FieldTypeDescription
idstringUnique identifier of the message
createdAtDateCreation timestamp
conversationIdstringID of the conversation
senderstringFixed value: “tool”
typestringFixed value: “toolResult”
toolCallIdstringID of the related tool call
toolResultDatastringResult data from the tool execution