แก้ไข

แชร์ผ่าน


GeographyV2 prebuilt entity for a LUIS app

Important

LUIS will be retired on October 1st 2025 and starting April 1st 2023 you will not be able to create new LUIS resources. We recommend migrating your LUIS applications to conversational language understanding to benefit from continued product support and multilingual capabilities.

The prebuilt geographyV2 entity detects places. Because this entity is already trained, you do not need to add example utterances containing GeographyV2 to the application intents. GeographyV2 entity is supported in English culture.

Subtypes

The geographical locations have subtypes:

Subtype Purpose
poi point of interest
city name of city
countryRegion name of country or region
continent name of continent
state name of state or province

Resolution for GeographyV2 entity

The following entity objects are returned for the query:

Carol is visiting the sphinx in gizah egypt in africa before heading to texas.

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

"entities": {
    "geographyV2": [
        {
            "value": "the sphinx",
            "type": "poi"
        },
        {
            "value": "gizah",
            "type": "city"
        },
        {
            "value": "egypt",
            "type": "countryRegion"
        },
        {
            "value": "africa",
            "type": "continent"
        },
        {
            "value": "texas",
            "type": "state"
        }
    ]
}

In the preceding JSON, poi is an abbreviation for Point of Interest.

Next steps

Learn about the email, number, and ordinal entities.