Variable phoenixResponseFormatToOpenAIConst
phoenixResponseFormatToOpenAI: ZodPipe<
ZodObject<
{
json_schema: ZodObject<
{
description: ZodOptional<ZodString>;
name: ZodString;
schema: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
strict: ZodOptional<ZodBoolean>;
},
$strip,
>;
type: ZodLiteral<"json_schema">;
},
$strip,
>,
ZodTransform<
{
json_schema: {
description?: string;
name: string;
schema: {
additionalProperties?: boolean;
properties: Record<
string,
| {
description?: string;
enum?: string[];
type: | "string"
| "number"
| "boolean"
| "object"
| "null"
| "array"
| "integer";
[key: string]: unknown;
}
| {
anyOf: {
description?: (...)
| (...);
enum?: (...) | (...);
type: (...) | (...) | (...) | (...) | (...) | (...) | (...);
[key: string]: unknown;
}[];
},
>;
required?: string[];
type: "object";
[key: string]: unknown;
};
};
type: "json_schema";
},
{
json_schema: {
description?: string;
name: string;
schema?: Record<string, unknown>;
strict?: boolean;
};
type: "json_schema";
},
>,
> = ...