mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #9980] [MERGED] feat: add web search via SerpApi #22444
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/9980
Author: @xring
Created: 2/14/2025
Status: ✅ Merged
Merged: 2/14/2025
Merged by: @tjbck
Base:
dev← Head:web_search_serpapi📝 Commits (1)
27d395bfeat: add web search via SerpApi📊 Changes
5 files changed (+119 additions, -0 deletions)
View changed files
📝
backend/open_webui/config.py(+12 -0)📝
backend/open_webui/main.py(+4 -0)➕
backend/open_webui/retrieval/web/serpapi.py(+48 -0)📝
backend/open_webui/routers/retrieval.py(+26 -0)📝
src/lib/components/admin/Settings/WebSearch.svelte(+29 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
SerpApi is a real-time API to access Google search results.
open-webui already supported web search via SearchApi, SerpApi is another way much like SearchApi
Added
Changed
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.