Редактиране

Споделяне чрез


Percentage 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.

Percentage numbers can appear as fractions, 3 1/2, or as percentage, 2%. Because this entity is already trained, you do not need to add example utterances containing percentage to the application intents. Percentage entity is supported in many cultures.

Types of percentage

Percentage is managed from the Recognizers-text GitHub repository

Resolution for prebuilt percentage entity

The following entity objects are returned for the query:

set a trigger when my stock goes up 2%

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

"entities": {
    "percentage": [
        2
    ]
}

Next steps

Learn about the ordinal, number, and temperature entities.