From 51b35a7d2f707c522c8b432dc06a0d37958a930f Mon Sep 17 00:00:00 2001 From: Silentoplayz <50341825+Silentoplayz@users.noreply.github.com> Date: Thu, 26 Dec 2024 18:30:21 -0500 Subject: [PATCH] update #342 --- docs/features/rag.md | 4 ++++ .../advanced-topics/env-configuration.md | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/features/rag.md b/docs/features/rag.md index c71c616..6128c01 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. \ No newline at end of file diff --git a/docs/getting-started/advanced-topics/env-configuration.md b/docs/getting-started/advanced-topics/env-configuration.md index cca5b2d..08e0a66 100644 --- a/docs/getting-started/advanced-topics/env-configuration.md +++ b/docs/getting-started/advanced-topics/env-configuration.md @@ -731,17 +731,17 @@ You are given a user query, some textual context and rules, all inside xml tags. - Type: `bool` - Default: `False` -- Description: Enables or disables Google Drive integration. +- Description: Enables or disables Google Drive integration. 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_API_KEY` +#### `GOOGLE_DRIVE_CLIENT_ID` - Type: `str` -- Description: Sets the API key for Google Drive integration. +- Description: Sets the client ID for Google Drive (client must be configured with Drive API and Picker API enabled). -#### `GOOGLE_DRIVE_CLIENT_ID` +#### `GOOGLE_DRIVE_API_KEY` - Type: `str` -- Description: Sets the client ID for Google Drive integration. +- Description: Sets the API key for Google Drive integration. ### Milvus