mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-17 12:31:06 -05:00
Missing envs for OpenAI compatible endpoints #940
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pseudotensor on GitHub (May 16, 2024).
https://docs.openwebui.com/getting-started/env-configuration/
This has a nice collection of envs. For many purposes, four are missing:
RAG_EMBEDDINGS_OPENAI_API_BASE_URL: Else only default of https://api.openai.com/v1/embeddings is used, so can't use other OpenAI compatible endpointsAUDIO_GENERATION_ENGINE: Can't set, so have to manually to go settings and change to OpenAI instead of default web API.AUDIO_GENERATION_VOICE: Can't set, so have to manually to go settings and change to voice the OpenAI compatible endpoint supports (since different than real OpenAI).OPENAI_API_USER: In many cases a user is required to be passed when in production environment for various OpenAI compatible endpoints like chat completion, image generation, embeddings. This should be passed asuser=for those API calls.