worldline / streamlit-pandasai

Chat with your dataset! This project demonstrates a web-based application to query a dataset through natural language.
https://www.youtube.com/watch?v=30_0j0XYOas
39 stars 17 forks source link

[Request] Replacement for callback #1

Open rustem-dev opened 7 months ago

rustem-dev commented 7 months ago

Looks like pandasai maintainer has a workaround for removed callback. Would it be possible to refactor the code of this awesome project by leveraging df.last_code_generated so we all can enjoy the latest version of pandasai and your streamlit app? Here is the link for reference - Issue 993

Buddhadip commented 5 months ago

I used pandasai==1.4.10 in the conda environment. That solved the ModuleNotFoundError: No module named 'pandasai.callbacks' error. Make sure that the environment is activated as in my case after installing the requirements.txt the conda environment got deactivated unexpectedly.