-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: [Errno 2] No such file or directory: '/Users/cindy/Documents/AI/jiaoxing/jiaoxing/.venv/lib/python3.11/site-packages/pandasai/pipelines/chat/dataframe.csv' #1418
Comments
Hey @bjpenck! I'm here to help you with any bugs, questions, or contributions. Let's squash those bugs together! The Here are a few steps you can take to troubleshoot and resolve this issue:
If these steps do not resolve the issue, consider checking the documentation or source code for any additional context on file handling within the |
I did not generate a file in the logic code, but uploaded a data file for data analysis. |
TypeError: 'NoneType' object is not subscriptable2024-10-30 11:44:03 [INFO] Code generated: 2024-10-30 11:44:03 [INFO] Executing Step 2: CodeCleaning
|
System Info
python3.11/ macos 13.2.1/ pandasai later
After uploading the excel data and querying for a while,
this problem always occurs in the end: FileNotFoundError: [Errno 2] No such file or directory: '/Users/cindy/Documents/AI/jiaoxing/jiaoxing/.venv/lib/python3.11/site-packages/pandasai/pipelines/chat/dataframe.csv'
🐛 Describe the bug
llm = LocalLLM(api_base="http://localhost:11434/v1", model="codellama:7b")
smart = SmartDataframe(df, config={"llm": llm})
prompt =st.text_area("search..")
if(st.button("search")):
if prompt:
with st.spinner("think.."):
st.write(smart.chat(prompt))
The text was updated successfully, but these errors were encountered: