process_voice_input
Processes voice session transcripts to identify learning intent, logs student interactions, updates mastery levels, and generates spoken responses.
Instructions
Processes spoken input from a voice session: detects intent from transcript keywords, logs the interaction with voice-specific fields, updates mastery if a learning-related intent is detected, and returns a structured spoken response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The active voice session ID | |
| studentId | Yes | The student ID | |
| transcript | Yes | The speech-to-text transcript of the student's utterance | |
| audioDurationSeconds | Yes | Duration of the audio input in seconds |