mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 10:04:14 -05:00
[PR #17164] [CLOSED] Updated function of Upload Files to now route to the Create Knowledge Page if knowledge is empty #11141
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/17164
Author: @jmspringer1249
Created: 9/2/2025
Status: ❌ Closed
Base:
main← Head:ASGEM-147-add-knowledge-link-on-main-menu📝 Commits (10+)
3a404c9added parsing type and basic tracinge0f5487default parsing now properly parses and uploadsf8e201fhandle all custom parsers and switch to default if none are provided7dd06c6removed original save function thats now in plugin. moved get_plugin() to correct module. DefaultParser is now named such with proper structure and loggingd512a68Merge branch 'main' of https://github.com/DanielDowns/open-webui into parser_addition39c5512Merge pull request #1 from DanielDowns/parser_additiond06b6d7removed testing print statementb4d94a1renamed PARSER_TYPE, modified return of DefaultParser::split, incorrect Parsers now properly throw Exceptionsbae2a64added deleting methods to parsersfb6dd86expanded verification to include new methods📊 Changes
24 files changed (+1148 additions, -465 deletions)
View changed files
📝
backend/open_webui/functions.py(+94 -6)📝
backend/open_webui/main.py(+4 -0)📝
backend/open_webui/retrieval/utils.py(+47 -12)📝
backend/open_webui/retrieval/vector/dbs/chroma.py(+17 -8)📝
backend/open_webui/routers/files.py(+1 -4)📝
backend/open_webui/routers/knowledge.py(+149 -94)➕
backend/open_webui/routers/progress.py(+78 -0)📝
backend/open_webui/routers/retrieval.py(+126 -253)📝
backend/open_webui/utils/middleware.py(+3 -0)➕
backend/open_webui/utils/parser.py(+246 -0)📝
backend/open_webui/utils/plugin.py(+3 -1)📝
backend/requirements.txt(+1 -0)📝
src/lib/apis/files/index.ts(+60 -24)📝
src/lib/apis/knowledge/index.ts(+29 -1)📝
src/lib/components/chat/MessageInput.svelte(+7 -1)📝
src/lib/components/chat/MessageInput/InputMenu.svelte(+21 -2)📝
src/lib/components/common/RichTextInput.svelte(+10 -0)📝
src/lib/components/layout/Sidebar.svelte(+44 -1)📝
src/lib/components/workspace/Knowledge.svelte(+3 -1)📝
src/lib/components/workspace/Knowledge/KnowledgeBase.svelte(+116 -51)...and 4 more files
📄 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
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
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.