Spaces:
Running
Running
| import { Conversation } from './conversation.entity'; | |
| export declare enum MessageRole { | |
| USER = "user", | |
| ASSISTANT = "assistant", | |
| SYSTEM = "system" | |
| } | |
| export declare class Message { | |
| id: string; | |
| conversation_id: string; | |
| role: MessageRole; | |
| content: string; | |
| tokens_used: number; | |
| model_used: string; | |
| created_at: Date; | |
| conversation: Conversation; | |
| } | |