listen • AI Agent SDK

listen: Quick STT – transcribe audio file.

listen

Method

</div>

This is a method of the AudioAgent class in the audio_agent module.

Quick STT – transcribe audio file.

Signature

python
def listen(file: Union[str, BinaryIO]) -> str

Parameters

ParamField Union[str, BinaryIO]

Audio file to transcribe

Returns

ResponseField str

Transcribed text

Uses

  • transcribe

Source

View on GitHub

praisonaiagents/agent/audio_agent.py at line 436