UNPKG

jorel

Version:

A unified wrapper for working with LLMs from multiple providers, including streams, images, documents & automatic tool use.

4 lines (3 loc) 240 B
import { ZodType } from "zod"; import { ZodType as ZodTypeV3 } from "zod/v3"; export declare const zodSchemaToJsonSchema: <ZodInput extends ZodType | ZodTypeV3>(zodObject: ZodInput, target?: "jsonSchema7" | "openAi", name?: string) => any;