OutputParserException: Could not parse LLM output: df = [] for i in range(len(df)):
#7024
Closed
2 of 14 tasks
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
System Info
OutputParserException: Could not parse LLM output:
df = [] for i in range(len(df)):
Who can help?
No response
Information
Related Components
Reproduction
I used open source LLM, HuggingFaceHub(repo_id = "google/flan-t5-xxl"), but not OpenAI LLM, to create agent below:
agent = create_csv_agent using HuggingFaceHub(repo_id = "google/flan-t5-xxl"), r"D:\ML\titanic\titanic.csv", verbose=True)
the agent created successfully:
but when I used the agent below, I got error above:
agent.run("Plot a bar chart comparing Survived vs Dead for Embarked")
agent.run("Find the count of missing values in each column")
agent.run("Fix the issues with missing values for column Embarked with mode")
agent.run("Drop cabin column")
Expected behavior
I should get plot or other .
The text was updated successfully, but these errors were encountered: