mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[GH-ISSUE #129] Preserve original source URL for synced Knowledge Base documents #76
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @msi-martinsen on GitHub (Sep 24, 2026).
Original GitHub issue: https://github.com/open-webui/oikb/issues/129
Problem
When OIKB syncs content from external systems such as Confluence into an Open WebUI Knowledge Base, the original source URL is currently lost.
For example, the Confluence connector converts a page into a
.txtdocument and uploads the extracted text, but a user receiving an answer based on that document has no easy way to open the original Confluence page.This is useful both for verification and for continuing to read the source material - with pictures, diagrams, linked pdfs or other material.
Proposed feature
Allow connectors to provide an optional canonical
source_urlfor eachManifestEntry.For example:
The URL could then be preserved when the document is uploaded to Open WebUI.
Ideally it would be stored as file/document metadata so Open WebUI can expose it alongside citations and potentially provide an Open original source action.
Connector examples
Confluence
Use the canonical page URL, preferably based on the page ID or the URL returned by the Confluence API.
Jira
GitHub
Link to the original file, issue, wiki page, etc.
SharePoint / Notion / other connectors
Use the canonical browser URL returned by the source API where available.
Possible implementation
Add an optional property to
ManifestEntry:Then propagate it through the sync/upload process.
If Open WebUI currently does not support displaying arbitrary source metadata, an optional fallback could be to prepend something like:
to the extracted document content.
A configuration option such as:
could control this behavior.
Why this is useful
A Knowledge Base often acts as a searchable/indexed representation of another authoritative system.
Users should be able to:
This would improve provenance and citations for all remote OIKB connectors, not just Confluence.