mkdocs/docs/en/advanced/variables.md
Route: /#/pro/variable
Use this workspace when one prompt structure stays the same but its parameters change across runs.
If both are true, this is usually the right page:
original / workspace / vN with the same variable valuesTypical template style:
Write a poem about {{topic}} in {{style}}.
{{variables}} on the leftThe left side edits the template prompt itself.
You can think of the page like this:
The right side tests:
Variable values are part of the right-side test input.
No.
Left-side analysis still focuses on the template itself, not on the current values used for one test run.
original / workspace / vNYou can keep it simple and think in three layers:
For daily use, two rules matter most:
Template prompt:
You are a {{style}} poet. Write a poem about {{topic}}.
Right-side variables:
style=Chinese classical
topic=programmer overtime
With that setup, you can compare: