UNPKG

skailan-ai

Version:

Servicio de IA y procesamiento de lenguaje natural para Skailan

24 lines 756 B
import { LLMConfig } from '../entities/LLMConfig'; export interface SentimentAnalysisResult { sentiment: 'positive' | 'negative' | 'neutral'; confidence: number; emotions?: { joy?: number; sadness?: number; anger?: number; fear?: number; surprise?: number; }; summary?: string; } export declare class SentimentAnalysisService { private aiService; constructor(llmConfig: LLMConfig); analyzeSentiment(text: string): Promise<SentimentAnalysisResult>; analyzeConversationSentiment(messages: Array<{ role: string; content: string; }>): Promise<SentimentAnalysisResult>; private fallbackSentimentAnalysis; } //# sourceMappingURL=SentimentAnalysisService.d.ts.map