Example data format
Recommended Reading
Before diving into this content, it might be helpful to read the following:
LangSmith stores examples in datasets as follows:
Field Name | Type | Description |
---|---|---|
id | UUID | Unique identifier for the example. |
name | string | The name of the example. |
created_at | datetime | The time this example was created |
modified_at | datetime | The last time this example was modified |
inputs | object | A map of inputs for the example. |
outputs | object | A map or set of outputs generated by the run. |
dataset_id | UUID | The dataset the example belongs to |
source_run_id | UUID | If this example was created from a LangSmith Run , the ID of said run |
metadata | object | A map of additional, user or SDK defined information that can be stored on an example. |
To learn more about how examples are used in evaluation, read our how-to guide on evaluating LLM applications.