Comments (5)
Just to add to this, I'm getting the same result. Using OpenAI and running verbose=True yields the exact same response.
Also, using your Loan payments data.csv gives me a similar response across all queries.
Note, this is using colab as well, and when starting up a new notebook I got an error when installing pandasai that colab does not support pandas 2.0 for some reason, only 1.5.
Hope that helps!
from pandas-ai.
Hey @PavelAgurov thanks a lot for reporting! Which LLM did you use? Can you try to run with verbose=True
and share the log?
from pandas-ai.
After taking an initial look, it looks like it happens when the conversational flag is set to true. This is by default set to true when PandasAi is instantiated.
@PavelAgurov @mac4281 In the meantime to unblock, try
llm = OpenAI(api_token=OPENAI_API_KEY)
pandas_ai = PandasAI(llm, conversational=False)
pandas_ai.run(df, prompt='How many rows in the table?')
from pandas-ai.
This pr should fix the issue :)
from pandas-ai.
Well done @yzaparto great job!
from pandas-ai.
Related Issues (20)
- plt.savefig() not getting called? HOT 1
- error_correction_pipeline cannot correct any error! HOT 2
- Error connecting to Bigquery HOT 3
- Unable to pass n_ctx when using Ollama. HOT 1
- PANDAS API KEY needed (and used!!!) if agent.train is utilized HOT 3
- LLM not following description in config HOT 3
- Unable to run locally to contribute HOT 5
- Encountered Bug After Using PandasAI (Agent) Inside My App and Standalone with PyInstaller
- Response explanation not working
- 'No code found in the response' error - retry code gen with chatgpt
- ollama fails: cannot access local variable 'code_to_run' where it is not associated with a value HOT 1
- Passwords canβt support special characters HOT 1
- pip install pandasai[connectors] - no matches found
- Add support for processing and analyzing complex table headers
- SSL in MySQLConnector HOT 1
- Can pandasAI be used in pyscript? HOT 1
- Provide custom chart name to save in charts_directory while chatting with the PandasAI
- The graph getting generated in Jupyter is fine, but the image getting saved as a .png file is getting distorted where portions of the image from the left & right are not present and a distorted image is getting saved HOT 1
- JSON error on any prompt passed. Expecting value: line 1 column 1 (char 0). Set up using Ollama (llama3) on local with LangChain.
- enforce_privacy dose not work? HOT 1
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 pandas-ai.