recognize_file
Transcribe speech from a local audio file, automatically detecting the format from its file extension.
Instructions
Recognize speech from a local audio file. Auto-detects format from extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Recognition language (ru-RU, en-US, kk-KZ) | ru-RU |
| file_path | Yes | Absolute path to the audio file to recognize | |
| sample_rate | No | Sample rate in Hz — required for headerless .pcm/.alaw/.ulaw files (e.g. 16000, 8000) |