Help Center/ MetaStudio/ User Guide/ Intelligent Interaction/ Saving Interactive Dialog Records
Updated on 2025-08-25 GMT+08:00

Saving Interactive Dialog Records

Dialog records cannot be viewed on MetaStudio. You can transfer dialog records to an OBS bucket.

Prerequisites

  1. You have purchased an OBS bucket. For details, see OBS Billing. OBS buckets in the CN North-Beijing4 region are recommended.
  2. You have created an OBS bucket.
  3. You have created an OBS bucket policy by referring to Creating a Custom Bucket Policy (JSON View). Perform operations on the OBS console.

    The JSON content of the bucket policy is as follows. Use the region where MetaStudio is located. Set Bucket name to the name of the OBS bucket you use.

    • CN East-Shanghai1:
      {
          "Statement": [
              {
                  "Sid": "MetaStudioDialogReportPolicy-cn-east-3",
                  "Effect": "Allow",
                  "Principal": {
                      "Federated": [
                          "domain/2dd0b7e1241f4d3f9ee4a766b2b51011:identity-provider/*"
                      ]
                  },
                  "Action": [
                      "PutObject"
                  ],
                  "Resource": [
                      "Bucket name",
                      "Bucket name/*"
                  ]
              }
          ]
      }
    • CN North-Beijing4:
      {
          "Statement": [
              {
                  "Sid": "MetaStudioDialogReportPolicy-cn-north-4",
                  "Effect": "Allow",
                  "Principal": {
                      "Federated": [
                          "domain/2dd0b7e1241f4d3f9ee4a766b2b51011:identity-provider/*"
                      ]
                  },
                  "Action": [
                      "PutObject"
                  ],
                  "Resource": [
                      "Bucket name",
                      "Bucket name/*"
                  ]
              }
          ]
      }
    • AP-Singapore:
      {
          "Statement": [
              {
                  "Sid": "MetaStudioDialogReportPolicy-ap-southeast-3",
                  "Effect": "Allow",
                  "Principal": {
                      "Federated": [
                          "domain/599cda24c4d342659708b76cd74ebef0:identity-provider/*"
                      ]
                  },
                  "Action": [
                      "PutObject"
                  ],
                  "Resource": [
                      "Bucket name",
                      "Bucket name/*"
                  ]
              }
          ]
      }

Procedure

  1. Log in to the MetaStudio console and go to the Overview page.
  2. Click Go to MetaStudio Console to go to the MetaStudio console.
  1. In the navigation pane, choose Assets > My Creations.
  2. Select the Intelligent Interaction tab and click Dialog Records on the right to go to the Dialog Records dialog box, as shown in Figure 1.

    Enable Dialog Data Sync to OBS and configure the parameters in Table 1.
    Figure 1 Dialog records
    Table 1 Parameters

    Parameter

    Description

    OBS Bucket Name

    Copy the OBS bucket name from the Object Storage page of the OBS console.

    Endpoint

    Copy the domain name of the endpoint of the OBS bucket, as shown in Querying Endpoint Information of an OBS Bucket.

  3. Click OK.

    The directory Intelligent_Interaction_Chat_Dialog has been added to the OBS bucket. Subdirectories will be created by date under this directory to store corresponding daily dialog data.

Querying Endpoint Information of an OBS Bucket

  1. Log in to the OBS console.
  2. In the bucket list, click the name of the OBS bucket that stores dialog records to go to the Objects page of the bucket.
  3. In the navigation pane, choose Overview.

    In the Domain Name Details area, you can view the domain name of the endpoint, as shown in Figure 2.

    Figure 2 Endpoint

Dialog Data Fields

Table 2 describes the fields of intelligent interaction dialog data saved to the OBS bucket.

Table 2 Dialog data fields

Field

Type

Description

session_id

string

Session ID.

wakeup_type

string

Wakeup type. Options:

  • BUTTON: wakeup by pressing the button
  • VOICE: voice wakeup
  • RADAR: radar-based wakeup
  • INFRARED: wakeup based on infrared access control
  • CAMERA: camera wakeup

Default value: BUTTON

wakeup_time

long

Wakeup time.

end_time

long

End time.

rounds

int

Number of dialog rounds.

client_info

Object of ClientInfo

Client information.

detail_info_list

Arrays of DetailInfo

Dialog details.

Table 3 ClientInfo

Field

Type

Description

client_id

string

Client ID (store GID).

client_code

string

Client code (store code).

client_sn

string

Client device SN (SN of the virtual avatar device).

client_type

string

Client type. Options:

  • CASH_REGISTER: cashier
  • DIGITAL_CLERK_SCREEN: independent large screen
Table 4 DetailInfo

Field

Type

Description

round

int

Number of dialog rounds.

intention

string

Intent.

question_time

long

Time of asking questions.

question

string

Question content.

answer_time

long

Q&A time.

answer

string

Q&A content.