Skip to main content
Prompt Variants allow multiple prompt configurations to be tested side by side. All variants within a prompt share the same variables, scenarios, and prompt body while maintaining their own model settings and context configuration. This makes it possible to compare different prompt strategies, model parameters, and outputs without duplicating the prompt itself.

Variant Structure

Each variant consists of the following sections:

Model Settings

Provider, model, and generation parameters for the variant.

Context Before

Content added before the shared prompt body.

Shared Prompt Body

Prompt-level content reflected in every variant.

Context After

Content added after the shared prompt body.

Output

Execution result displayed after running the variant.
The prompt body is configured at the prompt level and is shared across all variants. Any changes made to the prompt body are automatically reflected in every variant within the prompt. Variants allow users to experiment with different model configurations and contextual information while keeping a single prompt definition.

Model Settings

Each variant maintains its own model configuration. Available settings include:
  • Model
  • Temperature
  • Max Tokens
  • Stop Sequences
  • Top P
  • Presence Penalty
  • Frequency Penalty
  • Top Choice
Updating the settings of one variant does not affect any other variant.

Context Blocks

Each variant can contain its own Context Before and Context After blocks. Supported block types include:
  • Text
  • File
Context blocks can be used to provide additional instructions, examples, documents, or supporting information to the model. Different variants can use different context configurations while sharing the same prompt body.

Reordering Context

Context blocks can be reordered using drag-and-drop. This allows users to experiment with different prompt structures without recreating content. The shared prompt body always remains fixed and cannot be reordered.

Creating Variants

1

Create the variant

Click New Variant.
2

Configure the variant

Set description, model, temperature, token limit, stop sequences, Top P, penalties, and Top Choice.
3

Run or compare

Run the variant directly or compare it against another variant using Differences.
When creating a variant, configure:
  • Description
  • Model
  • Temperature
  • Max Tokens
  • Stop Sequences
  • Top P
  • Presence Penalty
  • Frequency Penalty
  • Top Choice
After creation, the variant becomes available in the Editor workspace.

Managing Variants

Each variant provides the following actions:
  • Edit
  • Clone
  • Delete
  • Settings
Changes made to a variant affect only that variant.

Running Variants

Variants can be executed individually or together.

Run

Execute only the selected variant.

Run All

Execute all visible variants from the Editor header.
Execution results are displayed directly in the Output section of each variant.

Comparing Variants

The Differences action compares the structure of two prompt variants. Users can select any two available variants and review their differences side by side. The comparison includes:
  • Prompt structure
  • Context configuration
  • Model settings
  • Variant content
The Differences action is available only when more than one variant exists.