Replies: 6 comments
-
Hey @vishals25, I'm here to assist you with any bugs, questions, or contributions. Let's work together to tackle this issue! To resolve the "ObservationNameError: name 'Observation' is not defined" error, you need to update your import statement to use the Here is the updated import statement: from langchain_experimental.agents.agent_toolkits.csv import create_csv_agent Make sure you have the pip install langchain_experimental This should resolve the error you are encountering [1]. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Same issue with CSV agent:
Thought: I need to find the unique reasons for admission in the dataframe |
Beta Was this translation helpful? Give feedback.
-
Any fix to this? I'm still running into the same error for create_pandas_dataframe_agent which is just a wrapper for CSV agent. I've tried both, same issue. How is this possible with so many people using this?
|
Beta Was this translation helpful? Give feedback.
-
Subject: Issue with Mistral Model on Hugging Face Endpoint Hi @dosu, I believe this issue is specific to using the Mistral model through the Hugging Face endpoint. I tested with other models like
Traceback While using the
and also this are intermediate steps:
Could you please take a look into these issues? It would be great to have some suggestions or fixes. |
Beta Was this translation helpful? Give feedback.
-
try set agent_type="tool-calling" may be sovle the issue create_pandas_dataframe_agent(model, df, .............., |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
I am trying to retrieve details from the csv file using chains
System Info
Token is valid (permission: read).
Your token has been saved to C:\Users\visha.cache\huggingface\token
Login successful
Beta Was this translation helpful? Give feedback.
All reactions