@arizeai/phoenix-client
Version:
A client for the Phoenix API
14 lines • 557 B
TypeScript
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