mirror of
https://github.com/open-webui/docs
synced 2025-05-19 10:52:14 +00:00
Merge pull request #527 from Thaniel94/add-whisper-language-constraint
feat: Documentation for WHISPER_LANGUAGE
This commit is contained in:
commit
7e1f8c9929
@ -1871,6 +1871,12 @@ Using a remote Playwright browser via `PLAYWRIGHT_WS_URL` can be beneficial for:
|
||||
- Default: `False`
|
||||
- Description: Toggles automatic update of the Whisper model.
|
||||
|
||||
#### `WHISPER_LANGUAGE`
|
||||
|
||||
- Type: `str`
|
||||
- Default: `None`
|
||||
- Description: Specifies the ISO 639-1 language Whisper uses for STT (ISO 639-2 for Hawaiian and Cantonese). Whisper predicts the language by default.
|
||||
|
||||
### Speech-to-Text (OpenAI)
|
||||
|
||||
#### `AUDIO_STT_ENGINE`
|
||||
|
@ -19,6 +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_DIR` | Specifies the directory to store Whisper model files |
|
||||
| `WHISPER_LANGUAGE` | Specifies the ISO 639-1 (ISO 639-2 for Hawaiian and Cantonese) 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_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 |
|
||||
|
Loading…
Reference in New Issue
Block a user