SessionMetadataShape¶
Structure Class¶
SessionMetadataShape
dataclass
¶
Metadata for a specific session in a batch evaluation, including ground truth data and test scenario identifiers.
Attributes¶
ground_truth
class-attribute
instance-attribute
¶
ground_truth: GroundTruthSource | None = None
The ground truth data for this session, including expected responses and assertions.
metadata
class-attribute
instance-attribute
¶
metadata: dict[str, str] | None = None
Additional key-value metadata associated with this session.
session_id
instance-attribute
¶
session_id: str
The unique identifier of the session this metadata applies to.
test_scenario_id
class-attribute
instance-attribute
¶
test_scenario_id: str | None = None
An optional test scenario identifier for categorizing and tracking evaluation results.