mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-08 02:01:07 -05:00
[PR #17936] [CLOSED] [DRAFT] feat: Add website to knowledge base button #63462
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/17936
Author: @Classic298
Created: 9/30/2025
Status: ❌ Closed
Base:
dev← Head:add-website-to-knowledge-base📝 Commits (10+)
d4800eaUpdate KnowledgeBase.svelte6924419Update KnowledgeBase.svelte75f44fcUpdate AddContentMenu.svelte847e1c1Update AddContentMenu.svelte120c225Update KnowledgeBase.svelte4bf762aUpdate AddContentMenu.sveltef1178f3Update KnowledgeBase.svelted9bb460Update AddContentMenu.svelte74d5f2eUpdate AddContentMenu.svelte217c01fUpdate KnowledgeBase.svelte📊 Changes
3 files changed (+150 additions, -26 deletions)
View changed files
📝
backend/open_webui/routers/retrieval.py(+69 -11)📝
src/lib/components/workspace/Knowledge/KnowledgeBase.svelte(+61 -15)📝
src/lib/components/workspace/Knowledge/KnowledgeBase/AddContentMenu.svelte(+20 -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
This PR introduces the ability to add website content directly to the knowledge base.
Added
AttachWebpageModalfrom the chat component to maintain a consistent user experience with minimal code changes.AddContentMenuin the knowledge base section.uploadWebHandlerinKnowledgeBase.svelteto process URLs from the modal, calling the appropriate API for web and YouTube links.Additional Information
Screenshots or Videos
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.