Upload files to 'chatbot/userdetails/data'

This commit is contained in:
2023-08-30 05:04:26 +00:00
parent 37bdc55319
commit cab83d518b
3 changed files with 184 additions and 0 deletions
+99
View File
@@ -0,0 +1,99 @@
version: "3.1"
nlu:
- intent: greet
examples: |
- hey
- hello
- hi
- hello there
- good morning
- good evening
- moin
- hey there
- let's go
- hey dude
- goodmorning
- goodevening
- good afternoon
- intent: goodbye
examples: |
- cu
- good by
- cee you later
- good night
- bye
- goodbye
- have a nice day
- see you around
- bye bye
- see you later
- intent: affirm
examples: |
- yes
- y
- indeed
- of course
- that sounds good
- correct
- intent: deny
examples: |
- no
- n
- never
- I don't think so
- don't like that
- no way
- not really
- intent: mood_great
examples: |
- perfect
- great
- amazing
- feeling like a king
- wonderful
- I am feeling very good
- I am great
- I am amazing
- I am going to save the world
- super stoked
- extremely good
- so so perfect
- so good
- so perfect
- intent: mood_unhappy
examples: |
- my day was horrible
- I am sad
- I don't feel very well
- I am disappointed
- super sad
- I'm so sad
- sad
- very sad
- unhappy
- not good
- not very good
- extremly sad
- so saad
- so sad
- intent: bot_challenge
examples: |
- are you a bot?
- are you a human?
- am I talking to a bot?
- am I talking to a human?
- intent: request_names
examples: |
- i want to give you my name
- give name
- you need to know my name
- do you know my name?
+33
View File
@@ -0,0 +1,33 @@
version: "3.1"
rules:
- rule: Say goodbye anytime the user says goodbye
steps:
- intent: goodbye
- action: utter_goodbye
- rule: Say 'I am a bot' anytime the user challenges
steps:
- intent: bot_challenge
- action: utter_iamabot
- rule: Activate form
steps:
- intent: request_names
- action: name_form
- active_loop: name_form
- rule: Submit form
condition:
- active_loop: name_form
steps:
- action: name_form
- active_loop: null
- slot_was_set:
- requested_slot: null
- action: utter_submit
- action: utter_slots_values
- action: get_slot_data
- action: slots_to_clear
+52
View File
@@ -0,0 +1,52 @@
version: "3.1"
stories:
# - story: happy path
# steps:
# - intent: greet
# - action: utter_greet
# - intent: mood_great
# - action: utter_happy
# - story: sad path 1
# steps:
# - intent: greet
# - action: utter_greet
# - intent: mood_unhappy
# - action: utter_cheer_up
# - action: utter_did_that_help
# - intent: affirm
# - action: utter_happy
# - story: sad path 2
# steps:
# - intent: greet
# - action: utter_greet
# - intent: mood_unhappy
# - action: utter_cheer_up
# - action: utter_did_that_help
# - intent: deny
# - action: utter_goodbye
# - story: interactive_story_1
# steps:
# - intent: greet
# - action: utter_greet
# - intent: request_names
# - action: name_form
# - active_loop: name_form
# - slot_was_set:
# - requested_slot: first_name
# - slot_was_set:
# - first_name: vincent
# - slot_was_set:
# - requested_slot: last_name
# - slot_was_set:
# - last_name: vincent-mcvincent
# - slot_was_set:
# - requested_slot: null
# - active_loop: null
# - action: utter_submit
# - action: utter_slots_values