Comments (7)
Is there a fix for this?
from bambooai.
Handling Multiple csv files is also another question?
from bambooai.
It currently does not work with multiple sheets or CSVs by way of arguments. However, you can try to run it without the "df" argument (e.g., bamboo = BambooAI(debug=False, llm="gpt-4")) and instruct it like this:
"You have access to multiple CSVs with names doc1.csv, doc2.csv, doc3.csv, and they are located here: path. Here is what I want to do with them: instruction on what you want to do with them eg. merge the CSVs on the datetime column ...."
It will perform the required manipulations and remember them. This approach has worked for me, but might require a several tries to get the prompt right.
from bambooai.
Oh got it. Just a follow up question , this prompt/ instructions would go into my query everytime I run or will there be a prefix which will remember that I have multiple dataframes. Just wanted to know.
from bambooai.
You will only need to instruct it once at the beginning of the loop, and it will remember it for subsequent prompts.
Eg.
- Merge files
- Load data from the merged files into data frame
- Do something with data frame
- Do something else with the data frame
Etc.
However when you finish the loop/chain by typing "exit", the memory is wiped and you will need the instruct it again when you start the new loop. I hope it helps.
from bambooai.
Understood. I think you are talking about the agent that works continuously and not the single execution one. Let me know if I am understanding correctly.
from bambooai.
Yes, that is correct. For single execution, you can ask it to merge the files/manipulate the data and save it as a new file. In the next execution you can use the resulting merged/manipulated file. This also reduces the token usage as previous conversations are not appended to the prompt.
from bambooai.
Related Issues (9)
- Very High Token Consumption HOT 9
- How to run with Code-Llama HOT 1
- Issue in having a Conversation. (Conversational Memory not enabled) HOT 1
- Request you to integrate this with Streamlit. It will be great help if we have frontend of this amazing application HOT 1
- Azure Open AI models HOT 2
- Can not import `bambooai` without setting `OPENAI_API_KEY` HOT 4
- No feeback for the user while correcting code HOT 1
- Loading issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bambooai.