mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
Markdown files imported into workspace knowledge strips out important markdown (link urls) #2554
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?
Originally created by @danielj23 on GitHub (Nov 4, 2024).
Bug Report
Installation Method
git clone
Environment
Open WebUI Version: v0.3.35
Operating System: Windows 10
Confirmation:
Expected Behavior:
If I import markdown files into workspace/knowledge for a model, I would expect that a link would get imported with the markdown so that the model has access to the link to provide during prompts.
Actual Behavior:
Markdown is imported without any actual markdown and only plain text is imported. When I ask my model for links from the imported knowledge, it doesn't have it because its stripped out during import.
Description
Bug Summary:
Markdown files (.md) imported into workspace/knowledge will not include important knowledge from the markdown file.
Reproduction Details
Steps to Reproduce:
Create a markdown file that contains a proper link.
Make a link to something [the link](https://microsoft.com)! This link will not show up once imported into open-webuiSave the file as test.md
Go to a workspace model and attempt to import test.md into "knowledge"
Try to view the test.md after import and you will not see the https://microsoft.com
Ask your model for the link and it will not know (because it was stripped from import)
@tjbck commented on GitHub (Nov 4, 2024):
Fixed on dev!
@danielj23 commented on GitHub (Nov 4, 2024):
sweet