Skip to content
Snippets Groups Projects
Commit 8c9f769b authored by Dominic Daniel Krämer's avatar Dominic Daniel Krämer
Browse files

add basic conversation elements for the rasa chatbot

parent c736f438
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
.vscode .vscode
/rasa-example /rasa-example
notes.txt
.rasa .rasa
*/models */models
......
version: "3.1" version: "3.1"
nlu: nlu:
- intent: greet
examples: |
- hello
- hi
- hey
- howdy
- greetings
- yo
- good morning
- good evening
- good afternoon
- good day
- goodmorning
- goodevening
- goodafternoon
- hey there
- howdy partner
- what's up
- nice seeing you
- cheers mate
- intent: goodbye
examples: |
- bye
- later
- peace
- farewell
- bye bye
- good bye
- goodbye
- good night
- goodnight
- see you
- see you soon
- see you later
- so long
- until next time
- have a nice day
- intent: hello_there
examples: |
- hello there
- intent: what_are_you
examples: |
- what are you?
- what exactly are you?
- are you a bot?
- are you a robot?
- are you human?
- are you a person
- are you a robot or human?
- are you an AI?
- who are you?
- explain what you are
- tell me about yourself
- what is your purpose
version: "3.1" version: "3.1"
rules: rules:
- rule: Greet the user
steps:
- intent: greet
- action: utter_greet
- rule: Say goodbye to the user
steps:
- intent: goodbye
- action: utter_goodbye
- rule: Easter Egg
steps:
- intent: hello_there
- action: utter_easter_egg
- rule: Explain what you are
steps:
- intent: what_are_you
- action: utter_what_i_am
\ No newline at end of file
version: "3.1" version: "3.1"
intents: intents:
- greet
- goodbye
- hello_there
- what_are_you
responses: responses:
utter_greet:
- text: "Hello and welcome aboard! I am Spacemate, your dedicated guide to share insights about the wonders of space stations. How can I assist you today?"
utter_goodbye:
- text: "Farewell! It was a pleasure assisting you. Safe travels through the cosmos!"
utter_what_i_am:
- text: "I am Spacemate, an AI-powered chatbot, designed to be your guide and assistant in exploring all things space stations. I provide information, fun facts, and much more!"
utter_easter_egg:
- text: "General Kenobi! You are a bold one."
session_config: session_config:
session_expiration_time: 60 session_expiration_time: 60
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment