@sap-ai-sdk/prompt-registry
Version:
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
40 lines • 1.27 kB
TypeScript
import { z } from 'zod';
/**
* @internal
**/
export declare const responseFormatJsonSchemaSchema: z.ZodObject<{
type: z.ZodLiteral<"json_schema">;
json_schema: z.ZodObject<{
description: z.ZodOptional<z.ZodString>;
name: z.ZodString;
schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
schema?: Record<string, any> | undefined;
strict?: boolean | null | undefined;
}, {
name: string;
description?: string | undefined;
schema?: Record<string, any> | undefined;
strict?: boolean | null | undefined;
}>;
}, "strip", z.ZodTypeAny, {
json_schema: {
name: string;
description?: string | undefined;
schema?: Record<string, any> | undefined;
strict?: boolean | null | undefined;
};
type: "json_schema";
}, {
json_schema: {
name: string;
description?: string | undefined;
schema?: Record<string, any> | undefined;
strict?: boolean | null | undefined;
};
type: "json_schema";
}>;
//# sourceMappingURL=response-format-json-schema.zod.d.ts.map