Why Use Prompt Management?
Version Control
Track every prompt change with major and minor versions. Rollback to previous versions when needed.
Environment Deployment
Deploy different prompt versions to production, staging, or custom environments.
No Code Changes
Update prompts without redeploying your application. Change text, parameters, and tools on the fly.
A/B Testing
Run experiments to compare prompt variations and measure performance improvements.
How It Works
Prompt management in Helicone follows a simple workflow:Create a prompt in the UI
Build your prompt template in the Helicone dashboard with variables, messages, tools, and parameters.
Core Concepts
Prompts
A prompt is a template that defines:- Messages: The conversation structure (system, user, assistant messages)
- Variables: Placeholders like
{{hc:name:string}}that get replaced at runtime - Model Parameters: Temperature, max tokens, top_p, etc.
- Tools: Function calling definitions
- Response Format: Structured output schemas
Versions
Every prompt has multiple versions with semantic versioning:- Major versions (1.0, 2.0): Breaking changes or significant rewrites
- Minor versions (1.1, 1.2): Incremental improvements
Environments
Deploy specific versions to named environments:production: The live version users interact withstaging: Testing before production release- Custom environments:
dev,qa,canary, etc.
Variables
Prompts support typed variables using the syntax{{hc:variableName:type}}:
- Message content
- Tool descriptions
- Response format schemas
Quick Start
Create a prompt in the UI
Navigate to Prompts in your Helicone dashboard and create a new prompt. Add messages, variables, and parameters.
Next Steps
Versioning
Learn how to create and manage prompt versions
Deployment
Deploy prompts to different environments
Experiments
Run A/B tests to compare prompt variations
Gateway Integration
Use prompts directly through the AI Gateway
