[GH-ISSUE #7044] Pass contexts and citations to functions inlet and outlet #101575

Closed
opened 2026-05-17 23:03:27 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @morgan55555 on GitHub (Nov 19, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7044

Feature Request

Is your feature request related to a problem? Please describe.
I have a collection of RAG documents, and a model, which used as interactive assistant.
This collection is maked by script, which is preparing all docs from google docs and my own database to actual RAG documents (removing images, inner links, etc).

So, I have a file collection, and actual documents, and I want to make a function, that can link contexts to the actual links, for example, with filename and regex, or flush contexts and citations and append used links to the model output mesage.

Also, it can be useful for inlet to check, can current user access this context or not.

There is bunch of usage for contexts and citations passed to functions.

Describe the solution you'd like
Append contexts and citations to body as metadata for inlet/outlet functions.

UPD: seems that inlet already had this functionality, param "file_handler" is referring to this.
However, outlet keep missing this.

Originally created by @morgan55555 on GitHub (Nov 19, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7044 # Feature Request **Is your feature request related to a problem? Please describe.** I have a collection of RAG documents, and a model, which used as interactive assistant. This collection is maked by script, which is preparing all docs from google docs and my own database to actual RAG documents (removing images, inner links, etc). So, I have a file collection, and actual documents, and I want to make a function, that can link contexts to the actual links, for example, with filename and regex, or flush contexts and citations and append used links to the model output mesage. Also, it can be useful for inlet to check, can current user access this context or not. There is bunch of usage for contexts and citations passed to functions. **Describe the solution you'd like** Append contexts and citations to body as metadata for inlet/outlet functions. UPD: seems that inlet already had this functionality, param "file_handler" is referring to this. However, outlet keep missing this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#101575