[FEAT] External data visualization #4107

Closed
opened 2025-11-11 15:46:10 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jonv28 on GitHub (Feb 24, 2025).

I'm not sure if a feature request is the correct issue type for this but it seemed for fitting than a bug if it's not correct I'll raise the issue with the appropriate tag.

Essentially I'm looking to create a pipeline for open webui which queries a database and then will return a visualization based off of the result. For example a user could ask for a bar graph based off of two variables in my db and openweb UI will print out the appropriate graph. From what I can tell pipelines can only return strings. So I thought of returning some python code which would then be runnable and could create the plot on the UI, however the data that needs to be plotted could be very large and the python needed to create the dataframe could be extremely long and cumbersome for the user to see.

Is there some other way to achieve what I'm looking for?

Originally created by @jonv28 on GitHub (Feb 24, 2025). I'm not sure if a feature request is the correct issue type for this but it seemed for fitting than a bug if it's not correct I'll raise the issue with the appropriate tag. Essentially I'm looking to create a pipeline for open webui which queries a database and then will return a visualization based off of the result. For example a user could ask for a bar graph based off of two variables in my db and openweb UI will print out the appropriate graph. From what I can tell pipelines can only return strings. So I thought of returning some python code which would then be runnable and could create the plot on the UI, however the data that needs to be plotted could be very large and the python needed to create the dataframe could be extremely long and cumbersome for the user to see. Is there some other way to achieve what I'm looking for?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4107