Skip to main content
Version: 2.0.0

Version & Publish

This section will introduce: how to manage data through versions, and how to publish models into the production environment.

Version and Environment

  1. Environment: There are two environments on the platform, the draft environment and the formal environment

    1. Draft Environment: It is the environment where the models are trained with real-time data. The modifications in the draft environment can be obtained by calling the GetReply API. These modifications have no impact on the conversation experience of the end users.
    2. Production environment: It is the environment where the data are recorded in versions. Modifications to the draft will not affect the production environment experience. The experience in this environment can only be modified by publishing or switching versions.
  2. Version: Every time you create a version, the current agent data will be recorded in the version. This data can be used to:

    1. Revert to draft: You can select a version and overwrite the current data with the version data when needed.
    2. Import and Export: You can build an agent quickly by importing data. Data of the agents can also be exported.
    3. Train, Test and Publish: Train a dialogue model with the version data, test the effect of the dialogue model and publish it to the production environment.

Create versions

Once you are satisfied with the effect, you can create a version to save the current data.

  1. Click "Deploy - Version & Publish" to enter the version management page. no-version

  2. Click "+CREATE" to package the current data and create a new version.

    For the possible revert needs in the future, you need to fill in the version description when creating a new version. Generally speaking, you can briefly describe the main features of the version or modifications compared to previous versions. create-version

  3. When a version is created, the page will display the version, description and created time. has-version

Publish versions to the production environment

You can choose a version to publish to the production environment.

  1. If no version has been published, the "Production Environment Version" will be recorded as "No record". none-publish

  2. Click "PUBLISH", select the version to train and publish it to the production environment. publish

  3. When it shows the version has been successfully published, the "Production Environment Version" will be recorded as the published version. You can have a try on the agent by calling the GetReply API. has-publish

caution

Up to 20 versions can be saved with one agent. When it exceeds the maximum saved number, the oldest versions will be replaced by the latest one.

Import & Export

  1. Export data:

    1. The data saved in versions can be exported as .blob files.
    2. The draft environment data can also be exported as a .blob file.
  2. Import data to draft the environment:

    1. You can import the .blob file to another agent to overwrite the current draft data.
    2. With the same agent, you can also overwrite the draft data by clicking "Revert to draft" of created versions.