I’m trying to craft a rasa response yaml object that has both response variations (Responses) and custom metadata (Responses) but I can’t find a way to do both. I tried the below format but then the custom json does not get sent, only the text. And if I put the text inside the custom payload then Rasa will not randomly select one of the test responses for me:
utter_interject_confirm:
- text: I can help you with that question.
- text: "OK, here's what I found:"
- text: Happy to help with that question.
- text: 'OK, this might help:'
custom:
type: interjection
utter_interject_confirm:
- custom:
type: interjection
text: I can help you with that question.
- custom:
type: interjection
text: "OK, here's what I found:"
- custom:
type: interjection
text: Happy to help with that question.