Overview
All conversation data in Gaussia is represented using two Pydantic models:Dataset for sessions and Batch for individual interactions.
Dataset
ADataset represents one complete conversation session between a user and an assistant.
Fields
Batch
ABatch represents a single question–answer interaction.
Fields
Streamed batch
For stream-based processing (STREAM_BATCHES), individual interactions are wrapped in StreamedBatch:
Weighting
Theweight field on Batch controls how much each interaction contributes to the aggregated score:
- No weights set: Equal weight (
1/n) for all interactions - All weights set: Must sum to 1.0, otherwise Gaussia falls back to equal weights
- Partial weights: Remaining budget is distributed equally among unweighted interactions
The
observation field is used by some metrics (Context, Conversational) as an alternative to ground_truth_assistant. When present, the judge prompt is adjusted to evaluate against the observation rather than the ground truth.