blob: 827f008cbcfcab1413fbaeb443ef0cb6df6fe530 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type GenerationStats = {
totalDuration: bigint;
loadDuration: bigint;
promptEvalCount: bigint;
promptEvalDuration: bigint;
evalCount: bigint;
evalDuration: bigint;
};
export type Message = { role: string; content: string };
export type ModelInfo = {
id: string;
name: string;
size: string | null;
details: string | null;
};
export type StreamChunk = {
content: string;
done: boolean;
stats: GenerationStats | null;
};
|