Closed jxfuller1 closed 8 months ago
i changed line 252 to the following and its fixed and now works:
**{builtin: __builtins__[builtin] for builtin in WHITELISTED_BUILTINS if builtin in __builtins__},
@jxfuller1 thanks a lot! Feel free to open a PR for the fix, if you want :)
Hallo, can I know how the plot function works on GooglePalm? it works in OPEN AI
Hallo, can I know how the plot function works on GooglePalm? it works in OPEN AI
It doesn't really work that well with googlepalm. I've gotten it to make a few graphs, but most of the time it fails for one reason or another. Didn't really dive enough into it to determine if it's because the returned code from the LLM isnt any good or if it's something else.
@jxfuller1 which LLM from google did you use?
@jxfuller1 which LLM from google did you use?
Palm2 is the one I used
System Info
Latest pandasai version
🐛 Describe the bug
I get a specific error when turning a personal project using pandasai into an executable with Pyinstaller that is preventing it from working. Using the latest version of pandasai and using this simple code:
With the Pyinstaller compile command of:
pyinstaller --noconfirm --onedir --console --hidden-import "platformdirs" --hidden-import "google.generativeai" --copy-metadata "pandasai" --collect-data "pandasai" "C:/Users/jxful/anaconda3/envs/pandasai/testing_file.py"
It compiles fine with no errors, however, anytime there's a call for the LLM API using the functions such at chat() or clarification_questions(), nothing ever gets returned. The pandasai log shows this is the issue:
Is there anyway to remedy this?