fix(core): update

This commit is contained in:
2024-03-31 01:32:37 +01:00
parent 25db0618d6
commit f2685164e5
10 changed files with 272 additions and 157 deletions

View File

@@ -0,0 +1,8 @@
export abstract class MultiModal {
abstract start(): Promise<void>;
abstract stop(): Promise<void>;
// Defines a streaming interface for chat interactions.
// The implementation will vary based on the specific AI model.
abstract chatStream(input: ReadableStream<string>): ReadableStream<string>;
}