mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-21 09:01:47 -05:00
[PR #2599] [MERGED] feat: websearch #108356
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/2599
Author: @tjbck
Created: 5/27/2024
Status: ✅ Merged
Merged: 5/27/2024
Merged by: @tjbck
Base:
dev← Head:websearch📝 Commits (10+)
501ff7afeat: backend implementation of various search APIs99e4eddfeat: add websearch endpoint to RAG API83f086cfix: do not return raw search exception due to API keys in URLs8b3e370fix: run formatter635951bMerge branch 'dev' into feat/backend-web-searchfb80691feat: add WEB_SEARCH_RESULT_COUNT to control max number of results14a902ffeat: add web search toggle on chat619c2f9fix: toggle style2660a6efeat: prototype frontend web search integration77928aeMerge branch 'dev' of https://github.com/open-webui/open-webui into feat/web-search-toggle📊 Changes
63 files changed (+3539 additions, -99 deletions)
View changed files
📝
backend/apps/rag/main.py(+72 -17)➕
backend/apps/rag/search/brave.py(+37 -0)➕
backend/apps/rag/search/google_pse.py(+45 -0)➕
backend/apps/rag/search/main.py(+9 -0)➕
backend/apps/rag/search/searxng.py(+44 -0)➕
backend/apps/rag/search/serper.py(+39 -0)➕
backend/apps/rag/search/serpstack.py(+43 -0)➕
backend/apps/rag/search/testdata/brave.json(+998 -0)➕
backend/apps/rag/search/testdata/google_pse.json(+442 -0)➕
backend/apps/rag/search/testdata/searxng.json(+476 -0)➕
backend/apps/rag/search/testdata/serper.json(+190 -0)➕
backend/apps/rag/search/testdata/serpstack.json(+276 -0)📝
backend/apps/rag/utils.py(+45 -1)📝
backend/config.py(+23 -0)📝
backend/constants.py(+4 -0)📝
backend/main.py(+11 -10)📝
src/lib/apis/openai/index.ts(+69 -0)📝
src/lib/apis/rag/index.ts(+32 -0)📝
src/lib/components/chat/Chat.svelte(+111 -5)📝
src/lib/components/chat/MessageInput.svelte(+32 -28)...and 43 more files
📄 Description
#2004
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.