Before you begin, send representative traffic through a task or identify an existing W&B project containing compatible Weave calls.
1
Open the task
Select the task you want to improve, open Datasets, and choose Create dataset.
2
Choose the source
Use Task traffic for calls captured by the Model Distillation proxy. Select Existing W&B project only for compatible calls logged outside the task.
3
Define a fixed snapshot
Choose After and Before dates, the task version, and the provider/model that produced the behavior you want to learn. Set a maximum only when you want to sample a larger result set.
4
Reserve validation data
Start with 20% validation data. Model Distillation keeps related scenarios, traces, and conversations in the same split so the evaluation does not see near-duplicates from training.
5
Create and inspect
Start the build and wait for Ready. Review several train and validation rows, check message and output fidelity, and delete clearly unusable entries before training.
API: Create a dataset (POST /tasks/{alias}/datasets)
API: Create a dataset (POST /tasks/{alias}/datasets)
Use fixed timestamps so rerunning your workflow describes the same source window:The response contains the dataset ID. Poll its returned resource until
status is ready; see Create a dataset.