From 452c447edc1fd25d90b9f06e6d40108527b8c053 Mon Sep 17 00:00:00 2001 From: Rory <16675082+roryeckel@users.noreply.github.com> Date: Sat, 1 Feb 2025 00:01:30 -0600 Subject: [PATCH] Document "RAG_WEB_LOADER" env-configuration --- docs/getting-started/env-configuration.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 605699b..fedca9c 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -1170,6 +1170,20 @@ When enabling `GOOGLE_DRIVE_INTEGRATION`, ensure that you have configured `GOOGL - `bing` - Uses the [Bing](https://www.bing.com/) search engine. - Persistence: This environment variable is a `PersistentConfig` variable. +#### `RAG_WEB_LOADER` + +- Type: `str` +- Default: `safe_web` +- Description: Specifies the loader to use for retrieving and processing web content. Options include: + - `safe_web` - Uses the `requests` module with enhanced error handling. + - `playwright` - Uses Playwright (backed by Chromium) for more advanced web page rendering and interaction. + +:::info + +Choosing `playwright` is beneficial when dealing with JavaScript-heavy websites, while `safe_web` is suitable for static content. Dependencies will be automatically installed on launch of the Open WebUI instance. + +::: + #### `SEARXNG_QUERY_URL` - Type: `str`