Sinaptik-AI / pandas-ai

Chat with your database (SQL, CSV, pandas, polars, mongodb, noSQL, etc). PandasAI makes data analysis conversational using LLMs (GPT 3.5 / 4, Anthropic, VertexAI) and RAG.
https://pandas-ai.com
Other
13.5k stars 1.31k forks source link

unable to run google models - from pandasai.llm import GooglePalm #1352

Open anilmadishetty2498 opened 2 months ago

anilmadishetty2498 commented 2 months ago

System Info

python==3.11.7

🐛 Describe the bug

The Kernel crashed while executing code in the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click here for more info. View Jupyter log for further details.

dosubot[bot] commented 2 months ago

The kernel crash when running Google models using from pandasai.llm import GooglePalm in Python 3.11.7 is likely due to a missing dependency. Ensure that you have installed the google-cloud-aiplatform package:

pip install google-cloud-aiplatform

This should resolve the kernel crash issue [1].

To continue talking to Dosu, mention @dosu.