mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #3615] [MERGED] feat: Citations event via __event_emitter__ #21298
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/3615
Author: @michaelpoluektov
Created: 7/3/2024
Status: ✅ Merged
Merged: 7/6/2024
Merged by: @tjbck
Base:
dev← Head:citations-event📝 Commits (4)
4e433d9wip: citations via event_emitter0527755use data field55b7c30simplify citation API983fe4brefac📊 Changes
1 file changed (+19 additions, -11 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+19 -11)📄 Description
Motivation: I would like to create custom citations for my search tool. Example usage:
This currently doesn't work: I'm guessing
messagesis not rendered directly?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
__event_emitter__Added
__event_emitter__Breaking Changes
__event_emitter__now requirestypekey to specify which kind of event we'd like to emit, withdatacontaining the payload.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.