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-Textract/Step-3-Configure-the-repository/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:

{
    "keyValueMapping":[
        {
            "aiTextract":[
            {
                "key":"Mailing Address:",
                "aspect":"acme:applicantInfo",
                "property":"acme:addressHome",
                "keyMatch": "EXACT"
            },
            {
                "key":"Full Name",
                "aspect":"acme:applicantInfo",
                "property":"acme:nameFull",
                "confidence": "0.5"
            },
            {
                "key":"telephone number:",
                "aspect":"acme:applicantInfo",
                "property":"acme:telephone"
            },
            [...]
            ]
        }
    ]
}

In the above JSON snippet:

  • The property mapping configuration is loaded and validated at application startup.
  • If there's a mismatch between the aspect and the property, or if one or the other doesn't exist, a WARN message is logged, and the pairing is ignored (i.e. that particular pair is ignored, not the entire configuration).
  • This example uses an EXACT key matching for the Mailing Address field. Other options include regular expressions, with a fallback to the default matching if keyMatch isn't defined. See Form extraction (key-value pairs) for more.