Overview

This topic explains how to compare versions of AI config variation.

Within each AI config, you define one or more variations, each of which includes a model configuration and one or more messages.

In many applications, you’ll make frequent updates to those variations as you change model parameters or adjust the language in the messaging. You can view the history of each variation, and compare differences between variations, in the LaunchDarkly user interface.

View variation history

To view the history of an AI config variation:

  1. Navigate to the detail page for the AI config.
  2. Select the Variations tab.
  3. Click the three-dot overflow menu for the variation and select View history:

The overflow menu for a variation, with "View history" highlighted.

The overflow menu for a variation, with "View history" highlighted.
  1. The “Variation history” panel appears. It shows all versions of this variation.

Compare variation versions

To compare two versions of an AI config variation:

  1. Follow the procedure to view variation history for an AI config variation, above.
  2. From the “Variation history” panel, click the version of the variation that you want to compare to the current version.
  3. The version comparison page appears. It compares the selected version of the variation to the current version of the variation:

The version comparison page for an AI config variation.

The version comparison page for an AI config variation.
  1. Review the differences between the versions. The “Model configuration” section shows the model configuration in JSON. The “Messages” section shows the message information as text.
  • You can use the version dropdown to change your comparison to compare any other version to the current version.
  • If you select the current version from the dropdown, the page shows only the current version. There are no differences.

Restore previous version

To restore a previous version of an AI config variation:

  1. Follow the procedure to compare two versions of an AI config variation, above.
  2. From the version comparison page, use the version dropdown to select the version of this variation that you want to restore.
  3. Click Promote vX to current, where “X” is the version number of this variation that you want to restore.
  4. LaunchDarkly returns you to the Variations tab, with the variation details updated based on the version you selected to promote.
  5. Click Save changes to create a new version of the variation with these updates.
Built with