mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #2960] [CLOSED] adding Serply as another web search provider #36769
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/2960
Author: @googio
Created: 6/10/2024
Status: ❌ Closed
Base:
dev← Head:add-serply📝 Commits (1)
efb4a71adding Serply as an alternative web search📊 Changes
5 files changed (+312 additions, -3 deletions)
View changed files
📝
README.md(+1 -1)📝
backend/apps/rag/main.py(+18 -1)➕
backend/apps/rag/search/serply.py(+68 -0)➕
backend/apps/rag/search/testdata/serply.json(+206 -0)📝
src/lib/components/documents/Settings/WebParams.svelte(+19 -1)📄 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
Added function to perform web search with Serply.io because Serply supports Google, News, and Jobs search. It will be beneficial to be able to perform News and Job search in the future.
Added
SERPLY_API_KEYAPI Key for configserplyas an option forwebSearchEnginesbackend/apps/rag/search/serply.pywhich is the function for calling Serply Google Search API/config/updateto setSERPLY_API_KEYin the configChanged
Serply.ioas an option for Web SearchAdditional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.