Skip to content

Importing AgentEvaluator results in excluded dependency error #1213

@d33bs

Description

@d33bs

Describe the bug
Thanks for the great work on this project! google-adk provides an evaluation framework which is useful for testing how agentic workflows process with flexibility beyond pass/fail metrics (as found in traditional software testing). I found that when prototyping with AgentEvaluator that there is a required dependency on tabulate which is excluded from the installation of google-adk. This could be resolved by adding tabulate as a dependency which is installed along with google-adk (thus preventing an error).

To Reproduce

Please see the following Google Colab notebook which demonstrates the behavior:
https://colab.research.google.com/drive/1tkV_XsPhQkecgJhDOjvxFMzLDNjvX07k

  1. Install google-adk into Python environment
  2. Attempt import: from google.adk.evaluation.agent_evaluator import AgentEvaluator
  3. Witness error about missing tabulate dependency.

Expected behavior
I'd expect that after installing google-adk that I can successfully import and use AgentEvaluator without additional imports (unless needed for customization within external projects).

Screenshots

Image

Desktop (please complete the following information):

  • OS: MacOS, Linux
  • Python version(python -V): 3.11
  • ADK version(pip show google-adk): 1.2.1

Additional context
n/a

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions