I made rasabot and used rasa version 3, why is it that when a user asks a question containing numbers to rasabot, rasabot doesn’t give any answer. for example the user sends a question “who is the football player with the number 7 jersey at Manchester United” but the bot doesn’t give any response to the user, even though I have set it in the intents section and I have set the answer in the domain, and set it in the rules, or in stories but still the rasabot doesn’t give any response, is there a solution to this problem or is there a special script to deal with this problem?
Hi @Aiyub150, can you provide the respective files?
of course, this is my nlu.yml :
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: siswa_1
examples: |
- siswa jurusan rpl
- siswa jurusan rekayasa perangkat lunak
- aiyub
- aiyub heriyanto
- siswa 1
- intent: siswa_2
examples: |
- siswa jurusan mm
- siswa jurusan multimedia
- afand
- afand fathur rozi
- fathur
- rozi
- siswa 2
- intent: siswa_3
examples: |
- siswa jurusan mp
- siswa jurusan manajemen perkantoran
- dhony
- dhony fajriansyah
- fajriansyah
- siswa 3
- intent: example
examples: |
- who is the football player with the number 7 jersey at Manchester United
my domain.yml :
version: "3.1"
intents:
- greet
- goodbye
- ask_question
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- siswa_1
- siswa_2
- siswa_3
- example
responses:
utter_products:
- text: "Berikut adalah produk yang tersedia: "
utter_greet:
- text: "{greetings}"
utter_goodbye:
- text: "{goodbyes}"
utter_thanks:
- text: "{thanks}"
utter_example:
- text: "cristiano ronaldo (this just for example :v)"
actions:
- action_siswa_1
- action_siswa_2
- action_siswa_3
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
my rule.yml
version: "3.1"
rules:
- rule: Respond to a greeting
steps:
- intent: greet
- action: utter_greet
- rule: Respond to a goodbye
steps:
- intent: goodbye
- action: utter_goodbye
- rule: Kirim nama siswa aiyub
steps:
- intent: siswa_1
- action: action_siswa_1
- rule: Kirim nama siswa afand
steps:
- intent: siswa_2
- action: action_siswa_2
- rule: Kirim nama siswa dhony
steps:
- intent: siswa_3
- action: action_siswa_3
- rule: send example
steps:
- intent: example
- action: utter_example
Try providing more examples