mongodb-chatbot-ui
Version:
UI React components for the MongoDB Assistant
33 lines (32 loc) • 1.15 kB
TypeScript
import { z } from "zod";
export declare const Question: z.ZodObject<{
embedding: z.ZodArray<z.ZodNumber>;
embedding_model: z.ZodString;
embedding_model_version: z.ZodString;
text: z.ZodString;
}, z.core.$strip>;
export type Question = z.infer<typeof Question>;
export declare const VerifiedAnswer: z.ZodObject<{
_id: z.ZodString;
question: z.ZodObject<{
embedding: z.ZodArray<z.ZodNumber>;
embedding_model: z.ZodString;
embedding_model_version: z.ZodString;
text: z.ZodString;
}, z.core.$strip>;
answer: z.ZodString;
author_email: z.ZodString;
hidden: z.ZodOptional<z.ZodBoolean>;
references: z.ZodArray<z.ZodObject<{
url: z.ZodString;
title: z.ZodString;
metadata: z.ZodOptional<z.ZodObject<{
sourceName: z.ZodOptional<z.ZodString>;
sourceType: z.ZodOptional<z.ZodString>;
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$loose>>;
}, z.core.$strip>>;
created: z.ZodDate;
updated: z.ZodOptional<z.ZodDate>;
}, z.core.$strip>;
export type VerifiedAnswer = z.infer<typeof VerifiedAnswer>;