Skip to main content

transcribe

Method
This is a method of the AudioAgent class in the audio_agent module.
Transcribe audio to text.

Signature

Parameters

Union[str, BinaryIO]
required
Path to audio file or file-like object
Optional[str]
Language code (e.g., “en”, “es”, “fr”)
Optional[float]
Sampling temperature (0.0 to 1.0)
Optional[str]
Override model for this call **kwargs: Additional provider-specific parameters

Returns

str
Transcribed text

Usage

Uses

  • transcription
  • close

Used By

Source

View on GitHub

praisonaiagents/agent/audio_agent.py at line 313