Domain.yml doesn't match getting started tutorial

Hello,

After entering pip install rasa rasa init

I looked at the domain.yml file that was created and it doesn’t match the file presented here: https://rasa.com/docs/rasa/user-guide/rasa-tutorial/

What I’m supposed to get according to the tutorial is

intents:
  - greet
  - goodbye
  - affirm
  - deny
  - mood_great
  - mood_unhappy

actions:
- utter_greet
- utter_cheer_up
- utter_did_that_help
- utter_happy
- utter_goodbye

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

  utter_cheer_up:
  - text: "Here is something to cheer you up:"
    image: "https://i.imgur.com/nGF1K8f.jpg"

  utter_did_that_help:
  - text: "Did that help you?"

  utter_happy:
  - text: "Great carry on!"

  utter_goodbye:
  - text: "Bye"

but what I get is

intents:
  - greet
  - goodbye
  - affirm
  - deny
  - mood_great
  - mood_unhappy
  - bot_challenge

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

  utter_cheer_up:
  - text: "Here is something to cheer you up:"
    image: "https://i.imgur.com/nGF1K8f.jpg"

  utter_did_that_help:
  - text: "Did that help you?"

  utter_happy:
  - text: "Great, carry on!"

  utter_goodbye:
  - text: "Bye"

  utter_iamabot:
  - text: "I am a bot, powered by Rasa."

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

Is it normal?

Yes, it is fine and totally normal. In earlier versions of rasa, these used to be templates, but it has been changed to responses now and also a session config has been added. The docs need to be updated.

1 Like

Yes everything is fine go on!

1 Like

Hey @abercher, welcome to the community :blush:

The templates have been replaced by responses in Rasa 1.7.0

So it’s normal :slightly_smiling_face:

https://rasa.com/docs/rasa/1.7.0/changelog/#features

1 Like

Thanks a lot guys! Sorry if asked a naive question. This being said I would advise Rasa to change their tutorial as it is a bit confusing.

Anyway, thanks a lot for your friendliness and for your help!

Have a great day!

1 Like

I have opened this issue on github to update the docker image of the docs.

1 Like