UNPKG

jorel

Version:

The easiest way to use LLMs, including streams, images, documents, tools and various agent scenarios.

5 lines (4 loc) 419 B
import { ResponseFormat, ToolChoice, ToolChoiceEnum } from "@mistralai/mistralai/models/components"; import { JsonSpecification, LlmToolChoice } from "../llm-core-provider"; export declare const jsonResponseToMistral: (format?: boolean | JsonSpecification, schemaDescription?: string) => ResponseFormat; export declare const toolChoiceToMistral: (toolChoice?: LlmToolChoice) => ToolChoice | ToolChoiceEnum | undefined;