Entity rule for composite Entity

I would like to capture the PAN number (ABCDE1234R), In the documentation it is said that it can be achieved by using composite entity with the below rule.
{
“modelNumber”: true
}
but I could not see any entity rule feature in the composite entity, does the feature exist?

Hi Pranay,

Thank you for reaching out to kore.ai
Please refer to the below documentation for more information your requirement.

Thank you,
Srujan Madderla
Kore.ai Community Team

This is composite entity type which do not have entity rules but according to documentation , entity rule feature exist.

You can use a script node to add rules to context.

context.entityRules = {
    "compositeEntityName" : {
        "modelNumber" : true
    }
};
1 Like