From 4065ed84aca9f019361b54622041023bd81f8990 Mon Sep 17 00:00:00 2001 From: Taylor Wilsdon Date: Thu, 26 Dec 2024 15:02:20 -0500 Subject: [PATCH 1/2] Update rag.md --- docs/features/rag.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/features/rag.md b/docs/features/rag.md index c71c616..9f0cbb8 100644 --- a/docs/features/rag.md +++ b/docs/features/rag.md @@ -44,3 +44,7 @@ The dedicated RAG pipeline for summarizing YouTube videos via video URLs enables ## Document Parsing A variety of parsers extract content from local and remote documents. For more, see the [`get_loader`](https://github.com/open-webui/open-webui/blob/2fa94956f4e500bf5c42263124c758d8613ee05e/backend/apps/rag/main.py#L328) function. + +## 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. From 64b82b7b4a30720ddd8ec32978b66cd9f6ca4fa4 Mon Sep 17 00:00:00 2001 From: Taylor Wilsdon Date: Thu, 26 Dec 2024 15:04:16 -0500 Subject: [PATCH 2/2] Update env-configuration.md --- .../advanced-topics/env-configuration.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/getting-started/advanced-topics/env-configuration.md b/docs/getting-started/advanced-topics/env-configuration.md index e4c3550..58e97bc 100644 --- a/docs/getting-started/advanced-topics/env-configuration.md +++ b/docs/getting-started/advanced-topics/env-configuration.md @@ -117,6 +117,24 @@ is also being used and set to `True`. Failure to do so will result in the inabil - Default: `True` - Description: Bypass SSL Verification for RAG on Websites. +#### `ENABLE_GOOGLE_DRIVE_INTEGRATION` + +- Type: `bool` +- Default: `False` +- Description: If set to true, and GOOGLE_DRIVE_CLIENT_ID & GOOGLE_DRIVE_API_KEY are both configured, Google Drive will appear as an upload option in the chat UI. + + +#### `GOOGLE_DRIVE_CLIENT_ID` + +- Type: `str` +- Description: Sets the client ID for Google Drive (client must be configured with Drive API and Picker API enabled) + + +#### `GOOGLE_DRIVE_API_KEY` + +- Type: `str` +- Description: Sets the client secret for Google Drive integration + #### `DEFAULT_MODELS` - Type: `str`