> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# listen • AI Agent SDK

> listen: Quick STT - transcribe audio file.

# listen

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AudioAgent**](../classes/AudioAgent) class in the [**audio\_agent**](../modules/audio_agent) module.

Quick STT - transcribe audio file.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def listen(file: Union[str, BinaryIO]) -> str
```

## Parameters

<ParamField query="file" type="Union" required={true}>
  Audio file to transcribe
</ParamField>

### Returns

<ResponseField name="Returns" type="str">
  Transcribed text
</ResponseField>

## Uses

* `transcribe`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/audio_agent.py#L438">
  `praisonaiagents/agent/audio_agent.py` at line 438
</Card>
