Spaces:
Running
Running
File size: 399 Bytes
5da61b4 82fcab7 2e28042 cad3e14 82fcab7 cad3e14 1a14c61 2e28042 cad3e14 06e879d cad3e14 0bfcf81 af58e08 cad3e14 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import type { ObjectId } from "mongodb";
import type { Message } from "./Message";
import type { Timestamps } from "./Timestamps";
import type { User } from "./User";
export interface Conversation extends Timestamps {
_id: ObjectId;
sessionId?: string;
userId?: User["_id"];
model: string;
title: string;
messages: Message[];
meta?: {
fromShareId?: string;
};
preprompt?: string;
}
|