UNPKG

@arizeai/phoenix-client

Version:
14 lines 557 B
import z from "zod"; /** * OpenAI's tool choice schema * * @see https://platform.openAI.com/docs/api-reference/chat/create#chat-create-tool_choice */ export declare const openAIToolChoiceSchema: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{ type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; export type OpenaiToolChoice = z.infer<typeof openAIToolChoiceSchema>; //# sourceMappingURL=toolChoiceSchemas.d.ts.map