mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-03-05 08:06:52 +08:00
feat: #3110 add voice control
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user