@arizeai/phoenix-client
Version:
A client for the Phoenix API
30 lines • 737 B
TypeScript
import z from "zod";
/**
* Anthropic's tool choice schema
*
* @see https://docs.anthropic.com/en/api/messages
*/
export declare const anthropicToolChoiceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
type: z.ZodLiteral<"tool">;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "tool";
name: string;
}, {
type: "tool";
name: string;
}>, z.ZodObject<{
type: z.ZodLiteral<"auto">;
}, "strip", z.ZodTypeAny, {
type: "auto";
}, {
type: "auto";
}>, z.ZodObject<{
type: z.ZodLiteral<"any">;
}, "strip", z.ZodTypeAny, {
type: "any";
}, {
type: "any";
}>]>;
export type AnthropicToolChoice = z.infer<typeof anthropicToolChoiceSchema>;
//# sourceMappingURL=toolChoiceSchemas.d.ts.map