title | titleSuffix | description | ms.author | author | manager | ms.service | ms.subservice | ms.topic | ms.date |
---|---|---|---|---|---|---|---|---|---|
Dimension Prebuilt entities - LUIS |
Azure AI services |
This article contains dimension prebuilt entity information in Language Understanding (LUIS). |
aahi |
aahill |
nitinme |
azure-ai-language |
azure-ai-luis |
reference |
01/19/2024 |
[!INCLUDE deprecation notice]
The prebuilt dimension entity detects various types of dimensions, regardless of the LUIS app culture. Because this entity is already trained, you do not need to add example utterances containing dimensions to the application intents. Dimension entity is supported in many cultures.
Dimension is managed from the Recognizers-text GitHub repository.
The following entity objects are returned for the query:
10 1/2 miles of cable
The following JSON is with the verbose
parameter set to false
:
"entities": {
"dimension": [
{
"number": 10.5,
"units": "Mile"
}
]
}
The following JSON is with the verbose
parameter set to true
:
"entities": {
"dimension": [
{
"number": 10.5,
"units": "Mile"
}
],
"$instance": {
"dimension": [
{
"type": "builtin.dimension",
"text": "10 1/2 miles",
"startIndex": 0,
"length": 12,
"modelTypeId": 2,
"modelType": "Prebuilt Entity Extractor",
"recognitionSources": [
"model"
]
}
]
}
}
The following example shows the resolution of the builtin.dimension entity.
{
"entity": "10 1/2 miles",
"type": "builtin.dimension",
"startIndex": 0,
"endIndex": 11,
"resolution": {
"unit": "Mile",
"value": "10.5"
}
}