UNPKG

jorel

Version:

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

13 lines (12 loc) 442 B
import { Tool } from "ollama"; import { JsonSpecification } from "../llm-core-provider"; export declare const jsonResponseToOllama: (format?: boolean | JsonSpecification) => string | Record<string, any> | undefined; export declare const toolsToOllama: (tools?: { asLlmFunctions?: { function: { name: string; description?: string; parameters?: any; }; }[]; }) => Tool[] | undefined;