How to manage prompt versions and restore previous versions

ZBrain's prompt manager includes powerful version control capabilities that allow you to track changes, compare different iterations, and restore previous versions when needed. This ensures you can experiment with prompt improvements while maintaining the ability to revert to earlier configurations if necessary.

Understanding version history

Accessing version history

  • Open the prompt you want to review in the prompt editor

  • Click on the circular arrow icon to access the version history panel, which will appear in the right corner of the interface

Version history panel

The version history panel displays:

  • A chronological list of all saved versions of your prompt

  • The date and time each version was created

  • The ZBrain user who made the changes

  • A blue dot indicator highlighting the current active version

Each entry in the version history represents a saved state of your prompt, including:

  • The prompt text and instructions

  • Model settings and parameters

  • Variable configurations

  • Role definitions

Comparing versions

The version history feature allows you to:

  • See when changes were made to your prompt

  • Identify who made specific changes

  • Understand the evolution of your prompt over time

  • Select different versions to view their complete configuration

This visibility helps teams maintain quality control and provides accountability for prompt modifications, especially in collaborative environments.

Restoring previous versions

If you need to revert to an earlier version of your prompt:

  • Review the available versions and their timestamps

  • Click on a previous version to preview its configuration

  • When you have identified the version you want to restore, click the ‘Restore’ button in the top-right corner

Important considerations when restoring

  • Restoring a previous version will replace the current active version

  • The restored version will become the new current version

  • The system will create a new entry in the version history indicating that a restoration occurred

Best practices for version management

  • Create meaningful changes between versions that are easy to identify

  • Test each new version before publishing to production

  • Review performance metrics between versions to validate improvements

  • Use version history to identify which configurations produced the best results

By effectively using the version history and restore functionality in ZBrain's prompt manager, you can confidently experiment with prompt optimizations while maintaining the ability to quickly revert to proven configurations when needed.

Last updated