Updated on 2025-05-20 GMT+08:00

Model Service

Model management allows you to create, edit, and delete models used by the intelligent analysis assistant and intelligent insights. This helps you select the model that best fits your business scenario when configuring the intelligent analysis assistant.

Notes and Constraints

You must have administrator permissions to manage models.

Procedure

  1. Log in to the DataArts Insight console.
  2. Click in the upper left corner of the management console to select a region. Then, select an enterprise project in the upper right corner.
  3. Click Models on the top menu of the console.
  4. Click Create Model Service. Models of various interface types can be connected. For details about the parameters, see Table 1.
    Figure 1 Creating a model

    Table 1 Parameters for creating a model service

    Parameter

    Description

    Example Value

    Name

    Model name. The name can contain up to 64 characters and cannot start or end with a space. Only letters, numbers, spaces, underscores (_), and hyphens (-) are allowed.

    Pangu model test

    Model Type

    Model type.

    • Pangu Large Model (Cloud Base): large models purchased from and deployed by Pangu Models.
    • Open-source Model (Ascend cloud): an open source large model deployed by Ascend Cloud.
    • Open-source Large Model (Bare Metal): an open source large model deployed on a custom bare metal server.
    • Pangu Large Model (Bare Metal): Pangu model deployed on a bare metal server.

    Pangu Large Model (Cloud Base)

    Project

    Project space with permission to use the model. If left blank, it indicates that all spaces have permission to use the model.

    test

    Task Type

    Task type that can be applied to the current access model. Task types: NL2SQL, Intelligent insights

    NL2SQL, Intelligent insights

    Network Type

    Model network access method.

    • Public network: The model address must be a public network domain name or IP address and can be directly accessed.
    • VPC endpoint service: VPCEP is used to connect DataArts Insight to the large model. This service is mainly used when the large model is deployed on a bare metal server.

    Public network

    Access Address

    Address for accessing the large model's Q&A page.

    https://test.com/v1/infers/gpt/query?endpoint=infer-app

    Auth Type

    IAM authentication

    Tenant name: Huawei Cloud tenant name, that is, the master account name.

    Username: username with the large model access permission.

    Password: user login password.

    Project name: Huawei Cloud project name.

    Tenant name: domain_name

    Username: sub_user_name

    Password: password

    Project name: cn-north-4

    AK/SK authentication

    AK: access key ID.

    SK: secret access key.

    Project name: Huawei Cloud project name.

    AK: test

    SK: test

    Project name: cn-north-4

    AppCode authentication

    AppCode: App code of the application in the API Gateway access scenario.

    yourAppCode

    Agency authentication

    Account name: name of the delegating account.

    Agency name: Name of the agency created by the delegating party.

    Project name: Huawei Cloud project name.

    Account name: domain_name

    Agency name: agency_name

    Project name: cn-north-4

    Custom authentication

    Header key: request header key.

    Header value: request header value.

    Header key: X-Test-Header

    Header value: testHeader

  5. After setting the parameters, click Connectivity Test. If the test is successful, click Confirm. The model is successfully created.

    You can set the default model from the Default NL2SQL Model or Intelligent Insights Default Model drop-down list. After the configuration is complete, the new intelligent analysis assistant NL2SQL and intelligent insights will automatically use the selected default model.