Back to site
ProsodyAI Docs
TypeScript SDK

Verticals

Domain-specific taxonomies for enterprise applications

Verticals

ProsodyAI provides domain-specific emotional taxonomies for 8 enterprise verticals. Each vertical maps base emotions to industry-relevant states with actionable metrics.

Available Verticals

type Vertical =
  | 'contact_center'
  | 'healthcare'
  | 'sales'
  | 'education'
  | 'hr_interviews'
  | 'media_entertainment'
  | 'finance'
  | 'legal';

Contact Center

Purpose: Customer service quality monitoring, escalation prediction, agent coaching.

States

StateBase EmotionSentimentEscalation Risk
satisfiedcontent+0.7low
delightedhappy+1.0low
frustratedangry-0.6high
angryangry-0.9critical
confusedconfused-0.2medium
resignedsad-0.3medium
gratefulhappy+0.8low

Metrics

interface ContactCenterMetrics {
  csatPredicted: number;           // 1-5 scale
  sentimentTrajectory: 'improving' | 'stable' | 'declining';
  escalationRisk: 'low' | 'medium' | 'high' | 'critical';
  firstCallResolutionLikely: boolean;
  churnRisk: number;               // 0-1 probability
}

Example

const result = await client.analyze({
  audio: audioBuffer,
  vertical: 'contact_center',
});

console.log(result.state);                      // "frustrated"
console.log(result.metrics.escalationRisk);     // "high"
console.log(result.metrics.csatPredicted);      // 2.3
console.log(result.metrics.churnRisk);          // 0.65

Healthcare

Purpose: Mental health monitoring, clinical decision support, patient wellbeing assessment.

Healthcare analysis is for screening purposes only. Always consult qualified healthcare professionals for clinical decisions.

States

StateBase EmotionClinical AttentionPHQ Indicator
depressedsadmonitor3
anxiousanxiousmonitor2
distressedfearfulurgent2
agitatedangryurgent2
calmcontentroutine0
disorientedconfusedurgent2

Metrics

interface HealthcareMetrics {
  depressionMarkers: number;      // 0-1 scale
  anxietyMarkers: number;         // 0-1 scale
  distressLevel: 'none' | 'mild' | 'moderate' | 'severe';
  clinicalAttention: 'routine' | 'monitor' | 'urgent' | 'immediate';
  mentalHealthScreeningRecommended: boolean;
}

Example

const result = await client.analyze({
  audio: patientAudio,
  vertical: 'healthcare',
});

console.log(result.state);                              // "anxious"
console.log(result.metrics.clinicalAttention);          // "monitor"
console.log(result.metrics.depressionMarkers);          // 0.35
console.log(result.metrics.mentalHealthScreeningRecommended); // true

Sales

Purpose: Deal probability prediction, objection detection, coaching recommendations.

States

StateBase EmotionDeal ProbabilityRecommended Action
highly_engagedexcited0.70close_or_advance
ready_to_buyexcited0.90close_now
skepticalcontempt0.20provide_evidence
objectingangry0.15handle_objection
price_sensitiveanxious0.35demonstrate_value

Metrics

interface SalesMetrics {
  engagementScore: number;        // 0-100
  buyingIntent: number;           // 0-1 probability
  objectionsDetected: number;     // Count
  recommendedAction: string;      // Next best action
  dealCloseProbability: number;   // 0-1 probability
}

Example

const result = await client.analyze({
  audio: prospectAudio,
  vertical: 'sales',
});

console.log(result.state);                          // "skeptical"
console.log(result.metrics.buyingIntent);           // 0.25
console.log(result.metrics.recommendedAction);      // "provide_evidence"
console.log(result.metrics.dealCloseProbability);   // 0.20

Education

Purpose: Learner engagement tracking, comprehension monitoring, intervention triggers.

States

StateBase EmotionLearning EffectivenessIntervention
highly_focusedexcited0.95none
confusedconfused0.30support
strugglinganxious0.40support
boredneutral0.20redirect
frustratedangry0.25break

Metrics

interface EducationMetrics {
  engagementScore: number;          // 0-100
  comprehensionIndicators: number;  // 0-1
  confusionMoments: number;         // Count
  pacingRecommendation: 'slow_down' | 'maintain' | 'speed_up';
}

HR / Interviews

Purpose: Candidate assessment, authenticity detection, cultural fit indicators.

States

StateBase EmotionInterview SignalNotes
confidenthappypositiveStrong indicator
nervousanxiousneutralCommon, not concerning
evasiveanxiouscautionFollow-up needed
genuinehappypositiveAuthenticity indicator
rehearsedneutralneutralMay lack depth

Metrics

interface InterviewMetrics {
  confidenceScore: number;          // 0-100
  communicationScore: number;       // 0-100
  authenticityIndicators: 'genuine' | 'mixed' | 'rehearsed';
  cautionSignals: number;           // Count
}

Media / Entertainment

Purpose: Audience engagement measurement, content effectiveness, emotional impact.

States

StateBase EmotionEngagement ValueImpact
captivatedexcited1.00maximum
entertainedhappy0.85positive
movedsad0.90emotional
boredneutral0.10content_issue
offendedangry0.10content_risk

Metrics

interface MediaMetrics {
  engagementScore: number;          // 0-100
  emotionalIntensity: number;       // 0-1
  entertainmentValue: number;       // 0-1
  controversyRisk: 'low' | 'medium' | 'high';
}

Finance

Purpose: Client suitability assessment, compliance documentation, risk profiling.

States

StateBase EmotionTrust LevelCompliance Note
trustingcontenthighNormal engagement
confusedconfusedAdditional explanation needed
overwhelmedanxiousSimplify and pause
risk_aversefearfulEmphasize safety options

Metrics

interface FinanceMetrics {
  trustLevel: 'low' | 'neutral' | 'high';
  comprehensionLevel: 'adequate' | 'needs_support';
  suitabilityConcerns: boolean;     // Compliance flag
  decisionReadiness: number;        // 0-1
}

Purpose: Witness credibility assessment, deposition analysis, testimony evaluation.

States

StateBase EmotionCredibilityNotes
crediblecontenthighConsistent testimony
evasiveanxiousflagRequires examination
defensiveangrylowMay indicate concern
inconsistentanxiousflagCross-reference needed

Metrics

interface LegalMetrics {
  credibilityScore: number;         // 0-100
  consistencyScore: number;         // 0-100
  evasionCount: number;             // Count
  hesitationMarkers: number;        // Count
}

Custom Verticals

Custom verticals are available on Enterprise plans. Contact sales@prosodyai.com for more information.

const result = await client.analyze({
  audio: audioBuffer,
  vertical: 'custom:your-vertical-id',
});