> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-apis.mintlify.site/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-apis/ddEdjqmtoireCDCr/ai-for-process/settings/images/navigate-to-data-module.png?fit=max&auto=format&n=ddEdjqmtoireCDCr&q=85&s=8895cbc894a1671ba2e4c67ad7bc04c8" 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-apis/1mBXMcyVTPaQRnZE/ai-for-process/settings/images/download-or-delete-datasets.png?fit=max&auto=format&n=1mBXMcyVTPaQRnZE&q=85&s=b4f8791b67acdbabdc193a36cf0baf76" 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-apis/yniqcJpjICvV4ylc/ai-for-process/images/import_test_data.png?fit=max&auto=format&n=yniqcJpjICvV4ylc&q=85&s=ce5c59bce89902eb9093f866ab159369" 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-apis/yniqcJpjICvV4ylc/ai-for-process/images/import_test_data_preview.png?fit=max&auto=format&n=yniqcJpjICvV4ylc&q=85&s=3c1ec2fda45c53b0f4481911ccd7c04e" 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-apis/yniqcJpjICvV4ylc/ai-for-process/images/generate_test_data_dialog.png?fit=max&auto=format&n=yniqcJpjICvV4ylc&q=85&s=8a6ed5f852db40e690d45a6daa314641" 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-apis/yniqcJpjICvV4ylc/ai-for-process/images/generate_test_data_values_applied.png?fit=max&auto=format&n=yniqcJpjICvV4ylc&q=85&s=a1297fc1546ce3cf419f97f1ac2cf655" alt="Test data applied to prompt canvas" width="1920" height="879" data-path="ai-for-process/images/generate_test_data_values_applied.png" />
