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

Hierarchy

  • MistralAICallOptions
    • 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