Giter Site home page Giter Site logo

Answer without number about pandas-ai HOT 5 CLOSED

sinaptik-ai avatar sinaptik-ai commented on May 22, 2024
Answer without number

from pandas-ai.

Comments (5)

mac4281 avatar mac4281 commented on May 22, 2024 1

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.

gventuri avatar gventuri commented on May 22, 2024

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.

yzaparto avatar yzaparto commented on May 22, 2024

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?')

Result:
image

from pandas-ai.

yzaparto avatar yzaparto commented on May 22, 2024

This pr should fix the issue :)

#25

from pandas-ai.

gventuri avatar gventuri commented on May 22, 2024

Well done @yzaparto great job!

from pandas-ai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.