microsoft / CognitiveServicesLanguageUtilities

Utilities for the Cognitive Service Custom Text document processing tool.
MIT License
17 stars 1 forks source link

update indexer to support multiple same entity detection #168

Closed mshaban-msft closed 2 years ago

mshaban-msft commented 2 years ago

currently the entity field in the indexer is of type 'string' and at the azure function for the custom skillset, we only add the first occurrence of the entity if found in the document ex: if our app had an entity "PersonName" there will be a field in the index called PersonName of type string and when we call the azure function using one of the docs, and CT detects multiple occurences of "PersonName", only the first one will be added to the index