EvaluationPrompts
Prompts
Fetch versioned prompts, compile Mustache templates, and manage prompt versions across TypeScript, Python, and Java SDKs.
Prompts
Prompts are version-controlled templates stored in BrowserStack AI Evals. Fetch them at runtime to track prompt changes, run A/B experiments, and always serve the current production version.
Two prompt types are supported:
- Text prompts — a single template string compiled to a
string - Chat prompts — an array of
role/contentmessage objects compiled to a message list
Manage Prompts
Create, get, list, and version prompts via SDK.
Template Syntax & Variables
Mustache template syntax, variable substitution, conditionals, loops, and compile examples.
Using Prompts in the Dashboard
Create and edit prompts, insert variables, test with values, and manage versions in the UI.