Skip to main contentPrompts can contain variables as placeholders for various uses such as end user input, retrieved context, etc. The Variables Editor allows you to quickly test your prompt with different variable values, helping you simulate production test cases.
Features
Setting Variable Values
Linked Dataset
Setting variable values provides you with a wide array of flexible options, which includes:
- Building prompts that work across multiple test cases.
- Quickly swapping values to assess the outputs of different test cases.
- Managing all the variable values in a single place.
A linked dataset operationalizes your prompts by binding them to a collection of variable values for scalable testing, which includes:
- Creating a structured dataset where columns map to prompt variables and each row contains different variable values.
- Refining your prompts by assessing them over all the different variable values contained in the linked dataset.