feat: #3110 add voice control

This commit is contained in:
Yidadaa
2023-11-14 03:42:23 +08:00
parent 9da455a7ea
commit d1d8b1f393
13 changed files with 273 additions and 9 deletions

View File

@@ -47,6 +47,7 @@ export abstract class LLMApi {
abstract chat(options: ChatOptions): Promise<void>;
abstract usage(): Promise<LLMUsage>;
abstract models(): Promise<LLMModel[]>;
abstract speech(input: string): Promise<ArrayBuffer>;
}
type ProviderName = "openai" | "azure" | "claude" | "palm";