create_dataset
Creates a dataset with optional initial test cases from recorded sessions or pipeline inputs, giving you a reusable evaluation set to run experiments against.
Instructions
Creates a Dataset, optionally with its first test cases. Replays nothing and costs nothing.
Each test case is either a recorded Session (session_id, find them with list_sessions)
or inputs to send to the pipeline, never both. A Session needs pipeline_name, the
pipeline it was recorded on. A Session sent twice becomes one test case. Add more later with
add_test_cases. Then run it with create_experiment using the returned dataset_id.
:param name: What the Dataset is called.
:param pipeline_name: The pipeline the Sessions were recorded on; required when a test case has a session_id.
:param test_cases: The test cases to start with; none by default.
:returns: The created Dataset, or an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| test_cases | No | ||
| pipeline_name | No |