- Output field: Returns structured data.
This element is designed to transfer structured data from brain to application, for example, intent recognition data. The data are firstly converted to an associative array with element attribute name/value as array key/value. BrainShop provides a set of default data and developers can define their own data.
The field name, mapped to the array key.
The field value, mapped to the array value. Multiple values are separated with comma.
Example 1. Device control data
- I feel hot
- I'm turning air conditioner on for you.
- I feel hot.
"cnt": "I'm turning air conditioner on for you.",
- Although you can define any data to return, it's a good practice to use ones defined by system firstly. Doing so you may ensure your custom cells can be utilized by all devices or applications without compatibility issue.