export interface ICatalystZiaObject { objects: Array<{ co_ordinates: Array; object_type: string; confidence: string; }>; } export interface ICatalystZiaOCR { confidence?: string; text: string; } export interface ICatalystZiaBarcode { content: string; } export interface ICatalystZiaModeration { probability: { [x: string]: string; }; confidence: number; prediction: string; } export interface ICatalystZiaCom { prediction: string; confidence: { [x: string]: string; }; } export interface ICatalystZiaFace { faces: Array<{ confidence: number; id: string; co_ordinates: Array; emotion: ICatalystZiaCom; age: ICatalystZiaCom; gender: ICatalystZiaCom; landmarks?: { [x: string]: Array; }; }>; } export interface ICatalystZiaFaceComparison { confidence?: number; matched: boolean; } export interface ICatalystZiaAutoML { regression_result?: number; classification_result?: { [x: string]: number; }; } export interface ICatalystZiaConfidenceScore { negative: number; neutral: number; positive: number; } interface ICatalystZiaAnalytics { sentiment: 'Positive' | 'Negative' | 'Neutral'; confidence_scores: ICatalystZiaConfidenceScore; } export interface ICatalystZiaSentenceAnalytics extends ICatalystZiaAnalytics { sentence: string; } export interface ICatalystZiaKeywordAnalytics extends ICatalystZiaAnalytics { keyword: string; } export interface ICatalystZiaSentimentAnalysis { document_sentiment: string; sentence_analytics: Array; keyword_analytics: Array; overall_score: number; } export interface ICatalystZiaSentimentAnalysisResponse { sentiment_prediction: Array; } export interface ICatalystZiaExtractedKeywords { keywords: Array; keyphrases: Array; } export interface ICatalystZiaKeywordExtractionResponse { keyword_extractor: ICatalystZiaExtractedKeywords; } export interface ICatalystZiaNer { start_index: number; confidence_score: number; end_index: number; ner_tag: string; token: string; } export interface ICatalystZiaNERPredictionResponse { ner: { general_entities: Array; }; } export interface ICatalystZiaTextAnalyticsResponse extends ICatalystZiaNERPredictionResponse, ICatalystZiaKeywordExtractionResponse, ICatalystZiaSentimentAnalysisResponse { } export {};