From c0da2b3eea6a8f987ee71b8862615860f3fa05dd Mon Sep 17 00:00:00 2001 From: Vitalii Tverdokhlib Date: Thu, 13 Jun 2024 09:37:33 +0300 Subject: [PATCH] DOCS: Update web_search.md brave env --- docs/tutorial/web_search.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/tutorial/web_search.md b/docs/tutorial/web_search.md index 511086d..3a785cf 100644 --- a/docs/tutorial/web_search.md +++ b/docs/tutorial/web_search.md @@ -176,3 +176,19 @@ This is enabled on a per session basis eg. reloading the page, changing to anoth ## Serpstack API ## Brave API + +### Docker Compose Setup + +Add the following to a file named `docker-compose.yaml`: + +```yaml +services: + open-webui: + environment: + ENABLE_RAG_WEB_SEARCH: True + RAG_WEB_SEARCH_ENGINE: "brave" + BRAVE_SEARCH_API_KEY: "YOUR_API_KEY" + RAG_WEB_SEARCH_RESULT_COUNT: 3 + RAG_WEB_SEARCH_CONCURRENT_REQUESTS: 10 +``` +