Error: Templates should not be strings

Hello,

I created a story in Rasa using ‘rasa interactive’ and received this messaged upon saving. What does it mean? Thanks.

/usr/local/lib/python3.7/site-packages/rasa/core/domain.py:137: FutureWarning: Templates should not be strings anymore. Utterance template ‘utter_mindsetbook’ should contain either a '- text: ’ or a '- custom: ’ attribute to be a proper template. utter_templates = cls.collect_templates(data.get(“responses”, {}))

1 Like

Hi @liorskaler. This related to the format of your domain file. The response templates in your domain file should follow the following format:

responses:
  utter_greet:
  - text: "Hey! How are you?"

The error suggests that your response templates don’t start with - text: or at least a -.