Prompt management
When eval catches a quality drop, fix it safely with history, diffs, and lint — then deploy, and roll back if needed. Creating and editing requires Pro or above.
support-bot prompt history (example)
You are a polite customer-support agent.
Answer the customer's question below
in 1-2 polite, concise sentences.
Question: {{question}}v2 → v3 diff
Added:
- +Added the persona qualifier "polite".
- +Added the output constraint "1-2 polite, concise sentences".
Removed:
- −Rephrased "You are a customer-support agent" to include "polite".
History and rollback
Every version keeps its author and timestamp. Roll a deployment back to the previous version in one click.
Example
v3currentDeployed
support_leadtoday 14:32
v2Roll back
support_engineeryesterday 18:07
v1
support_engineer3 days ago 09:41
Diff view
Line-by-line diff of added and removed lines. Even small edits surface their scope at a glance.
1-You are a customer support agent.
2+You are a polite customer support agent.
3 Answer the customer's question below
4+politely and concisely, in 1-2 sentences.
5 Question: {{question}}
Pre-save lint
Detect undeclared or unused variables and unclosed mustache tags before save.
Example
{{user_name}} is undeclaredline 4
Unclosed mustacheline 12
3 variables verified