The above format in the Jovo Model (/models/en.json) doesn’t produce the correct files on jovo build
:
"inputs": [
{
"name": "query",
"type": {
"alexa": "AMAZON.SearchQuery",
"googleAssistant": "actions.type.FreeText"
}
}
]
With the above format, the file created is:
/intents/MyIntent.yaml
"trainingPhrases":
- "find ($query 'query' auto=true)"
"parameters":
- "name": "query"
"type":
"name": "actions.type.FreeText"
The type, actions.type.FreeText
, is not valid.
What is needed is the following:
/intents/MyIntent.yaml
parameters:
- name: query
type:
name: ANY_TYPE
trainingPhrases:
- find ($query 'query' auto=true)
/types/ANY_TYPE.yaml
freeText: {}
What format do I need to add to the Jovo Model to get the correct output?