Schema creation and management

Prev Next

Available in Classic and VPC

The Schema creation and management section describes how to create and delete schemas, as well as how to duplicate an existing schema to create a new one.

Creating a schema

To create a schema:

Note

You can also create a schema when creating a dataset. For details, see Creating a dataset.

  1. Navigate to i_menu > Services > AI Services > AiTEMS in the NAVER Cloud Platform console.
  2. Click the Schema menu.
  3. Click the [Create schema] button.
  4. When the Create schema interface appears, select the dataset type.
    • The Basic schema information section appears.
  5. Enter the schema name and description.
    • The schema name is used as the management key for the schema. It must begin with an English letter and can contain English letters, numbers, _, and -. Enter 3 to 20 characters.
  6. Enter the field information for the schema and click the [Add] button.
    • Required fields are set automatically and cannot be modified or deleted. The required fields are listed below.
      Dataset Type Required Fields (Not NULL) Reserved Words
      user USER_ID (string) -
      item ITEM_ID (string) CATEGORY (String)
      CREATION_TIMESTAMP (long)
      interaction USER_ID (string)
      ITEM_ID (string)
      TIMESTAMP (long)
      EVENT_TYPE(String)
      EVENT_VALUE(null)
    • Field name: Enter the field name exactly as it appears in the dataset file.
    • Field type: Select the data type to input (string/float/long/double/int/boolean/null)
    • Categorical field: Set to Y when entering data with predefined categories.
    • You can drag and drop i-aitems_order to change the order of the fields.
  7. Click [Create] button.
    • The schema is created and added to the list.

Duplicating a schema

You can duplicate an existing schema to create a new one.

Note

When duplicating an existing schema, you cannot change the dataset type.

To duplicate a schema:

  1. Navigate to i_menu > Services > AI Services > AiTEMS in the NAVER Cloud Platform console.
  2. Click the Schema menu.
  3. In the schema list, click the schema you want to duplicate.
  4. Click the [Duplicate schema] button.
  5. When the Duplicate schema popup appears, edit the schema name.
  6. Configure the schema fields.
  7. Click the [Duplicate] button.
  8. In the notification popup, click [OK] button.
    • The duplicated schema appears in the list.

Deleting a schema

To delete a schema:

Note

You cannot delete a schema that is connected to a dataset. Delete the relevant dataset or change the schema connected to that dataset before deleting the schema.

  1. Navigate to i_menu > Services > AI Services > AiTEMS in the NAVER Cloud Platform console.
  2. Click the Schema menu.
  3. In the schema list, click the schema you want to delete.
  4. Click the [Delete schema] button.
  5. When the schema popup appears, enter the name of the schema you want to delete and click [Delete] button.
    • The schema is deleted and removed from the list.