Skip to content

Instantly share code, notes, and snippets.

@parulnith
Created January 6, 2019 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parulnith/438cd044bb0bef119e3a302269b5c87f to your computer and use it in GitHub Desktop.
Save parulnith/438cd044bb0bef119e3a302269b5c87f to your computer and use it in GitHub Desktop.
domain_yml = """
intents:
- greet
- goodbye
- mood_affirm
slots:
group:
type: text
entities:
- group
actions:
- utter_greet
- utter_did_that_help
- utter_happy
templates:
utter_greet:
- text: "Hey! How are you?"
utter_goodbye:
- text: "Bye"
utter_ask_picture:
- text: "To cheer you up, I can show you a cute picture of a dog, cat or a bird. Which one do you choose?"
"""
%store domain_yml > domain.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment