[PR #9292] [CLOSED] refactor: optimize web search with Exa integration and domain filtering #61209

Closed
opened 2026-05-06 04:36:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/9292
Author: @abdalrohman
Created: 2/3/2025
Status: Closed

Base: devHead: dev


📝 Commits (5)

  • ccb6fd5 feat: implement Exa search engine integration
  • 75c7f21 feat: implement domain filter list for web search
  • 8c83773 refactor: optimize web search to use direct results
  • 091a10e refactor: replace exa-py with requests library
  • 532eb84 feat: add vector store save configuration

📊 Changes

7 files changed (+251 additions, -68 deletions)

View changed files

📝 backend/open_webui/config.py (+40 -30)
📝 backend/open_webui/main.py (+4 -0)
backend/open_webui/retrieval/web/exa.py (+74 -0)
📝 backend/open_webui/routers/retrieval.py (+64 -27)
📝 backend/open_webui/utils/middleware.py (+6 -3)
📝 src/lib/apis/retrieval/index.ts (+14 -6)
📝 src/lib/components/admin/Settings/WebSearch.svelte (+49 -2)

📄 Description

Pull Request Checklist

This PR introduces several improvements to the web search functionality:

  • Adds Exa search engine integration with configuration options
  • Optimizes web search to use direct results with optional DB storage
  • Implements domain filtering for web search results

Changelog Entry

Description

  • [Concisely describe the changes made in this pull request, including any relevant motivation and impact (e.g., fixing a bug, adding a feature, or improving performance)]

Added

  • Domain filter list functionality for web search results
  • Exa search engine integration with API key configuration

Changed

  • Optimized web search to return direct results with optional vector DB storage
  • Updated web search response structure to include more detailed result information
  • Enhanced WebSearch settings UI with domain filter input

Breaking Changes

  • BREAKING CHANGE: [Optimizes web search to use direct results with optional DB storage]

Additional Information

  • This change improves the efficiency of web search by reducing unnecessary DB storage
  • Domain filtering allows for more focused search results

Target Branch

  • This PR targets the dev branch

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/9292 **Author:** [@abdalrohman](https://github.com/abdalrohman) **Created:** 2/3/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (5) - [`ccb6fd5`](https://github.com/open-webui/open-webui/commit/ccb6fd5e7b01bf375a358931f170c5f9efa0eb3a) feat: implement Exa search engine integration - [`75c7f21`](https://github.com/open-webui/open-webui/commit/75c7f2189b9869a7676f2ab677dc7c962f033ad1) feat: implement domain filter list for web search - [`8c83773`](https://github.com/open-webui/open-webui/commit/8c8377348947e8957e6ba13e1f32a89a0c5cf703) refactor: optimize web search to use direct results - [`091a10e`](https://github.com/open-webui/open-webui/commit/091a10e53d163e3e65e3f83c7445b2f47fa5d2ba) refactor: replace exa-py with requests library - [`532eb84`](https://github.com/open-webui/open-webui/commit/532eb840cf22744a74d1a0eeb84782788c6dfc1c) feat: add vector store save configuration ### 📊 Changes **7 files changed** (+251 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+40 -30) 📝 `backend/open_webui/main.py` (+4 -0) ➕ `backend/open_webui/retrieval/web/exa.py` (+74 -0) 📝 `backend/open_webui/routers/retrieval.py` (+64 -27) 📝 `backend/open_webui/utils/middleware.py` (+6 -3) 📝 `src/lib/apis/retrieval/index.ts` (+14 -6) 📝 `src/lib/components/admin/Settings/WebSearch.svelte` (+49 -2) </details> ### 📄 Description # Pull Request Checklist ### This PR introduces several improvements to the web search functionality: - Adds Exa search engine integration with configuration options - Optimizes web search to use direct results with optional DB storage - Implements domain filtering for web search results # Changelog Entry ### Description - [Concisely describe the changes made in this pull request, including any relevant motivation and impact (e.g., fixing a bug, adding a feature, or improving performance)] ### Added - Domain filter list functionality for web search results - Exa search engine integration with API key configuration ### Changed - Optimized web search to return direct results with optional vector DB storage - Updated web search response structure to include more detailed result information - Enhanced WebSearch settings UI with domain filter input ### Breaking Changes - **BREAKING CHANGE**: [Optimizes web search to use direct results with optional DB storage] --- ### Additional Information - This change improves the efficiency of web search by reducing unnecessary DB storage - Domain filtering allows for more focused search results ### Target Branch - [x] This PR targets the dev branch --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 04:36:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#61209