Last active
March 16, 2024 02:56
-
-
Save cherdt/f29a847a08fdc24a42a8e427e079310c to your computer and use it in GitHub Desktop.
a simple chatbot definition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Greetings Bot | |
- match: intro | |
replies: | |
- i'm just learning to be a chatbot. try saying 'hello' | |
- match: hello|hi|yo | |
replies: | |
- howdy | |
- hi | |
- salutations | |
- match: "do you like ([^?]+)" | |
replies: | |
- "I love %1!" | |
- "I've never tried %1, but I'd like to" | |
- match: .*talk | |
replies: | |
- I like to talk about you! | |
- What do you want to talk about? | |
- match: bye|goodbye | |
replies: | |
- goodbye | |
- see ya | |
- later | |
- match: ".*" | |
replies: | |
- sorry, I don't understand | |
- does not compute | |
- i'm really just learning | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment