Skip to content

Pydantic Eval: Evaluator does not support list of int #1431

Open
@josead

Description

@josead

Initial Checks

Description

When returning {"a": [2]} from my evaluator method I receive error.

I traced back the issue and this is the line that fails

# run_evaluator
results = _EVALUATOR_OUTPUT_ADAPTER.validate_python(raw_results)

Example Code

Python, Pydantic AI & LLM client version

0.0.55

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions