Custom AI property mapping - Custom AI property mapping - Alfresco - Alfresco Intelligence Services - Alfresco/Alfresco-Intelligence-Services/1.4/Alfresco-Intelligence-Services/Alfresco-Intelligence-Services/Configure/Custom-configuration-Comprehend/Step-3.-Configure-the-repository-to-use-a-custom-model/Custom-AI-property-mapping - 1.4

Alfresco Intelligence Services

Platform
Alfresco
Product
Alfresco Intelligence Services
Release
1.4
ft:lastPublication
2026-05-06T19:18:15.398000
ft:locale
en-US
ArchiveStatus
Archived

File name: customAIPropertyMapping.json

Mount location and example:

./customAIPropertyMapping.json:/usr/local/tomcat/customAIPropertyMapping.json

Content:

{
  "featureToPropertyMapping": [
    {
      "aiBusinessCustom": [
        {
          "type": "BUSINESS",
          "aspect": "acme:businesses",
          "property": "acme:business"
        }
      ]
    },
    {
      "aiSportCustom": [
        {
          "type": "SPORT",
          "aspect": "acme:sports",
          "property": "acme:sport"
        }
      ]
    }
  ],
  "categoryToPropertyMapping": [
    {
      "aiClassification": {
        "aspect": "acme:categories",
        "property": "acme:category"
      }
    }
  ]
}

In the above JSON snippet:

  • The rendition name (e.g. aiBusiness, aiSport, aiClassification) is used as a key (for both custom entity recognizers and custom classifiers).
  • The aspect/property names must match the Content Services content model.
  • For custom entity recognizers, the entity type (e.g. BUSINESS, SPORT) must match what's returned in the raw results.