I have one LUIS model for booking an audio call say "BookAcall" and i have utterances as below" I have used prebuilt entity Number for extracting any numerical entity from the sentence.
Book audio call for 5 people for 2 location
Now, from LUIS json i got two entity as numbers.
- 5 and other is 2 but in LUIS there is no way to understand that 5 is no Of people and 2 is no of locations
Need suggestions. Thanks
Below is the screenshot of utterance and Entity, i have used List type entity for No of users.
{
"query": "book a call tomorrow for 5 people for 2 location",
"topScoringIntent": {
"intent": "BookACall",
"score": 0.9560004
},
"intents": [
{
"intent": "BookACall",
"score": 0.9560004
},
{
"intent": "CryptoTrading",
"score": 0.0283502769
},
{
"intent": "None",
"score": 0.00855541
}
],
"entities": [
{
"entity": "tomorrow",
"type": "builtin.datetimeV2.date",
"startIndex": 12,
"endIndex": 19,
"resolution": {
"values": [
{
"timex": "2018-06-15",
"type": "date",
"value": "2018-06-15"
}
]
}
},
{
"entity": "location",
"type": "NoOfLocation",
"startIndex": 40,
"endIndex": 47,
"resolution": {
"values": [
"Location"
]
}
},
{
"entity": "people",
"type": "NoOfUsers",
"startIndex": 27,
"endIndex": 32,
"resolution": {
"values": [
"People"
]
}
},
{
"entity": "5",
"type": "builtin.number",
"startIndex": 25,
"endIndex": 25,
"resolution": {
"value": "5"
}
},
{
"entity": "2",
"type": "builtin.number",
"startIndex": 38,
"endIndex": 38,
"resolution": {
"value": "2"
}
}
]
}