import { AudioFiles } from './microphone'; import { ServiceCallConfig } from './requestSettings'; import { ImageFiles } from './camera'; import { MessageLimits } from './chatLimits'; export interface HuggingFaceConversationConfig { parameters?: { min_length?: number; max_length?: number; top_k?: number; top_p?: number; temperature?: number; repetition_penalty?: number; }; options?: { use_cache?: boolean; }; } export interface HuggingFaceQuestionAnswerConfig { context: string; } export interface HuggingFaceFillMaskConfig { options?: { use_cache?: boolean; }; } export interface HuggingFaceTranslationConfig { options?: { use_cache?: boolean; }; } export interface HuggingFaceSummarizationConfig { parameters?: { min_length?: number; max_length?: number; top_k?: number; top_p?: number; temperature?: number; repetition_penalty?: number; }; options?: { use_cache?: boolean; }; } export interface HuggingFaceTextGenerationConfig { parameters?: { top_k?: number; top_p?: number; temperature?: number; repetition_penalty?: number; max_new_tokens?: number; return_full_text?: boolean; do_sample?: boolean; }; options?: { use_cache?: boolean; }; } export interface HuggingFaceModel { model?: string; } export interface HuggingFace { conversation?: true | (ServiceCallConfig & HuggingFaceModel & HuggingFaceConversationConfig & MessageLimits); textGeneration?: true | (ServiceCallConfig & HuggingFaceModel & HuggingFaceTextGenerationConfig); summarization?: true | (ServiceCallConfig & HuggingFaceModel & HuggingFaceSummarizationConfig); translation?: true | (ServiceCallConfig & HuggingFaceModel & HuggingFaceTranslationConfig); fillMask?: true | (ServiceCallConfig & HuggingFaceModel & HuggingFaceFillMaskConfig); questionAnswer?: ServiceCallConfig & HuggingFaceQuestionAnswerConfig & HuggingFaceModel; audioSpeechRecognition?: true | (ServiceCallConfig & HuggingFaceModel & AudioFiles); audioClassification?: true | (ServiceCallConfig & HuggingFaceModel & AudioFiles); imageClassification?: true | (ServiceCallConfig & HuggingFaceModel & ImageFiles); } //# sourceMappingURL=huggingFace.d.ts.map