@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**.
39 lines • 953 B
TypeScript
import { z } from 'zod';
/**
* @internal
**/
export declare const multiChatContentSchema: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
type: z.ZodLiteral<"image_url">;
image_url: z.ZodObject<{
url: z.ZodString;
detail: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
url: string;
detail?: string | undefined;
}, {
url: string;
detail?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
image_url: {
url: string;
detail?: string | undefined;
};
type: "image_url";
}, {
image_url: {
url: string;
detail?: string | undefined;
};
type: "image_url";
}>, z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodObject<{
type: z.ZodLiteral<"text">;
text: z.ZodString;
}, "strip", z.ZodTypeAny, {
text: string;
type: "text";
}, {
text: string;
type: "text";
}>]>;
//# sourceMappingURL=multi-chat-content.zod.d.ts.map