Utter message with list of dict as string in domain.yml

Response text under templates in domain.yml, for my custom chat window i have image/video/link…etc, i would like to set the utter response - text: "[{"type": "text", "value":"Abcd"},{"type": "image", "value":"some link"},{"type": "video", "value":"some link"}], is it possible, i tried it, but at the time of training core training was skipped because no valid domain file was found. is there any way to do it. or any alternative.

hey @sadque, you can use custom key of the utter template if you want to send the above json data

adding the custom json code for your reference:


1 Like