In the LUIS examples I have only been able to find the output to console containing the entire intent and entity output, for example calling Properties.GetProperty(PropertyId::LanguageUnderstandingServiceResponse_JsonResult) will return:
RECOGNIZED: Text=Turn off the kitchen lights.
Intent Id: HomeAutomation.TurnOff
Intent Service JSON: {
"query": "turn off the kitchen lights",
"topScoringIntent": {
"intent": "HomeAutomation.TurnOff",
"score": 0.97978586
},
"entities": [
{
"entity": "kitchen",
"type": "HomeAutomation.Location",
"startIndex": 13,
"endIndex": 19,
"score": 0.98807955
},
{
"entity": "lights",
"type": "HomeAutomation.DeviceType",
"startIndex": 21,
"endIndex": 26,
"resolution": {
"values": [
"light"
]
}
}
]
}
Is there a way to access the individual entities for use in my functions using the C++ or Python API, or would I need to access the JSON endpoint and parse the output manually?