chat-ui / src /lib /types /SharedConversation.ts
nsarrazin's picture
nsarrazin HF staff
Store preprompt in conversation (#422) (#470)
af58e08 unverified
raw
history blame
No virus
256 Bytes
import type { Message } from "./Message";
import type { Timestamps } from "./Timestamps";
export interface SharedConversation extends Timestamps {
_id: string;
hash: string;
model: string;
title: string;
messages: Message[];
preprompt?: string;
}