Add node to dataset¶
This guide shows how to add examples to LangSmith datasets from nodes in the thread log. This is useful to evaluate individual steps of the agent.
- Select a thread.
- Click on the
Add to Dataset
button. - Select nodes whose input/output you want to add to a dataset.
- For each selected node, select the target dataset to create the example in. By default a dataset for the specific assistant and node will be selected. If this dataset does not yet exist, it will be created.
- Edit the example's input/output as needed before adding it to the dataset.
- Select "Add to dataset" at the bottom of the page to add all selected nodes to their respective datasets.
See Evaluating intermediate steps for more details on how to evaluate intermediate steps.