diff --git a/docs/features/rag.md b/docs/features/rag.md index 6128c01..9f0cbb8 100644 --- a/docs/features/rag.md +++ b/docs/features/rag.md @@ -47,4 +47,4 @@ A variety of parsers extract content from local and remote documents. For more, ## Google Drive Integration -When paired with a Google Cloud project that has the Google Picker API and Google Drive API enabled, this feature allows users to directly access their Drive files from the chat interface and upload documents, slides, sheets and more and uploads them as context to your chat. Can be enabled `Admin Panel` > `Settings` > `Documents` menu. Must set [`GOOGLE_DRIVE_API_KEY and GOOGLE_DRIVE_CLIENT_ID`](https://github.com/open-webui/docs/blob/main/docs/getting-started/advanced-topics/env-configuration.md) environment variables to use. \ No newline at end of file +When paired with a Google Cloud project that has the Google Picker API and Google Drive API enabled, this feature allows users to directly access their Drive files from the chat interface and upload documents, slides, sheets and more and uploads them as context to your chat. Can be enabled `Admin Panel` > `Settings` > `Documents` menu. Must set [`GOOGLE_DRIVE_API_KEY and GOOGLE_DRIVE_CLIENT_ID`](https://github.com/open-webui/docs/blob/main/docs/getting-started/advanced-topics/env-configuration.md) environment variables to use. diff --git a/docs/getting-started/advanced-topics/env-configuration.md b/docs/getting-started/advanced-topics/env-configuration.md index b609df2..fcce91c 100644 --- a/docs/getting-started/advanced-topics/env-configuration.md +++ b/docs/getting-started/advanced-topics/env-configuration.md @@ -156,11 +156,20 @@ is also being used and set to `True`. Failure to do so will result in the inabil [{"id": "string","type": "string [info, success, warning, error]","title": "string","content": "string","dismissible": False,"timestamp": 1000}] ``` +:::note +When setting this environment variable in a `.env` file, make sure to escape the quotes by wrapping the entire value in double quotes and using escaped quotes (`\"`) for the inner quotes. Example: + +``` +WEBUI_BANNERS="[{\"id\": \"1\", \"type\": \"warning\", \"title\": \"Your messages are stored.\", \"content\": \"Your messages are stored and may be reviewed by human people. LLM's are prone to hallucinations, check sources.\", \"dismissible\": true, \"timestamp\": 1000}]" +``` + +::: + #### `JWT_EXPIRES_IN` - Type: `int` - Default: `-1` -- Description: Sets the JWT expiration time in seconds. A value of -1 disables expiration. +- Description: Sets the JWT expiration time in seconds. Valid time units: `s`, `m`, `h`, `d`, `w` or `-1` for no expiration. #### `USE_CUDA_DOCKER` @@ -222,7 +231,7 @@ allowing the client to wait indefinitely. - Default: `True` - Description: Enables the use of Ollama APIs. -#### `OLLAMA_BASE_URL` (`OLLAMA_API_BASE_URL` is depreciated) +#### `OLLAMA_BASE_URL` (`OLLAMA_API_BASE_URL` is depreciated) {#ollama_base_url} - Type: `str` - Default: `http://localhost:11434`