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:
Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests for validating the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Prefix: To clearly categorize this pull request, prefix the pull request title, using one of the following:
feat: Introduces a new feature or enhancement to the codebase
Changelog Entry
Description
feat: Added Bing search integration for Retrieval Augmented Generation (RAG) web searches. This feature allows users to use Bing as a search provider and inject the results directly into the chat experience.
Added
Bing search provider integration in the backend (backend/open_webui/apps/retrieval/web/bing.py).
Test data for Bing search results (backend/open_webui/apps/retrieval/web/testdata/bing.json).
Configuration for Bing search in the settings UI (src/lib/components/admin/Settings/WebSearch.svelte).
Changed
Updated README.md to include Bing in the list of supported search providers.
Modified backend/open_webui/apps/retrieval/main.py to integrate Bing search logic.
Added DEFAULT_LOCALE configuration to main.py.
Deprecated
N/A
Removed
N/A
Fixed
N/A
Security
N/A
Breaking Changes
N/A
Additional Information
This addition enhances the versatility of the web search feature by including Bing as a potential source for RAG, providing users with more options for web search results.
Screenshots or Videos
In comments
🔄 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/6504
**Author:** [@jeeteshchel](https://github.com/jeeteshchel)
**Created:** 10/28/2024
**Status:** ✅ Merged
**Merged:** 10/28/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `fork/dev`
---
### 📝 Commits (1)
- [`f7d8a6c`](https://github.com/open-webui/open-webui/commit/f7d8a6ccbae74ff3bafba0fcee14477d85590592) feat: enable bing support
### 📊 Changes
**6 files changed** (+133 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -1)
📝 `backend/open_webui/apps/retrieval/main.py` (+12 -2)
➕ `backend/open_webui/apps/retrieval/web/bing.py` (+52 -0)
➕ `backend/open_webui/apps/retrieval/web/testdata/bing.json` (+58 -0)
📝 `backend/open_webui/env.py` (+8 -0)
📝 `src/lib/components/admin/Settings/WebSearch.svelte` (+2 -1)
</details>
### 📄 Description
# Pull Request Checklist
### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request.
**Before submitting, make sure you've checked the following:**
- [x] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [x] **Description:** Provide a concise description of the changes made in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [x] **Testing:** Have you written and run sufficient tests for validating the changes?
- [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
- [x] **Prefix:** To clearly categorize this pull request, prefix the pull request title, using one of the following:
- **feat**: Introduces a new feature or enhancement to the codebase
# Changelog Entry
### Description
- **feat**: Added Bing search integration for Retrieval Augmented Generation (RAG) web searches. This feature allows users to use Bing as a search provider and inject the results directly into the chat experience.
### Added
- Bing search provider integration in the backend (`backend/open_webui/apps/retrieval/web/bing.py`).
- Test data for Bing search results (`backend/open_webui/apps/retrieval/web/testdata/bing.json`).
- Configuration for Bing search in the settings UI (`src/lib/components/admin/Settings/WebSearch.svelte`).
### Changed
- Updated `README.md` to include Bing in the list of supported search providers.
- Modified `backend/open_webui/apps/retrieval/main.py` to integrate Bing search logic.
- Added `DEFAULT_LOCALE` configuration to `main.py`.
### Deprecated
- N/A
### Removed
- N/A
### Fixed
- N/A
### Security
- N/A
### Breaking Changes
- N/A
### Additional Information
- This addition enhances the versatility of the web search feature by including Bing as a potential source for RAG, providing users with more options for web search results.
### Screenshots or Videos
- In comments
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/6504
Author: @jeeteshchel
Created: 10/28/2024
Status: ✅ Merged
Merged: 10/28/2024
Merged by: @tjbck
Base:
dev← Head:fork/dev📝 Commits (1)
f7d8a6cfeat: enable bing support📊 Changes
6 files changed (+133 additions, -4 deletions)
View changed files
📝
README.md(+1 -1)📝
backend/open_webui/apps/retrieval/main.py(+12 -2)➕
backend/open_webui/apps/retrieval/web/bing.py(+52 -0)➕
backend/open_webui/apps/retrieval/web/testdata/bing.json(+58 -0)📝
backend/open_webui/env.py(+8 -0)📝
src/lib/components/admin/Settings/WebSearch.svelte(+2 -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
backend/open_webui/apps/retrieval/web/bing.py).backend/open_webui/apps/retrieval/web/testdata/bing.json).src/lib/components/admin/Settings/WebSearch.svelte).Changed
README.mdto include Bing in the list of supported search providers.backend/open_webui/apps/retrieval/main.pyto integrate Bing search logic.DEFAULT_LOCALEconfiguration tomain.py.Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.