nemo_voice_agent.pipecat.services.nemo.stt
nemo_voice_agent.pipecat.services.nemo.stt
Module Contents
Classes
Functions
Data
API
Bases: BaseModel
Input parameters for NeMo STT service.
Bases: STTService
NeMo Speech-to-Text service for Pipecat integration.
Reset the state of the STT service.
Only report initial metrics, no need to spam metrics every 80ms
Handle service cancellation.
Parameters:
CancelFrame that triggered this method
Process an audio frame for speech recognition.
If the service is muted, this method does nothing. Otherwise, it processes the audio frame and runs speech-to-text on it, yielding transcription results. If the frame has a user_id, it is stored for later use in transcription.
Parameters:
The audio frame to process.
The direction of frame processing.
Process incoming frames and handle VAD events.
Reset the state of the STT service.
Process audio data and generate transcription frames.
Parameters:
Raw audio bytes to transcribe
Update the service’s recognition language.
Parameters:
New language for recognition
Update the service’s model.
Parameters:
New model name/path to use
Handle service start.
Parameters:
StartFrame containing initial configuration
Handle service stop.
Parameters:
EndFrame that triggered this method
Get the STT service from the config.