The default format is to include the responses in your domain file
So is there a way to define the responses in an external file? I wasn’t able to find something in the docs.
Background: We have a multilingual bot with 2 languages at the moment and having just a file with plain responses (no slots, no actions, no…) would be handy for the translator
Currently, you need to define your responses in the domain file itself. You cannot put them in a separate file. We are working on improving the training data format, see New Training Data Format Ideas. Feel free to add your idea over there.
@nik202 that is what I tried to do, but gave me the error pasted above (previous comment). I have also removed all responses from the domain.yml to /data/nlu/responses/responses.yml, and keep having the same message:
Action ‘utter_x’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses
For reference, utter_x is an utterance given for a retrieval intent.