Hello all,
Can anyone provide me an example of what a model en.json and corresponding intent Handler in a Jovo 4 component would look like for an intent that fills multiple entities? For example, “Read Hamlet Act 1 Scene 1”, where the entities would be Hamlet, 1, and 1.
I want to do something like:
"intents": {
"ReadShakespeareIntent": {
"phrases": [
"Read {play} Act {act} Scene {scene}"
],
"entities": [{
"book": {
"type": "ShakespearePlayType"
},
"chapter": {
"type": {
"alexa": "AMAZON.NUMBER"
}
},
"verse": {
"type": {
"alexa": "AMAZON.NUMBER"
}
}
}]
},
}
This doesn’t work, but it will give an example of what I’m trying to do.
I was able to do things like this often in Jovo 3, but having difficulty finding examples of the syntax in Jovo 4 (especially for this model file).
Thanks,
Ben