From 350667c27de75d945d781abd7ad6b49d2fdff2f2 Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Sat, 1 Jun 2024 13:56:16 +0100 Subject: [PATCH] feat: add missing v0.2.0 env vars --- docs/getting-started/env-configuration.md | 88 ++++++++++++++++++++++- 1 file changed, 85 insertions(+), 3 deletions(-) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 890e75c..6cf065f 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -94,10 +94,31 @@ Here is a list of supported environment variables used by `backend/config.py` in - Default: `True` - Description: Controls whether admin users can export data. -#### `WEBUI_VERSION` +#### `ENABLE_COMMUNITY_SHARING` -- Default: `v1.0.0-alpha.100` -- Description: Overrides the WebUI version. Currently unused. +- Default: `True` +- Description: Controls whether users are shown the share to community button. + +#### `WEBUI_BUILD_HASH` + +- Default: `dev-build` +- Description: Used for identifying the Git SHA of the build for releases. + +#### `WEBUI_BANNERS` + +- Default: `[]` +- Description: List of banners to show to users. Format of banners are: + +```json +{ + "id": "string", + "type": "string [info, success, warning, error]", + "title": "string", + "content": "string", + "dismissible": false, # controls if the banner can be dismissed by users + "timestamp": 1000 # created at timestamp +} +``` #### `WEBUI_AUTH_TRUSTED_EMAIL_HEADER` @@ -132,6 +153,11 @@ Here is a list of supported environment variables used by `backend/config.py` in ### Ollama +#### `ENABLE_OLLAMA_API` + +- Default: `true` +- Description: Enables the use of Ollama APIs. + #### `OLLAMA_BASE_URL` - Default: `http://localhost:11434` @@ -331,6 +357,55 @@ Query: [query] - Default: `100` - Description: Specifies how much overlap there should be between chunks. +### Web Search + +Web search currently uses a precedence list based on the configured providers, in the order listed in this doc. + +#### `SEARXNG_QUERY_URL` + +- Default: ` ` +- Description: The [SearXNG search API](https://docs.searxng.org/dev/search_api.html) URL supporting JSON output. `` is replaced with the search query. Example: `http://searxng.local/search?q=` + +#### `GOOGLE_PSE_API_KEY` + +- Default: ` ` +- Description: The API key for the Google Programmable Search Engine (PSE) service. + +#### `GOOGLE_PSE_ENGINE_ID` + +- Default: ` ` +- Description: The engine ID for the Google Programmable Search Engine (PSE) service. + +#### `BRAVE_SEARCH_API_KEY` + +- Default: ` ` +- Description: The API key for the Brave Search API. + +#### `SERPSTACK_API_KEY` + +- Default: ` ` +- Description: The API key for Serpstack search API. + +#### `SERPSTACK_HTTPS` + +- Default: `True` +- Description: Configures the use of HTTPS for Serpstack requests. Free tier requests are restricted to HTTP only. + +#### `SERPER_API_KEY` + +- Default: ` ` +- Description: The API key for the Serper search API. + +#### `RAG_WEB_SEARCH_RESULT_COUNT` + +- Default: `3` +- Description: Maximum number of search results to crawl. + +#### `RAG_WEB_SEARCH_CONCURRENT_REQUESTS` + +- Default: `10` +- Description: Number of concurrent requests to crawl web pages returned from search results. + ### Speech to Text #### `WHISPER_MODEL` @@ -417,6 +492,13 @@ Query: [query] ### LiteLLM +:::warning + +The bundled LiteLLM instance has been removed as of v0.2.0. +You will need to either migrate to [pipelines](https://github.com/open-webui/pipelines), or self host your own LiteLLM proxy. + +::: + #### `ENABLE_LITELLM` - Default: `True`