fix(core): update
This commit is contained in:
8
ts/abstract.classes.multimodal.ts
Normal file
8
ts/abstract.classes.multimodal.ts
Normal 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>;
|
||||
}
|
Reference in New Issue
Block a user