@arizeai/phoenix-client
Version:
A client for the Phoenix API
34 lines • 887 B
TypeScript
import z from "zod";
/**
* Phoenix's tool choice schema
*/
export declare const phoenixToolChoiceSchema: z.ZodUnion<[z.ZodObject<{
type: z.ZodLiteral<"none">;
}, "strip", z.ZodTypeAny, {
type: "none";
}, {
type: "none";
}>, z.ZodObject<{
type: z.ZodLiteral<"zero_or_more">;
}, "strip", z.ZodTypeAny, {
type: "zero_or_more";
}, {
type: "zero_or_more";
}>, z.ZodObject<{
type: z.ZodLiteral<"one_or_more">;
}, "strip", z.ZodTypeAny, {
type: "one_or_more";
}, {
type: "one_or_more";
}>, z.ZodObject<{
type: z.ZodLiteral<"specific_function">;
function_name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "specific_function";
function_name: string;
}, {
type: "specific_function";
function_name: string;
}>]>;
export type PhoenixToolChoice = z.infer<typeof phoenixToolChoiceSchema>;
//# sourceMappingURL=toolChoiceSchemas.d.ts.map