Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pydantic_evals/pydantic_evals/evaluators/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
from ..otel.span_tree import SpanTree

# ScoringContext needs to be covariant
InputsT = TypeVar('InputsT', default=dict[str, Any], covariant=True)
InputsT = TypeVar('InputsT', default=Any, covariant=True)
"""Type variable for the inputs to the task being evaluated."""

OutputT = TypeVar('OutputT', default=dict[str, Any], covariant=True)
OutputT = TypeVar('OutputT', default=Any, covariant=True)
"""Type variable for the output of the task being evaluated."""

MetadataT = TypeVar('MetadataT', default=dict[str, Any], covariant=True)
MetadataT = TypeVar('MetadataT', default=Any, covariant=True)
"""Type variable for the metadata associated with the task being evaluated."""


Expand Down