UNPKG

@monsoft/davinci-ai

Version:

Davinci AI Client

39 lines (38 loc) 990 B
import { z } from 'zod'; export declare const chatMessageReplySchema: z.ZodObject<{ content: z.ZodString; uuid: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; uuid: string; }, { content: string; uuid: string; }>; export type ChatMessageReply = z.infer<typeof chatMessageReplySchema>; export declare const chatMessageSuggestionsSchema: z.ZodObject<{ messages: z.ZodArray<z.ZodObject<{ content: z.ZodString; uuid: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; uuid: string; }, { content: string; uuid: string; }>, "many">; parentMessageId: z.ZodString; }, "strip", z.ZodTypeAny, { messages: { content: string; uuid: string; }[]; parentMessageId: string; }, { messages: { content: string; uuid: string; }[]; parentMessageId: string; }>; export type ChatMessageReplyResponse = z.infer<typeof chatMessageSuggestionsSchema>;