interface ChatMistralAICallOptions {
    tools: StructuredToolInterface[] | MistralAIToolInput[] | Tool[];
    response_format?: {
        type: "text" | "json_object";
    };
    streamUsage?: boolean;
    tool_choice?: MistralAIToolChoice;
}

Hierarchy

  • Omit<Toolkit, "stop">
    • ChatMistralAICallOptions

Properties

tools: StructuredToolInterface[] | MistralAIToolInput[] | Tool[]
response_format?: {
    type: "text" | "json_object";
}
streamUsage?: boolean

Whether or not to include token usage in the stream.

{true}
tool_choice?: MistralAIToolChoice