Datasets
Datasets are a collection of inputs and, optionally, expected outputs that can be used during Dataset runs.Datasets are a collection of DatasetItems.
Dataset object
DatasetItem object
DatasetRun
Dataset runs are used to run a dataset through your LLM application and optionally apply evaluation methods to the results.
DatasetRun object
DatasetRunItem object
Most of the time, we recommend that DatasetRunItems reference TraceIDs directly. The reference to ObservationID exists for backwards compatibility with older SDK versions.
End to end data relations
DataSetRuns can combine a few ABV objects:DatasetRunsare created by looping through all or selectedDatasetItems of aDatasetwith your LLM application.- For each
DatasetItempassed into the LLM application as an Input aDatasetRunItem& aTraceare created. - Optionally
Scores can be added to theTraces to evaluate the output of the LLM application during theDatasetRun.