Skip to content

EvaluationContentDict

Union Type

EvaluationContentDict module-attribute

EvaluationContentDict = Union[EvaluationContentTextDict]

Dictionary form of EvaluationContent, setting exactly one variant.

Union Member Types

EvaluationContentTextDict

Bases: TypedDict

Attributes

text instance-attribute
text: str

The text content of the ground truth data. Used for expected response text and assertion statements.