Last updated
Copyright © 2023 Arize AI, Inc
Last updated
If you'd like to create your datasets programmatically, you can using our python SDK to create, update, and delete datasets.
To start let's install the packages we need:
Let's get your developer key by clicking "code" on the datasets page.
Let's setup the Arize Dataset Client to create or update a dataset.
You can create many different kinds of datasets. The examples below are sorted by complexity.
If you are looking to upload a standard set of examples with string inputs, you can create the dataframe as such.
In this dataset, we are setting attributes.llm.prompt_template.variables
to a dictionary converted to a JSON string. Conforming to the semantic conventions here allows you to use these attributes in prompt playground, and they will correctly import as input variables.