-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I perform data analysis on a specific file using Python? #33
Comments
Sorry, there is currently no support for reading uploaded files, so this won't work. However, if your file is downloadable from an online source, you can ask the LLM to generate code that downloads the file and then does analysis on it. I'll keep this issue open to track whether Open WebUI allows tools and functions to access uploaded files. |
I am also interested in this functionality! |
Would it be possible for the tools/functions to access Minio? |
@garyfanhku You can ask the LLM to generate code that fetches data from Minio or any other solution that can be remotely accessed programmatically. It wouldn't make sense to manually implement each one of them manually. |
I've looked into this a bit and, for my own reference (or for whoever wants to work on implementing this): Open WebUI does allow tools and functions to allow user-uploaded files. Example of a function that accesses files: https://openwebui.com/f/omar97/visualize - however this one currently erroneously assumes that the installation is single-user, and so it uses The ID of the conversation that a file was uploaded from doesn't seem to be recorded, so I think this means all files from a user (or perhaps the most recent N files, to put a limit on resource usage) would need to be available to all code executions. |
I want to analyze the data in a particular Excel file using Python. I attempted to use the pandas library to load the file and calculate the sum of a specific column ('Quantity'). However, I encountered a 'FileNotFoundError' indicating that the file could not be located. How can I resolve this issue, and what are the best practices for loading and analyzing data from an Excel file in Python?
![image](https://private-user-images.githubusercontent.com/72337963/383237371-093c2189-ae2f-4079-be9d-85e9717f630c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTYzNzQsIm5iZiI6MTczOTA5NjA3NCwicGF0aCI6Ii83MjMzNzk2My8zODMyMzczNzEtMDkzYzIxODktYWUyZi00MDc5LWJlOWQtODVlOTcxN2Y2MzBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLU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b0gGpbU5Yqs2ch5gkFM)
The text was updated successfully, but these errors were encountered: