Domain.yml doesn't match getting started tutorial - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum
👋 Introducing the Rasa Playground
Domain.yml doesn’t match getting started tutorial
You have selected 0 posts.
450 views 2 links
post by abercher on Apr 22, 2020
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?
450 views 2 links
post by saurabh-m523 on Apr 22, 2020
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.
post by bparikh99 on Apr 22, 2020
Yes everything is fine go on!
post by JiteshGaikwad on Apr 22, 2020
Hey @abercher, welcome to the community
The templates have been replaced by responses in Rasa 1.7.0
So it’s normal
https://rasa.com/docs/rasa/1.7.0/changelog/#features
post by abercher on Apr 22, 2020
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!
post by saurabh-m523 on Apr 22, 2020
I have opened this issue on github to update the docker image of the docs.