UNPKG

@aituber-onair/core

Version:

Core library for AITuber OnAir providing voice synthesis and chat processing

40 lines (39 loc) 1.22 kB
import { ChatService } from '../../ChatService'; import { ChatServiceOptions, ChatServiceProvider } from '../ChatServiceProvider'; /** * OpenAI API provider implementation */ export declare class OpenAIChatServiceProvider implements ChatServiceProvider { /** * Create a chat service instance * @param options Service options * @returns OpenAIChatService instance */ createChatService(options: ChatServiceOptions): ChatService; /** * Get the provider name * @returns Provider name ('openai') */ getProviderName(): string; /** * Get the list of supported models * @returns Array of supported model names */ getSupportedModels(): string[]; /** * Get the default model * @returns Default model name */ getDefaultModel(): string; /** * Check if this provider supports vision (image processing) * @returns Vision support status (true) */ supportsVision(): boolean; /** * Check if a specific model supports vision capabilities * @param model The model name to check * @returns True if the model supports vision, false otherwise */ supportsVisionForModel(model: string): boolean; }