{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "ServiceAISetupField - Metadata API",
"description": "Represents a field on cases or knowledge articles that Einstein uses to identify relevant articles in Einstein Article Recommendations. This type extends the Metadata metadata type and inherits its fullName field.",
"file_information": ".serviceAiSetupField",
"directory_location": "serviceAiSetupFields",
"fields_columns": [
"type",
"description"
],
"fields": {
"entity": {
"type": "string",
"description": "The Case or KnowledgeArticle object for the field.",
"required": true
},
"field": {
"type": "string",
"description": "The API name of the field.",
"required": true
},
"fieldMappingType": {
"type": "ServiceAISetupFieldType (enumeration of type string)",
"description": "The field type. Valid values are: CASE_DESC CASE_SUBJ ARTICLE_TITLE ARTICLE_CONTENT ARTICLE_SUMMARY",
"required": true
},
"fieldPosition": {
"type": "int",
"description": "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.",
"required": true
},
"name": {
"type": "string",
"description": "A reference to the field.",
"required": true
},
"setupDefinition": {
"type": "string",
"description": "A reference to the parent ServiceAISetupDefinition.",
"required": true
}
},
"wsdl_segment": "```xml\n\n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "The following is an example of a ServiceAISetupField component.",
"code": "\n\n Case\n Subject\n CASE_SUBJ\n 1\n SF16039900475920\n 4hQRM0000004CDK\n"
}
]
}