chat-ui / src /lib /types /SharedConversation.ts
MichaelFried's picture
Add embedding models configurable, from both transformers.js and TEI (#646)
3a01622 unverified
raw
history blame
No virus
282 Bytes
import type { Message } from "./Message";
import type { Timestamps } from "./Timestamps";
export interface SharedConversation extends Timestamps {
_id: string;
hash: string;
model: string;
embeddingModel: string;
title: string;
messages: Message[];
preprompt?: string;
}