Download src/api/interfaces/IStreamMessage.ts from ochinpo/kimi: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/ochinpo/kimi/resolve/main/src/api/interfaces/IStreamMessage.ts
- Command line
-
hf download hf://spaces/ochinpo/kimi/src/api/interfaces/IStreamMessage.ts
-
curl -L -o IStreamMessage.ts https://huggingface.co/spaces/ochinpo/kimi/resolve/main/src/api/interfaces/IStreamMessage.ts
365 Bytes
| export default interface IStreamMessage { | |
| id: string; | |
| model: string; | |
| object: string; | |
| choices: { | |
| index: number; | |
| message: { | |
| role: string; | |
| content: string; | |
| }; | |
| finish_reason: string; | |
| }[]; | |
| usage: { | |
| prompt_tokens: number; | |
| completion_tokens: number; | |
| total_tokens: number; | |
| }; | |
| segment_id?: string; | |
| created: number; | |
| } |