AIScoringModelDefinition

Represents information about a machine learning model that’s used by the Scoring Framework for Industries Cloud Einstein. The machine learning model is used for scoring, including its configuration.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

This type extends Metadata and inherits its fields.

AIScoringModelDefinition components have the suffix .aiScoringModelDefinition and are stored in the aiScoringModelDefinitions folder.

Introduced in API version 58.0.

To access this metadata type, you must have the AI Accelerator User permission set with Scoring Framework enabled for Industries Cloud Einstein from Salesforce Setup. The Salesforce org must have the CRM Plus license and the product’s CRM license.

  • Type: string

  • Required: Yes

  • Description: Required.

    ID of an AI model configuration related to the AI scoring model record.

  • Type: string
  • Required: No
  • Description: Description for an AIScoringModelDefinition record.
  • Type: string

  • Required: Yes

  • Description: Required.

    A user-friendly name for the AIScoringModelDefinition metadata component, which is defined when the AIScoringModelDefinition metadata component is created.

Represents information about a version of an AI scoring model.

This type extends Metadata and inherits its fields.

  • Type: string

  • Required: Yes

  • Description: Required.

    Parent AIScoringModelDefinition record that’s related to an AIScoringModelDefVersion record.

  • Type: AIScoringStep[]
  • Required: No
  • Description: Represents information about a step associated with an AI scoring model version.
  • Type: string

  • Required: Yes

  • Description: Required.

    The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Label is Record Type Name.

  • Type: string

  • Required: Yes

  • Description: Required.

    A user-friendly name for the AIScoringModelDefVersion component name, which is defined when the AIScoringModelDefVersion component name is created.

  • Type: AIScoringModelDefVersionMode (enumeration of type string)

  • Required: Yes

  • Description: Required.

    Mode of an AI scoring model.

    Values are:

  • Possible values:

    • DEPLOY
    • TRAIN
    • TRAIN_AND_DEPLOY
  • Type: AIScoringModelVersionStatus (enumeration of type string)
  • Required: No

Represents information about a step associated with an AI scoring model version. For example, an AI scoring step can include steps, such as propensity to purchase products or prediction scores for accounts.

  • Type: string

  • Required: Yes

  • Description: Required.

    ID of the AI model config step that’s related to the AIScoringStep record.

  • Type: string
  • Required: No
  • Description: Scoring step details in JSON format.

Here’s an example of an AIScoringModelDefinition component.

The following is an example package.xml that references the previous definition.

This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.