The below JSON defines custom response for the client to allow custom UI. As per the documentation https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-response-types-reference#user_defined I can define "anything" for the "user_defined" object but I am failing to understand how to pass the variable as provided by my extension response.
{
"generic": [
{
"user_defined": {
"default_color": "blue",
"template_name": "color_picker",
"my_response_value": "???"
},
"response_type": "user_defined"
}
]
}