Adjustment to WHISPER_LANGUAGE docs to mention expected input format (ISO 639-2)

This commit is contained in:
nathaniel 2025-05-05 17:44:31 +01:00
parent 060b49c30c
commit 9b309e3c48
2 changed files with 2 additions and 2 deletions

View File

@ -1875,7 +1875,7 @@ Using a remote Playwright browser via `PLAYWRIGHT_WS_URL` can be beneficial for:
- Type: `str` - Type: `str`
- Default: `None` - Default: `None`
- Description: Specifies the language Whisper uses for STT. Whisper predicts the language by default. To revert to default behaviour, unset this variable. - Description: Specifies the ISO 639-2 language Whisper uses for STT. Whisper predicts the language by default.
### Speech-to-Text (OpenAI) ### Speech-to-Text (OpenAI)

View File

@ -19,7 +19,7 @@ The following is a summary of the environment variables for speech to text (STT)
|----------|-------------| |----------|-------------|
| `WHISPER_MODEL` | Sets the Whisper model to use for local Speech-to-Text | | `WHISPER_MODEL` | Sets the Whisper model to use for local Speech-to-Text |
| `WHISPER_MODEL_DIR` | Specifies the directory to store Whisper model files | | `WHISPER_MODEL_DIR` | Specifies the directory to store Whisper model files |
| `WHISPER_LANGUAGE` | Specifies the Speech-to-Text language to use (language is predicted unless set) | | `WHISPER_LANGUAGE` | Specifies the ISO 639-2 Speech-to-Text language to use for Whisper (language is predicted unless set) |
| `AUDIO_STT_ENGINE` | Specifies the Speech-to-Text engine to use (empty for local Whisper, or `openai`) | | `AUDIO_STT_ENGINE` | Specifies the Speech-to-Text engine to use (empty for local Whisper, or `openai`) |
| `AUDIO_STT_MODEL` | Specifies the Speech-to-Text model for OpenAI-compatible endpoints | | `AUDIO_STT_MODEL` | Specifies the Speech-to-Text model for OpenAI-compatible endpoints |
| `AUDIO_STT_OPENAI_API_BASE_URL` | Sets the OpenAI-compatible base URL for Speech-to-Text | | `AUDIO_STT_OPENAI_API_BASE_URL` | Sets the OpenAI-compatible base URL for Speech-to-Text |