Skip to Content
DocsTest SetsTest Generation

Test Generation

Generate test sets automatically from templates or a custom description.

Getting Started

Generate test sets on the Generation page . Choose your test type — multi-turn or single-turn — see Tests for the difference.

Select Test Types Generation

To generate a test set, either:

  • Provide a custom configuration (behaviors, topics, and categories)
  • Select a predefined template (skip to Step 2)

Step 1: Initial Setup

Test Generation Configuration Page

Provide the following information to configure your test generation:

  • Project (optional): Associate with a project
  • Sources (optional): Add documents for context
  • Description: What you want to test

Step 2: Review & Refine

Test Generation Samples Page

Based on the test description provided or the selected template, the system generates configuration (left side) and test samples (right side):

The configurations are divided into three categories:

  • Behaviors: The type of behavior the target system should exhibit when responding to the prompt
  • Topics: The specific subject matter or theme for the test
  • Categories: High-level classification for grouping tests

Use “Further refine test generation” to modify the configuration chips, which automatically generates new test samples based on your changes. Activate “Live Responses” to test samples against your endpoint in real-time.

Step 3: Generate

  • Name (optional): a descriptive name for the generated test set
  • Number of tests: use the slider to choose 1–200 (default 50)

Generation takes 2–5 minutes depending on the size. You’ll receive a notification when ready.

Next steps

  • View and manage tests in Tests
  • Organize tests into Test Sets for execution
  • Configure Endpoints to run tests against