Custom Payload - just-ai/aimybox-android-sdk GitHub Wiki
With custom payload you can create a custom skill that only returns a static response or responses array.
In this case you don't have to create any skill's logic using any tools like Aimylogic or Dialogflow. All you need - is to define the JSON payload that will be returned to your voice assistant.
You have to define payload JSON that contains a reply or an array of replies in the format of Aimybox HTTP API. For example
{
"type": "text",
"text": "There is some custom text"
}
If you need to send multiple replies you ca define JSON array
[
{
"type": "image",
"imageUrl": "https://somaddress.com/image.jpg"
},
{
"type": "text",
"text": "Some text"
}
]
Please refer to the HTTP API to learn about supported reply types.
|| You can also use your own types if you have custom implementation of payload parsing using Android and iOS SDKs