Hi,
I’m using nlp.js as NLU integration. I have an intent in my Jovo Model that looks like this:
{
“name”: “GetHoursIntent”,
“phrases”: [
“{hours}”,
“Ho dormito {hours}”
],
“inputs”: [
{
“name”: “hours”,
“type”: {
“dialogflow”: “@sys.number”,
“alexa”: “AMAZON.NUMBER”
}
}
]
}
When i trigger the intent, i try to console.log(this.$inputs.hours)
but it returns undefined. I think the error is in the Jovo model when i define the type of my hours parameter. I’ve seen here: https://www.jovo.tech/tutorials/lindenbaum-cognitive-voice#adding-an-nlu-service that is used:
"type": { "nlpjs": "...."
}
But i can’t find any documentation about the input types of nlpjs, so i dont know what to write after "nlpjs":
Is there something similar to @sys.number or AMAZON.NUMBER for nlpjs?