assess_urgency
Determine urgency level of speech audio by analyzing prosodic features like speaking rate, volume, pitch, and pauses. Provides score, level, and reasoning.
Instructions
Assess urgency level from audio.
This tool evaluates the urgency level of speech based on prosodic features like speaking rate, volume, pitch variation, and pause patterns.
Args: audio_path: Path to the audio file (WAV format supported) text: Optional transcription text for keyword-based urgency detection
Returns: Dictionary containing: - score: Urgency score (0.0 to 1.0) - level: Urgency level ("low", "medium", "high", "critical") - reasoning: List of factors contributing to the urgency assessment - factors: Detailed breakdown of contributing factors
Example: { "score": 0.75, "level": "high", "reasoning": ["Fast speaking rate detected", "High volume variation"], "factors": { "speaking_rate": "fast", "volume_level": "high", "pitch_variation": "high", "pause_pattern": "few_pauses" } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_path | Yes | ||
| text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |