Applies to:
- Plan:
- Deployment:
Summary
Issue: When usingEvalAsync with a parent context, the experiment sidebar shows “Rows not attached to a dataset” and the dataset activity tab shows “No experiment that used this dataset was found.”
Cause: Passing parent=parent_ctx to EvalAsync prevents it from creating a new experiment, so dataset linkage is never recorded and the experiment created by braintrust.init() has no dataset parameter set.
Resolution: Pass dataset=dataset to braintrust.init() to register the dataset ID and version on the experiment.
Resolution Steps
If you are using EvalAsync with a parent context, pass dataset to braintrust.init()
Add dataset=dataset to your init() call. This records the dataset ID and current version on the experiment before EvalAsync runs.
- The experiment sidebar shows the linked dataset name and version.
- The dataset activity tab lists experiments that used the dataset.
If you need to pin to a specific dataset version
Passversion to init_dataset()
dataset is passed to init().