Skip to content

Latest commit

 

History

History
87 lines (70 loc) · 2.12 KB

luis-reference-prebuilt-email.md

File metadata and controls

87 lines (70 loc) · 2.12 KB
title titleSuffix description ms.author author manager ms.service ms.subservice ms.topic ms.date
LUIS Prebuilt entities email reference
Azure AI services
This article contains email prebuilt entity information in Language Understanding (LUIS).
aahi
aahill
nitinme
azure-ai-language
azure-ai-luis
reference
01/19/2024

Email prebuilt entity for a LUIS app

[!INCLUDE deprecation notice]

Email extraction includes the entire email address from an utterance. Because this entity is already trained, you do not need to add example utterances containing email to the application intents. Email entity is supported in en-us culture only.

Resolution for prebuilt email

The following entity objects are returned for the query:

please send the information to patti@contoso.com

The following JSON is with the verbose parameter set to false:

"entities": {
    "email": [
        "patti@contoso.com"
    ]
}

The following JSON is with the verbose parameter set to true:

"entities": {
    "email": [
        "patti@contoso.com"
    ],
    "$instance": {
        "email": [
            {
                "type": "builtin.email",
                "text": "patti@contoso.com",
                "startIndex": 31,
                "length": 17,
                "modelTypeId": 2,
                "modelType": "Prebuilt Entity Extractor",
                "recognitionSources": [
                    "model"
                ]
            }
        ]
    }
}

The following example shows the resolution of the builtin.email entity.

"entities": [
    {
        "entity": "patti@contoso.com",
        "type": "builtin.email",
        "startIndex": 31,
        "endIndex": 55,
        "resolution": {
        "value": "patti@contoso.com"
        }
    }
]

Next steps

Learn about the number, ordinal, and percentage.