Replies: 2 comments
-
|
@ekzhu would you like to chime in? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Closing this one as it is duplicate with #1623. Replied in that thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm attempting to construct a multi-agent system where I can load a CSV into memory using pandas, and then ask questions about the data for the agents to discuss and reach a solution. I want to deploy this Q&A system using Gradio, but when I transfer the logic to a .py file, it seems like the DataFrame isn't retained in memory. I could prompt it to read the file every time the code is executed, but that introduces additional latency due to the file's size. Is there a better way to accomplish this? In LangChain, I have utilized a pandas agent to achieve similar tasks, but I couldn't find anything helpful here for solving this problem
FYI: In a Jupyter notebook I was able to make it work.
Beta Was this translation helpful? Give feedback.
All reactions