Spaces:
Paused
Paused
File size: 371 Bytes
39b5447 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
export type LLM = {
name: string;
call: (prompt: string) => Promise<string>;
};
export type Tool<Input, Output> = {
name: string;
description: string;
examples: Array<{
prompt: string;
command: string;
}>;
call: (input: Promise<Input> | Input) => Promise<Output>;
};
export type Update = {
message: string;
data: undefined | string | Blob;
};
|