Create and Populate a Dataset
In this Python example, you will learn how to create a Dataset and Populate it with example items. We will create items from a list of values. If you want to create a Dataset from existing Runs, Steps or Generations from production data, check the API reference (Python, TypeScript).
Let’s create a dataset consisting of questions and answers to movie titles.
1. Connect to the client
2. Create a Dataset
Before we can add items to a Dataset, we need to create one.
3. Populate the Dataset
Next, we add local items to this dataset