Audio Emotion Detection
The Emotion Detection Eval Template is designed to classify emotions from audio files. This evaluation leverages predefined characteristics, such as tone, pitch, and intensity, to detect the most dominant emotion expressed in an audio input. This guide will walk you through how to use the template within the Phoenix framework to evaluate emotion classification models effectively.
Template Details
The following is the structure of the EMOTION_PROMPT_TEMPLATE
:
Template Module
The prompt and evaluation logic are part of the phoenix.evals.default_audio_templates
module and are defined as:
EMOTION_AUDIO_RAILS
: Output options for the evaluation template.EMOTION_PROMPT_TEMPLATE
: Prompt used for evaluating audio emotions.
Last updated
Was this helpful?