Repository navigation
Adk evaluation failing with: "AttributeError: 'float' object has no attribute 'item'" #1003
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I'm attempting to run ADK evaluation on my agent but I'm encountering the following error:
"AttributeError: 'float' object has no attribute 'item'". Here are the details:I'm using google-adk version 1.1.1, but I've also tried 0.0.4 and 1.0.0 with the same error.
The eval-set I'm using was generated via ADK Web.
I've executed the tests using both pytest and the adk eval CLI, and both produce the same results.
The error appears to originate from the response_evaluator, specifically this line.
test_config.json.txt
analyze_agent.test.json.txt
test_analyze_agent.py.txt
TestResults.txt
Any guidance would be appreciated!
All reactions