mirror of
https://github.com/open-webui/docs.git
synced 2026-07-20 15:38:19 -04:00
[PR #398] [MERGED] Add citation tool docs #475
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/docs/pull/398
Author: @taylorwilsdon
Created: 2/11/2025
Status: ✅ Merged
Merged: 2/12/2025
Merged by: @tjbck
Base:
main← Head:add_citation_tool_docs📝 Commits (4)
4aca5ffdocs: Add citation usage instructions in Tools documentationaf2d96dAdd documentation for usage of the undocumented citation event emitter type with working example06a73acUpdate .gitignore994a80dUpdate index.mdx📊 Changes
1 file changed (+72 additions, -3 deletions)
View changed files
📝
docs/features/plugin/tools/index.mdx(+72 -3)📄 Description
Had to reverse engineer the mechanism to send custom citations instead of just the full tool payload as a citation when interacting with a tool, so I thought it might be helpful for others to have in the documentation. This can be used to elegantly display citations, including multiple citations, in a way that the user can easily understand, interact with and follow the link to.
Before (tool with self.citation = true) - not user friendly and confusing

After - individually enumerated, easy to parse responses

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.