Skip to main content

Interface: CallToolResponse

Properties

references

Optional references: { title: string ; url: string }[]

References to add to the AssistantMessage sent to the user.

Defined in

packages/mongodb-chatbot-server/src/services/ChatLlm.ts:107


rejectUserQuery

Optional rejectUserQuery: boolean

If true, the user query should be rejected. You can use this to short circuit the conversation, and return the ConversationConstants.NO_RELEVANT_CONTENT message.

Defined in

packages/mongodb-chatbot-server/src/services/ChatLlm.ts:102


toolCallMessage

toolCallMessage: ChatRequestMessage & { content: null | string ; embedding?: number[] ; role: OpenAiMessageRole }

Message to add to the conversation.

Defined in

packages/mongodb-chatbot-server/src/services/ChatLlm.ts:95