Variable phoenixResponseFormatToOpenAIConst
phoenixResponseFormatToOpenAI: ZodEffects<
ZodObject<
{
json_schema: ZodObject<
{
description: ZodOptional<ZodString>;
name: ZodString;
schema: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
strict: ZodOptional<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
description?: string;
name: string;
schema?: Record<string, unknown>;
strict?: boolean;
},
{
description?: string;
name: string;
schema?: Record<string, unknown>;
strict?: boolean;
},
>;
type: ZodLiteral<"json_schema">;
},
"strip",
ZodTypeAny,
{
json_schema: {
description?: string;
name: string;
schema?: Record<string, unknown>;
strict?: boolean;
};
type: "json_schema";
},
{
json_schema: {
description?: string;
name: string;
schema?: Record<string, unknown>;
strict?: boolean;
};
type: "json_schema";
},
>,
{
json_schema: {
description?: string;
name: string;
schema: {
additionalProperties?: boolean;
properties: Record<
string,
| objectOutputType<
{
description: ZodOptional<ZodString>;
enum: ZodOptional<ZodArray<(...), (...)>>;
type: ZodEnum<[(...), (...), (...), (...), (...), (...), (...)]>;
},
ZodTypeAny,
"passthrough",
>
| {
anyOf: objectOutputType<
{ description: ...; enum: ...; type: ... },
ZodTypeAny,
"passthrough",
>[];
},
>;
required?: string[];
type: "object";
} & { [k: string]: unknown };
};
type: "json_schema";
},
{
json_schema: {
description?: string;
name: string;
schema?: Record<string, unknown>;
strict?: boolean;
};
type: "json_schema";
},
> = ...