@arizeai/phoenix-client
Version:
A client for the Phoenix API
41 lines • 1.33 kB
TypeScript
import z from "zod";
/**
* Phoenix response format schema
*/
export declare const phoenixResponseFormatSchema: z.ZodObject<{
type: z.ZodLiteral<"json_schema">;
json_schema: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
strict: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
strict?: boolean | undefined;
schema?: Record<string, unknown> | undefined;
}, {
name: string;
description?: string | undefined;
strict?: boolean | undefined;
schema?: Record<string, unknown> | undefined;
}>;
}, "strip", z.ZodTypeAny, {
json_schema: {
name: string;
description?: string | undefined;
strict?: boolean | undefined;
schema?: Record<string, unknown> | undefined;
};
type: "json_schema";
}, {
json_schema: {
name: string;
description?: string | undefined;
strict?: boolean | undefined;
schema?: Record<string, unknown> | undefined;
};
type: "json_schema";
}>;
export type PhoenixResponseFormat = z.infer<typeof phoenixResponseFormatSchema>;
//# sourceMappingURL=responseFormatSchema.d.ts.map