24 lines
521 B
TypeScript
24 lines
521 B
TypeScript
/**
|
|
* Generated by orval v8.4.2 🍺
|
|
* Do not edit manually.
|
|
* DreamChat API
|
|
* The DreamChat API documentation
|
|
* OpenAPI spec version: 1.0.0
|
|
*/
|
|
import type { MessageResponseDtoRole } from './messageResponseDtoRole';
|
|
|
|
export interface MessageResponseDto {
|
|
/** Message ID */
|
|
id: string;
|
|
/** Message role */
|
|
role: MessageResponseDtoRole;
|
|
/** Message content */
|
|
content: string;
|
|
/** Tokens used */
|
|
tokensUsed?: number;
|
|
/** Model used */
|
|
model?: string;
|
|
/** Creation date */
|
|
createdAt: string;
|
|
}
|