New Actions Builder Jovo Model Support for @sys.any


#1

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?


Introducing Google Actions Builder Support for Jovo
#2

What version is your jovo-cli at?


#3

Jovo CLI Version: 3.0.28


#4

You’ll need to update to 3.2.1 for FreeText to work.