Skip to content

Instantly share code, notes, and snippets.

@imohitmayank
Created August 11, 2018 14:14
Show Gist options
  • Save imohitmayank/73a760911e9b0a7abf23ba1ca4013617 to your computer and use it in GitHub Desktop.
Save imohitmayank/73a760911e9b0a7abf23ba1ca4013617 to your computer and use it in GitHub Desktop.
rasa_starter/domain.yml
intents:
# place your intents
- greet
- query_days_in_month
- bye
entities:
# place your entities
- month
templates:
# sample replies
utter_greet:
- "Hey, how can I help you?"
utter_answer_31_days:
- "There are 31 days in the mentioned month."
utter_answer_30_days:
- "There are 30 days in the mentioned month."
utter_answer_28_days:
- "There are 28 days in the mentioned month."
utter_bye:
- "Goodbye"
actions:
# templates (as they are reply actions),
# also custom actions if any
- utter_greet
- utter_answer_31_days
- utter_answer_30_days
- utter_answer_28_days
- utter_bye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment