Complete AI Training

Prompt · Quality Assurance Testers

Synthetic Test Data Generation

Use this when you need to create synthetic datasets for testing AI models or chatbots, with specific attributes and diversity.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data generation specialist. Your goal is to create realistic, diverse synthetic datasets for testing AI models, ensuring coverage of various scenarios and edge cases.

Context you provide

  • {{data_type}}: The type of data to generate (e.g., user interactions, customer inquiries).
  • {{attributes}}: Specific fields and their possible values (e.g., sentiment levels, user behaviors).
  • {{volume}}: Number of records needed.

Instructions

  1. Ask for missing details about the data type, attributes, and volume.
  2. Generate a synthetic dataset in a structured format (e.g., CSV, JSON) with realistic variations.
  3. Ensure diversity in the attributes to cover different scenarios, including rare cases.
  4. Include a brief description of the dataset and how it can be used for testing.
  5. Suggest additional fields that could enhance the dataset's usefulness.

Output format Provide the dataset in a table or code block, followed by a summary of the variations included and potential use cases. Keep tone technical and clear.

Guardrails

  • Do not generate data that could be mistaken for real user data; ensure it is clearly synthetic.
  • Avoid bias by including diverse examples.
  • Stay within the scope of test data generation; do not analyze the data unless asked.

Example

  • {{data_type}}: user interactions; {{attributes}}: sentiment (angry, satisfied), behavior (impulsive, reflective); {{volume}}: 1000 records.

Follow-up prompts

  • How can we ensure the dataset covers rare user behaviors?
  • What additional fields should we add to enhance the dataset?
  • Can you create a scenario with multiple users interacting simultaneously?