UNPKG

@arizeai/phoenix-client

Version:
24 lines 933 B
import z from "zod"; export declare const openaiChatPartTextSchema: z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, z.core.$strip>; export type OpenAIChatPartText = z.infer<typeof openaiChatPartTextSchema>; export declare const openaiChatPartImageSchema: z.ZodObject<{ type: z.ZodLiteral<"image_url">; image_url: z.ZodObject<{ url: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type OpenAIChatPartImage = z.infer<typeof openaiChatPartImageSchema>; export declare const openaiChatPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image_url">; image_url: z.ZodObject<{ url: z.ZodString; }, z.core.$strip>; }, z.core.$strip>], "type">; export type OpenAIChatPart = z.infer<typeof openaiChatPartSchema>; //# sourceMappingURL=messagePartSchemas.d.ts.map