Duplicated from huggingchat/chat-ui
cad3e14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import type { ObjectId } from 'mongodb'; import type { Message } from './Message'; export interface Conversation { _id: ObjectId; sessionId: string; title: string; messages: Message[]; createdAt: Date; updatedAt: Date; }