Skip to main content

conversation

Send a message as part of a conversation with a chatbot. The results can be either fetched inline (via response field), or by using the conversationResults query, and conversationStream subscription.

Example:

mutation Conversation {
conversation(
input: {query: "What is the capital of Germany?", dataSources: ["chatbotId"]}
) {
response {
text
functionCall
functionArgs
citations {
score
metadataJson
}
}
}
}
conversation(
input: AIConversationInput!
): AIConversationJob!

Arguments

conversation.input ● AIConversationInput! non-null input

Type

AIConversationJob object