Spaces:
Runtime error
Runtime error
Download apps/db-connector/libs/shared/src/entities/message.entity.d.ts from XtroEdge/chatbolt-dev: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/spaces/XtroEdge/chatbolt-dev/resolve/main/apps/db-connector/libs/shared/src/entities/message.entity.d.ts
- Command line
-
hf download hf://spaces/XtroEdge/chatbolt-dev/apps/db-connector/libs/shared/src/entities/message.entity.d.ts
-
curl -L -o message.entity.d.ts https://huggingface.co/spaces/XtroEdge/chatbolt-dev/resolve/main/apps/db-connector/libs/shared/src/entities/message.entity.d.ts
385 Bytes
| 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; | |
| } | |