> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Data

> Upload, download, and delete datasets in the Data module. Import CSV files or generate synthetic test data for Prompt Studio experiments.

The **Data** module stores datasets for reuse across prompt testing and model fine-tuning. It supports CSV, JSON, and JSONL formats with no additional formatting requirements.

## Upload a Dataset

1. In the AI for Process top menu, click **Data**.

   <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/navigate-to-data-module.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=ffd1fcbacff18155a59ef446b0f31372" alt="Navigate to Data Module" width="1288" height="552" data-path="ai-for-process/settings/images/navigate-to-data-module.png" />

2. Click **Upload dataset** and select your file. The uploaded file appears on the Data page.

<Note>Files uploaded in Prompt Studio or the Models fine-tuning wizard are automatically saved to the Data tab for future use.</Note>

## Download or Delete a Dataset

<Warning>Deleting a dataset that is used in Playground experiments may cause errors.</Warning>

1. In the AI for Process top menu, click **Data**.
2. Click the three-dots icon in the last column and choose **Download** or **Delete**.

<img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/download-or-delete-datasets.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=fc9439adf6c003a6705b942ada491274" alt="Download or delete a dataset" width="3138" height="907" data-path="ai-for-process/settings/images/download-or-delete-datasets.png" />

## Test Data in Prompt Studio

Prompt Studio provides two ways to work with test data:

* **Import test data**: Upload a CSV file to populate prompt variables automatically.
* **Generate test data**: Create synthetic datasets based on your prompt and variables.

### Import Test Data

The system reads up to 10 rows from the CSV and maps column names to prompt variables. Column names are case-sensitive and must match variable names exactly — for example, `{{Name}}` requires a column named `Name`. Data must start from the first row and column of the file.

<Note>You can import a maximum of 10 rows at a time.</Note>

1. On the prompt canvas, click **Test data** > **Import test data**.

2. In the **Import test data** dialog, upload a CSV from your computer or select an existing dataset.

   <img src="https://mintcdn.com/koreai/aiNqpE5u1weoEJ7H/ai-for-process/images/import_test_data.png?fit=max&auto=format&n=aiNqpE5u1weoEJ7H&q=85&s=70b725856d900cfac2123113dc78fb21" alt="Import test data dialog" width="1920" height="818" data-path="ai-for-process/images/import_test_data.png" />

3. Review the data preview and click **Proceed**.

   <img src="https://mintcdn.com/koreai/aiNqpE5u1weoEJ7H/ai-for-process/images/import_test_data_preview.png?fit=max&auto=format&n=aiNqpE5u1weoEJ7H&q=85&s=b5b55bde02f4e5d9fc387f359ef29a5a" alt="Import test data preview" width="1920" height="874" data-path="ai-for-process/images/import_test_data_preview.png" />

Variable values populate in the Variables window and are substituted during prompt execution.

### Generate Test Data

Generate synthetic test datasets without creating data manually. The system analyzes your prompt and variables to produce contextually relevant values.

<Note>
  * You can generate a maximum of 5 rows at a time.
  * Only OpenAI and Anthropic models are supported for test data generation.
</Note>

1. On the prompt canvas, enter your prompt. For example: "Generate a job description with job title, experience, and location."

2. Add variables using double curly braces: `{{Job Title}}`, `{{Experience}}`, `{{Location}}`. The **Test data** option appears.

3. Click **Test data** > **Generate test data**. Select a model, specify the number of rows, and click **Generate**.

   <img src="https://mintcdn.com/koreai/aiNqpE5u1weoEJ7H/ai-for-process/images/generate_test_data_dialog.png?fit=max&auto=format&n=aiNqpE5u1weoEJ7H&q=85&s=bcfa3c95e2b4a2c9b843eaba3460a5e7" alt="Generate test data dialog" width="1920" height="875" data-path="ai-for-process/images/generate_test_data_dialog.png" />

4. Preview the generated dataset.

5. Click **Apply value to the variables** to populate the prompt canvas.

   <img src="https://mintcdn.com/koreai/aiNqpE5u1weoEJ7H/ai-for-process/images/generate_test_data_values_applied.png?fit=max&auto=format&n=aiNqpE5u1weoEJ7H&q=85&s=fbb9f211bc9777d4926a36725d1b4dad" alt="Test data applied to prompt canvas" width="1920" height="879" data-path="ai-for-process/images/generate_test_data_values_applied.png" />
