AI & Natural Language Processing
// if an intent is found:
event.intent = {
"name": "..." // contains the name of the intent, same
"confidence": "..." // the confidence score that this is the right intent
}
// or, when no intent is found:
event.intent == null
// if other intents match the request:
event.alternative_intents = [ Intent {}, ... ]
// when entities are found, event.entities containes a map of found entities
event.entities.ENTITY_NAME = [
{
"value": "the value",
"metadata": {
// ... additional metadata as returned by the NLP provider
}
}
]
// when this information is known, the processing language code
event.language = "en"Using NLU in your flows
Last updated
Was this helpful?