mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
When using markdown file with knowledge #2394
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 @mikelfried on GitHub (Oct 16, 2024).
Bug Report
When uploading a markdown file into Knowledge, the preview appears to strip all markdown syntax, making it difficult to determine if this issue is limited to the preview or if it also affects the backend during chunking or when passing it as context to the model. Additionally, markdown formatting is not displayed properly when the model provides the chunk or file as a citation.
Installation Method
docker
Environment
Open WebUI Version: [e.g., v0.3.32]
Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]
Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]
Confirmation:
Expected Behavior:
uploading markdown into a knowledge base -> nice preview of it as a markdown -> chunking strategy as a markdown -> nice formatted text citations when using as rag.
Actual Behavior:
the markdown preview in the knowledge and citations, looked striped from all syntax, without any style.