ServiceAISetupField

Represents a field on cases or knowledge articles that Einstein uses to identify relevant articles in Einstein Article Recommendations.

This type extends Metadata and inherits its fields.

ServiceAISetupField components have the suffix .serviceAiSetupField and are stored in the serviceAiSetupFields folder.

Introduced in API version 51.0.

This type is available only if Einstein Article Recommendations is enabled in your org and the Main Services Agreement has been accepted.

  • Type: string
  • Required: Yes
  • Description: Required. The Case or KnowledgeArticle object for the field.
  • Type: string
  • Required: Yes
  • Description: Required. The API name of the field.
  • Type: ServiceAISetupFieldType (enumeration of type string)
  • Required: Yes
  • Description: Required. The field type.
  • Possible values:
    • CASE_DESC
    • CASE_SUBJ
    • ARTICLE_TITLE
    • ARTICLE_CONTENT
    • ARTICLE_SUMMARY
  • Type: int
  • Required: Yes
  • Description: Required. A positive number used to rank the field’s importance. The value 1 is most important; higher numbers indicate less important fields. Einstein considers fields in the order of importance.
  • Type: string
  • Required: Yes
  • Description: Required. A reference to the field.

The following is an example of a ServiceAISetupField 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.