mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-09 23:35:09 -05:00
feat: Connect Uploaded Documents (like CSVs and Excel files) to Code Interpreter for Data Analysis #4957
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?
Originally created by @17jmumford on GitHub (Apr 24, 2025).
Check Existing Issues
Problem Description
A common feature requested by many people is the ability for OpenWeb UI to do data analysis, similar to ChatGPT. Unfortunately, uploading a CSV and asking the LLM to help you analyze it leads to disappointing results.
Desired Solution you'd like
I think we could combine two of the existing features to make this happen:
If uploaded documents are made available in the code interpreter environment, then the LLM would very easily be able to analyze it!
More advanced capabilities are of course dependent on whether you are using a model with native tool use, but I think that we could make that happen.
Alternatives Considered
I saw that someone online had gone and created a whole alternative approach where they made a tool that is calling a docker file running a code interpreter.... seems like a very long-winded and brittle process. It would be nice to have this built right into OpenWeb UI instead.
Additional Context
It appears that there is some commented out code in the pyodide file related to exposing these documents
@tjbck I see this commit from you.... do you want some help making this happen?
9c0a783991@tjbck commented on GitHub (Apr 25, 2025):
Please check for existing issues and discussions first.