to access this service (example)
context array must have always at least 1 element that is context_zana, otherwise it may contain a list of contexts separated by coma
NLU Response
The message returned from the NLU for Intent Classification.
JSON Representation
{
"id":"e6f9bd70-af66-11e8-96f8-529269fb1459",
"sid": "23784867264",
"timestamp": "2018-09-01T19:46:07.379Z",
"intent": {
"name": "IntentName",
"matchedEntity": [{
"confidence": 0.9,
"name": "Teeth grinding",
"id": "c257",
"synonymMatch": "",
"type": "condition",
"url": "/c/teeth-grinding.257",
"image": null
}],
"outputContext": ["",
""
],
"isFallback": false
},
"dialogFlowEntities": {
"name": ["heart attack ", "stroke "]
},
"status": {
"code": 200,
"message": "Completed OK"
}
}
Fields
id | string | UUID Generated String that idenfities each response |
sid | String | Session Id as generated by Zana Core |
timestamp | Date | TimeStamp indicating the response time |
intent | Intent | The intent classified by NLU |
dialogFlowEntities | List |
Entities as recognized by DialogFlow (To be deprecated in the future) |
status | Status | Status of the reponse |
References
To check the IBM Watson as well for further improvement in our documentation https://www.ibm.com/watson/developercloud/natural-language-understanding/api/v1/#authentication