BrowserStack AI Evals
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/content message objects compiled to a message list

On this page