Set up a Dynamic Release Label to overload an existing release label (e.g., “prod”)
Configure the Dynamic Release Label to split traffic between different versions based on percentages or user segments
Programmatically retrieve the prompt using the original release label, which will now dynamically route to the appropriate version
Analyze performance of each version using PromptLayer’s analytics and Evaluations
This approach allows you to test prompt changes on a subset of users, compare performance, and gradually roll out updates while maintaining a single, consistent Release Label for your application to use.
Use descriptive Release Labels that indicate the version’s stage or intended audience (e.g., “prod”, “staging”, “beta_users”)
Remove unused Release Labels to keep your prompt template organized
Use Dynamic Release Labels for more advanced traffic splitting and segmentation
With Release Labels, you can confidently manage prompt template versions and roll out updates without code changes. Combine them with PromptLayer’s versioning, analytics, and evaluations for a powerful prompt engineering workflow.