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

Hierarchy

  • MistralAICallOptions
    • ChatMistralAICallOptions

Properties

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

Type declaration

  • type: "text" | "json_object"
streamUsage?: boolean

Whether or not to include token usage in the stream.

Default

{true}
tool_choice?: "auto" | "any" | "none"

Generated using TypeDoc