Hello all,
I am new in jovo, I have tried to getting input value, another words not getting dynamic entity value.
Models JSON file
{
“invocation”: “my test app”,
“version”: “4.0”,
“intents”: {
“BuscaIntent”: {
“phrases”: [
“test {name}”,
“test thanks”
],
“type”: “INTENT”,
“intent”: “BuscaIntent”,
“entities”: {
“name”: {
“value”: “max” // I have tried but not get. And need to set dynamic value
}
}
}
}
}
Component code:
@Intents([‘BuscaIntent’])
async busca() {
this.$entities.BuscaIntent;
console.log(this.$entities); //blank array
console.log(this.$entities.name?.value) //undefined
}
Have followed Jovo document URL : https://www.jovo.tech/docs/entities#access-entities
Please suggest how to getting dynamic entities name.
Thank You