Skip to main content

SendMessageInput

Input for sending a message

input SendMessageInput {
text: String!
existingConversationId: ID
context: [ContextFieldInput!]
collectionIds: [ID!]
agentId: ID
}

Fields​

SendMessageInput.text ● String! non-null scalar​

The text of the message

SendMessageInput.existingConversationId ● ID scalar​

The ID of an existing conversation to send the message to, if any

SendMessageInput.context ● [ContextFieldInput!] list input​

Additional context for the message, if any

SendMessageInput.collectionIds ● [ID!] list scalar​

The IDs of the collections to use for the answer retrieval, if any

SendMessageInput.agentId ● ID scalar​

The IDs of the agent to use for the answer retrieval, if any

Member Of​

sendMessage mutation