[PR #14616] [MERGED] feat: add Perplexity AI model and search context usage configuration options #10319

Closed
opened 2025-11-11 19:01:47 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/14616
Author: @Davixk
Created: 6/2/2025
Status: Merged
Merged: 6/4/2025
Merged by: @tjbck

Base: devHead: feat/new-perplexity-options


📝 Commits (2)

  • 96e9bfe feat: add Perplexity model and search context usage configuration options
  • 77b357c fix: update label for search context usage to clarify its purpose

📊 Changes

5 files changed (+80 additions, -9 deletions)

View changed files

📝 backend/open_webui/config.py (+12 -0)
📝 backend/open_webui/main.py (+4 -0)
📝 backend/open_webui/retrieval/web/perplexity.py (+20 -2)
📝 backend/open_webui/routers/retrieval.py (+12 -7)
📝 src/lib/components/admin/Settings/WebSearch.svelte (+32 -0)

📄 Description

Pull Request Checklist

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?
  • 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

Changelog Entry

Added

  • Added new Perplexity.ai model selector with all currently supported models
  • Added new Perplexity.ai Context Usage selector

I'm planning to soon add support for the Domain Filter List feature, which currently does not get sent to the endpoint with the Perplexity implementation.

Screenshots or Videos

image

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 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/14616 **Author:** [@Davixk](https://github.com/Davixk) **Created:** 6/2/2025 **Status:** ✅ Merged **Merged:** 6/4/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/new-perplexity-options` --- ### 📝 Commits (2) - [`96e9bfe`](https://github.com/open-webui/open-webui/commit/96e9bfe0e55a0d0b6fea7c1ef1bd6faa3d4e530c) feat: add Perplexity model and search context usage configuration options - [`77b357c`](https://github.com/open-webui/open-webui/commit/77b357c73b1121faabb3300800a4ccbfc11d373a) fix: update label for search context usage to clarify its purpose ### 📊 Changes **5 files changed** (+80 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+12 -0) 📝 `backend/open_webui/main.py` (+4 -0) 📝 `backend/open_webui/retrieval/web/perplexity.py` (+20 -2) 📝 `backend/open_webui/routers/retrieval.py` (+12 -7) 📝 `src/lib/components/admin/Settings/WebSearch.svelte` (+32 -0) </details> ### 📄 Description # Pull Request Checklist **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] **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 # Changelog Entry ### Added - Added new Perplexity.ai model selector with all currently supported models - Added new Perplexity.ai Context Usage selector --- I'm planning to soon add support for the Domain Filter List feature, which currently does not get sent to the endpoint with the Perplexity implementation. ### Screenshots or Videos ![image](https://github.com/user-attachments/assets/12de4577-80ed-4f1f-b5a8-ed409ee792c7) ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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 2025-11-11 19:01:47 -06: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#10319