Hi
I am developing a chatbot I have created the config file, nlu file with the (intents, entities, and lookup data):
version: "2.0"
nlu:
#A)Here the list of intents that would be used for Greetings function:
#1) Welcoming without time:
- intent: greet
examples: |
- hey
- hello
- hi
- hello there
- hey there
- let's go
- just going to say hi
- heya
- hello hi
- howdy
- greetings
- hi there
- long time no see
- I greet you
- hello again
- good day
#2) welcoming in the morning
- intent: morning
examples: |
- good morning
- moin
- morning
- GM
- gm
- goodmorning
- monin;
- have a good morning
- Have a great morning
- Have an awesome morning
- Wishing you a good morning
- Wishing you a grat morning
- good morning
- good morning to you
- hello good morning
- have a nice morning
- have a great morning
- morning
- good morning there
- top of the morning to you
- a good morning
- good morning to you
- hi good morning
- and a good morning to you
- good morning too
#3) welcoming in the afternoon
- intent: evening
examples: |
- good evening
- goodevening
- have a good evening
- Have a great evening
- Have an awesome evening
- Wishing you a good evening
- Wishing you a grat evening
- GE
- ge
- evening
#4) welcoming in the afternoon
- intent: afternoon
examples: |
- good afternoon
- goodafternoon
- good after-noon
- good after noon
- have a good afternoon
- Have a great afternoon
- Have an awesome afternoon
- Wishing you a splendid afternoon
- Wishing you a good afternoon
- gan
- gafn
- GAN
- GAFN
#5) Goodbye:
- intent: goodbye
examples: |
- okay see you later
- hope to see you later
- bye for now
- till next time
- I must go
- bye
- goodbye
- see you
- see you soon
- bye-bye
- bye bye good night
- good bye
- bye bye see you
- bye bye see you soon
- bye bye take care
- I said bye
- never mind bye
- now bye
- that's all goodbye
- that's it goodbye
- leave me alone
- go to bed
- goodbye for now
- talk to you later
- you can go now
- get lost
- goodbye see you later
- alright bye
- see ya
- thanks bye bye
- okay bye
- okay thank you bye
- see you tomorrow
- ok bye
#6) goodnight:
- intent: goodnight
examples: |
- sweet dreams
- good night
- have a good night
- good night to you
- thank you good night
- bye good night
- good night bye
- bye good night
- good good night
- good night for now
- goodnight
- night
- thanks goodnight
- good night see you tomorrow
- alright goodnight
- good tonight
- okay have a good night
- night
- have a good night
- gn
- GN
- nighty
#7) nice to meet you:
- intent: nice_to_meet
examples: |
- nice to meet you
- it was nice meeting you
- it was very nice to meet you
- good to know each other
- glad to meet you
- nice meeting you
- nice to meet you too
- pleased to meet you
- pleasure to meet you
- pleasure to meet you too
- good to see you
#8) nice to meet you:
- intent: nice_to_talk
examples: |
- it's been so nice to talk to you
- it's been a pleasure talking to you
- nice to talk to you
- it's nice to talk to you
- nice talking to you
- it is nice talking to you
- how nice it is to talk to you
#9) see you again:
- intent: see_again
examples: |
- I'd like to see you again
- I hope to see you again
- would be nice to see you again
- that'd be great to see you again
- I'd be happy to see you again
- I'll miss you
- can I see you again
- c you again
- c ya again
- c u again
- cu again
- cya again
#10) thanks:
- intent: thanking
examples: |
- you helped a lot thank you
- appreciate your help
- cheers
- thank you
- thanks
- thanks a lot
- terrific thank you
- great thank you
- thanks so much
- thank you so much
- thanks for your help
- thank you for your help
- nice thank you
- I appreciate it
- I thank you
- thank you that will be all
- thanks buddy
- thanks love
- thank you my friend
- well thanks
- very good thank you
- good thanks
- thanks again
- thank you again
- all thank you
- alright thank you
- alright thanks
- no thank you that's all
- perfect thank you
- so nice of you
- well thank you
- well thanks
- thnx
- thank you
- thanx
#11) welcoming_thanks
- intent: welcome_thanks
examples: |
- that's my pleasure
- my pleasure
- anytime
- welcome
- you're welcome
- sure welcome
- welcome here
- you're so welcome
- anything you want
- welcome
#12) well_done:
- intent: well_done
examples: |
- good job
- great job
- way to go
- well done
- nice work
- great work
- amazing work
- bravo
- good work
#here the list of intents that could be used with AnwerQuestion:
#1) Asking About Doing with dpecifying the user name:
- intent: askingAboutDoingWithName
examples: |
- I am [Ahmad](name), how are you?
- I am [Sara](name), how are you doing?
- I am [Maryam](name), how are you fegiteling?
- I'm [Abdullah](name), how's everything?
- I'm [Sultan](name), how have you been?
- I'm [Bushra](name), how is your morning so far?
- I'm [Marwah](name), how are you getting on?
- I'm [Mohammed](name), how's your day going?
- I'm [John](name), how are you?
- I'm [Sema](name), is everything all right?
- I'm [Rayan](name), how are you doing?
- I'm [Manar](name), how are the things going?
- I'm [Maher](name), are you alright?
- I'm [Eman](name), are you okay?
- I'm [Ehsan](name), how are you feeling?
- I'm [Sema](name), how are you going?
- I'm [Khalid](name), is everything okay?
- I'm [Ahmed](name), how are you today?
- I'm [Norah](name), how do you do?
- I'm [Mona](name), how do you feel?
- I'm [Hoda](name), how have you been?
- I'm [Huda](name), how is it?
- I'm [Ali](name), how is it going?
- I'm [Adam](name), how is your day?
- I'm [Nida](name), how is your day going?
- I'm [Nesreen](name), how is your evening?
- I'm [Mustafa](name), how was your day?
- I'm [Jamal](name), are you having a good day?
- I'm [Asia](name), hope your day is going well?
- I'm [Talal](name), hope you re having a pleasant evening?
- I'm [Entisar](name), how's life?
- I'm [Ameen](name), I'm fine and you?
- I'm [Zainab](name), how is your life?
- I'm [Marwah](name), how has your day been?
- I'm [Wejdan](name), how is your morning going?
- I'm [Amjad](name), how has your day been going?
- I'm [Nooran](name), how about you?
- I'm [Joud](name), how is your day being?
- I'm [Ahd](name), how is your day going on?
- I'm [Hassan](name), how your day is going?
- I'm [Hussain](name), what was your day like?
- I'm [Naief](name), what about your day?
- I'm [Nawaf](name), how's your day?
- I'm [Daniah](name), how are you doing this morning?
- I'm [Alhanoof](name), how is your day going?
#2) Asking About Doing with specifying the user name:
- intent: askingAboutDoingWithOutName
examples: |
- how are you?
- how are you doing?
- how are you feeling?
- how's everything?
- how have you been?
- how is your morning so far
- how are you getting on
- how's your day going
- is everything all right
- how are you doing
- how are the things going
- are you alright
- are you okay
- how are you feeling
- how are you going
- is everything okay
- how are you today
- how do you do
- how do you feel
- how have you been
- how is it
- how is it going
- how is your day
- how is your day going
- how is your evening
- how was your day
- are you having a good day
- hope your day is going well
- hope you re having a pleasant evening
- how's life
- I'm fine and you
- how is your life
- how has your day been
- how is your morning going
- how has your day been going
- how about you
- how is your day being
- how is your day going on
- how your day is going
- what was your day like
- what about your day
- how's your day
- how are you doing this morning
- how is your day going
#3) waiting
- intent: waiting
examples: |
- wait a second
- could you wait
- wait please
- hold on
- wait
- oh wait
- wait hold on
- don't rush
- just a second
- just a minute
- wait for a moment please
#4) sorry:
- intent: sorry
examples: |
- excuse me
- apologise
- I apologize
- sorry
- I'm sorry
- I am so sorry
- my apologies
- apologies
- apologies to me
- apology
- excuse
- I beg your pardon
- pardon
- I said sorry
- I am really sorry
- forgive me
- sorry about that
- sorry about this
- really sorry
- very sorry
- ok sorry
- I want to say sorry
- alright I'm sorry
- okay I'm sorry
#6) dont care:
#- intent: dont_care
# examples: |
# - I don't care
# - I shouldn't care about this
#- whatever
#- I do not care
#- I don't care at all
#- not caring
#- not care at all
#- don't care at all
#- not caring at all
#7) user waiting:
- intent: user_waiting
examples: |
- I'm waiting
- still waiting
- I'll wait
- I can't wait anymore
- how long do I have to wait
#here the list of intents that could be used with Flight Search:
# 1) a general intent for search flight:
- intent: flight_search_intent
examples: |
- I want to [travel](Search_flight)
- I want a travel [ticket](Search_flight)
- I want a [flight](Search_flight) ticket
- find a [flight](Search_flight) for me please
- find a [flight](Search_flight) for me, please
- Can you please find a [flight](Search_flight) ticket for me?
- I want to book a [flight](Search_flight) ticket
- I want to book a [ticket](Search_flight)
- Can you please find a [flight](Search_flight) for me?
- I want to book a [flight](Search_flight) asap
- I want to book a [flight](Search_flight)
- I am looking for a [flight](Search_flight)
- find a [flight](Search_flight) for me
- I wanna to [travel](Search_flight)
- I need a [trip](Search_flight)
# 2) flight_search_intent_with_daeparture_and_destenation_cities_and_departure_date:
- intent: flight_search_intent_with_daeparture_and_destenation_cities_and_departure_date
examples: |
- I am looking for a [flight](Search_flight) from [Arrabury]{"entity": "city", "role": "departure"} to [Annaba]{"entity": "city", "role": "destination"} [Tomorrow](departure_date).
- I want to book a [flight](Search_flight) from [Dammam]{"entity": "city", "role": "departure"} to [Jeddah]{"entity": "city", "role": "destination"} on [14/05/2022](departure_date).
- I want to book a [flight](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"} on [30/1/2021](departure_date).
- Can you please find a [flight](Search_flight) for me from [Al Madinah]{"entity": "city", "role": "departure"} to [Abha]{"entity": "city", "role": "destination"} on [3-4-2020](departure_date).
- Book a [flight](Search_flight) from [Al Kharj]{"entity": "city", "role": "departure"} to [Bonthe]{"entity": "city", "role": "destination"} [Today](departure_date).
- Book a [flight](Search_flight) from [Colombo]{"entity": "city", "role": "departure"} to [Paris]{"entity": "city", "role": "destination"} on [January,21st,2020](departure_date).
- find a [flight](Search_flight) for me from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"} on [January,21st,2020](departure_date).
- I want to [fly](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"} on [17th January 2021](departure_date).
- I wanna [trp](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"} on [17th January 2021](departure_date).
- I need a [flight](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"} [Tomorrow](departure_date).
# 3) flight_search_intent_with_daeparture_and_destenation_cities_only
- intent: flight_search_intent_with_daeparture_and_destenation_cities_only
examples: |
- I am looking for a [flight](Search_flight) from [Arrabury]{"entity": "city", "role": "departure"} to [Annaba]{"entity": "city", "role": "destination"}.
- I want to book a [flight](Search_flight) from [Dammam]{"entity": "city", "role": "departure"} to [Jeddah]{"entity": "city", "role": "destination"}.
- I want to book a [flight](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"}.
- Can you please find a [flight](Search_flight) for me from [Al Madinah]{"entity": "city", "role": "departure"} to [Abha]{"entity": "city", "role": "destination"}.
- Book a [flight](Search_flight) from [Al Kharj]{"entity": "city", "role": "departure"} to [Bonthe]{"entity": "city", "role": "destination"}.
- Book a [flight](Search_flight) from [Colombo]{"entity": "city", "role": "departure"} to [Paris]{"entity": "city", "role": "destination"}.
- find a [flight](Search_flight) for me from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"}.
- I want to [fly](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"}.
- I wanna to [fly](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"}.
- I need a [trip](Search_flight) from [Berlin]{"entity": "city", "role": "departure"} to [San Francisco]{"entity": "city", "role": "destination"}.
# 4) flight_search_with_destenation_only:
- intent: flight_search_with_destenation_only
examples: |
- I want to book a [flight](Search_flight) ticket to [Paris]{"entity": "city", "role": "destination"}.
- Can you please find a [flight](Search_flight) ticket for me to [Clearwater]{"entity": "city", "role": "destination"}?.
- find a [flight](Search_flight) for me to [Palmer]{"entity": "city", "role": "destination"}, please.
- find a [flight](Search_flight) for me to [Chicago]{"entity": "city", "role": "destination"} please.
- would you please help me to find a flight to [Anniston]{"entity": "city", "role": "destination"}?.
- I want a [flight](Search_flight) to [New York]{"entity": "city", "role": "destination"}.
- I want a [ticket](Search_flight) to [Rochester]{"entity": "city", "role": "destination"}.
- I want to [travel](Search_flight) to [Vienna]{"entity": "city", "role": "destination"}.
- I want a [flight ticket](Search_flight) for [London]{"entity": "city", "role": "destination"}.
- I want a [travel ticket](Search_flight) for [Houston]{"entity": "city", "role": "destination"}.
- I am looking for a [flight](Search_flight) to [Fiumicino]{"entity": "city", "role": "destination"}.
- I want to book a [flight](Search_flight) for [St Paul]{"entity": "city", "role": "destination"}.
- I want to book a [flight](Search_flight) to [El Catey]{"entity": "city", "role": "destination"} asap.
- Can you please find a [flight](Search_flight) for me to [Karup]{"entity": "city", "role": "destination"}.
- I want to book a [ticket](Search_flight) to [La Romana]{"entity": "city", "role": "destination"}.
- Book a [flight](Search_flight) for [Musha]{"entity": "city", "role": "destination"}.
- find a [flight](Search_flight) for [Berlin]{"entity": "city", "role": "destination"}.
- I wanna book a [flight](Search_flight) ticket to [San Francisco]{"entity": "city", "role": "destination"}.
- I need a [trip](Search_flight) ticket to [San Francisco]{"entity": "city", "role": "destination"}.
- find a [flight](Search_flight) for [San Francisco]{"entity": "city", "role": "destination"}.
- find a [flight](Search_flight) to [San Francisco]{"entity": "city", "role": "destination"}.
- find me a [flight](Search_flight) to [San Francisco]{"entity": "city", "role": "destination"}.
- book a [flight](Search_flight) for [San Francisco]{"entity": "city", "role": "destination"}.
# 5) flight_search_with_departure_only:
- intent: flight_search_with_departure_only
examples: |
- I want to book a [flight](Search_flight) ticket from [Paris]{"entity": "city", "role": "departure"}.
- Can you please find a [flight](Search_flight) ticket for me from [Clearwater]{"entity": "city", "role": "departure"}?.
- find a [flight](Search_flight) for me from [Palmer]{"entity": "city", "role": "departure"}, please.
- find a [flight](Search_flight) for me from [Chicago]{"entity": "city", "role": "departure"} please.
- would you please help me to find a flight from [Anniston]{"entity": "city", "role": "departure"}?.
- I want a [flight](Search_flight) from [New York]{"entity": "city", "role": "departure"}.
- I want a [ticket](Search_flight) from [Rochester]{"entity": "city", "role": "departure"}.
- I want to [travel](Search_flight) from [Vienna]{"entity": "city", "role": "departure"}.
- I want a [flight ticket](Search_flight) from [London]{"entity": "city", "role": "departure"}.
- I want a [travel ticket](Search_flight) from [Houston]{"entity": "city", "role": "departure"}.
- I am looking for a [flight](Search_flight) from [Fiumicino]{"entity": "city", "role": "departure"}.
- I want to book a [flight](Search_flight) from [St Paul]{"entity": "city", "role": "departure"}.
- I want to book a [flight](Search_flight) from [El Catey]{"entity": "city", "role": "departure"} asap.
- Can you please find a [flight](Search_flight) for me to [Karup]{"entity": "city", "role": "departure"}.
- I want to book a [ticket](Search_flight) from [La Romana]{"entity": "city", "role": "departure"}.
- Book a [flight](Search_flight) from [Musha]{"entity": "city", "role": "departure"}.
- find a [flight](Search_flight) for me from [Berlin]{"entity": "city", "role": "departure"}.
# 6) provide_departure_city: فيها مشاكل ما يتعرف ع الانتنت هذي غالباً
- intent: provide_departure_city
examples: |
- [Berlin]{"entity": "city", "role": "departure"}.
- I am in [Musha]{"entity": "city", "role": "departure"}.
- from [Dammam]{"entity": "city", "role": "departure"}.
- I want to travel from [Makkah]{"entity": "city", "role": "departure"}.
- it is [Medina]{"entity": "city", "role": "departure"}.
- in [Paris]{"entity": "city", "role": "departure"}.
# 7) provide_destination_city: فيها مشاكل ما يتعرف ع الانتنت هذي غالبا
- intent: provide_destination_city
examples: |
- [Dubai]{"entity": "city", "role": "destination"}.
- to [Houston]{"entity": "city", "role": "destination"}.
- I will go to [Newport]{"entity": "city", "role": "destination"}.
- I want to travel to [San Francisco]{"entity": "city", "role": "destination"}.
- it is [Riyadh]{"entity": "city", "role": "destination"}.
# 8) provide_departure_date
- intent: provide_departure_date
examples: |
- [20/5/2021](departure_date)
- on [20/1/2020](departure_date)
- I will travel on [December,2,2020](departure_date)
- on [20th January 2020](departure_date)
- [June,3rd,2020](departure_date)
- [December,2,2020](departure_date)
- [2/10/2020](departure_date)
- [December,2,2020](departure_date)
- [20th,January,2020](departure_date)
- [17th January 2021](departure_date)
# 9) provide_return_date
- intent: provide_return_date
examples: |
- [20/5/2021](return_date)
- on [20/1/2020](return_date)
- I will [return](return_decision) on [December,2,2020](return_date)
- on [20th,January,2020](return_date)
- [June,3rd,2020](return_date)
- [December,2,2020](return_date)
- [2/10/2020](return_date)
- [December,2,2020](return_date)
- [20th,January,2020](return_date)
- I will [comeback](return_decision) on [December,2,2020](return_date)
- I would [getback](return_decision) on [20th,January,2020](return_date)
- I will [get back](return_decision) on [December,2,2020](return_date)
- on [17th January 2021](return_date)
# 10) provide_one_way_trip
- intent: provide_one_way_trip
examples: |
- I want a [one-way](one_way_flight) flight
- I want it as [one way](one_way_flight) trip please
- [one way](one_way_flight) plz
- [one way](one_way_flight), please
- [one-way](one_way_flight) please
- [one-way](one_way_flight)
- [one way](one_way_flight) trip please
- [one-way](one_way_flight) trip please
# 11) provide_round_trip
- intent: provide_round_trip
examples: |
- I want a [round trip](round_flight) flight
- I want it as [round trip](round_flight) trip please
- [round trip](round_flight) plz
- [round trip](round_flight), please
- [round-trip](round_flight) please
- [round-trip](round_flight)
- [round trip](round_flight) trip please
- [round-trip](round_flight) please
- a [round-trip](round_flight) please
- I [want a round](round_flight) trip
- [round trip](round_flight)
- [round-trip](round_flight)
#here the list of intents that could be used with Connect to An Agent function:
#1) Conntect to an agent:
- intent: Connect_agent
examples: |
- I have an [issue](report_issue) need to be reported
- I have an [issue](report_issue)
- I want to report a [problem](report_issue)
- I want to [connect an agent](report_issue)
#2) Conntect to an agent:
- intent: provide_name
examples: |
- [my name is] (provide_name) [Zahra] (name)
- ok, [my name](provide_name) is [Reem](name)
- [I am] (provide_name) (Fatimah Almomen)[name]
- [My name](provide_name) is [Zahra Alnamer](name)
- [Zahra Alnamer](name)
#3) Conntect to an agent:
- intent: provide_phone_number
examples: |
- it is [0507753459](phone)
- [0507753459](phone)
- [+966507753459](phone)
- My phone number is [+966507753459](phone)
#4) provide_email:
- intent: provide_email
examples: |
- Ofcourse, it is [2160001732@iau.edu.sa](email)
- [zmaher1996@gmail.com](email)
- sure, my email is [zahraa.maher@windwoslive.com](email)
- my eamil is [fA@outlook.com](email)
- it is [zmaher1996@gmail.com](email)
#5) provide_issue_details: فيها مشاكل غالباً ما يتعرف عليها
- intent: provide_issue_deatils
examples: |
- I [have a problem with](get_issue_details)
- The [issue is](get_issue_details)
- The [problem is](get_issue_details)
- [My problem is](get_issue_details)
- [My issue is](get_issue_details)
#here the list of intents that could be used with suggest a place to visit function:
#1) get hobbies:
- intent: get_Hoppies
examples: |
- I like [art](hobby)
- I like [climbing] (hobby)
- I am enjoy the [Snorkiling](hobby)
- I am enjoying the [Snorkiling](hobby)
- I am interested in [swimming](hobby)
- I love the [shopping](hobby)
- [shopping](hobby)
#2) get hobbies:
- intent: get_Kind_of_cities
examples: |
- I've been to [historical](city_type) city
- I have been to an [island](city_type)
- I was in [Historical city](city_type)
- [Shopping](city_type)
- I have visitid [islands](city_type) and [shopping](city_type) cities
- [shopping](city_type) city
#3) get hobbies:
- intent: get_weather
examples: |
- [Winter](weather_type)
- [spring](weather_type)
- I would like to go to [autumn](weather_type) place
- I like [summer](weather_type) place
- I like [cold](weather_type) places
- intent: bot_challenge
examples: |
- are you a robot?
- are you a human?
- lookup: city
examples: |
- Arrabury
- Annaba
- Ambriz
- Abingdon
- Alpha
- Al
- Madinah
- Bamaga,
- Queensland
- Albury
- Adelaide
- Andamooka
- Buenos
- Aires
- San
- Rafael
- Agnew
and the config file:
language: en
pipeline:
- name: SpacyNLP
model: en_core_web_sm
- name: SpacyTokenizer
- name: CountVectorsFeaturizer
- name: DIETClassifier
epochs: 200
random_seed: 2
- name: RegexEntityExtractor
Also the sotries file:
version: "2.0"
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: flight_search_function_story_1
steps:
- intent: greet
- action: utter_greet
- intent: flight_search_intent
- action: utter_flight_search_intent
- intent: provide_departure_city
- action: utter_flight_search_with_departure_only
- intent: provide_destination_city
- action: utter_provide_destination_city
- intent: provide_departure_date
- action: utter_provide_departure_date
- intent: provide_round_trip
- action: utter_provide_round_trip
- intent: provide_return_date
- action: utter_provie_return_date
- action: utter_suitable choices
- action: utter_something_else
- intent: thanking
- action: utter_welcome_thanks
- intent: goodbye
- action: utter_goodbye
Then I have created the domain file without adding the entities to the file:
version: "2.0"
intents:
- afternoon
- morning
- provide_departure_date
- nice_to_meet
- provide_destination_city
- get_Kind_of_cities
- waiting
- get_weather
- affirm
- deny
- mood_great
- greet
- goodnight
- welcome_thanks
- provide_return_date
- provide_one_way_trip
- nice_to_talk
- askingAboutDoingWithName
- askingAboutDoingWithOutName
- flight_search_intent_with_daeparture_and_destenation_cities_only
- flight_search_with_destenation_only
- flight_search_intent
- provide_email
- flight_search_intent_with_daeparture_and_destenation_cities_and_departure_date
- provide_departure_city
- evening
- see_again
- bot_challenge
- provide_issue_deatils
- user_waiting
- well_done
- sorry
- get_Hoppies
- thanking
- flight_search_with_departure_only
- provide_round_trip
- provide_name
- mood_unhappy
- provide_phone_number
- Connect_agent
responses:
utter_greet:
- text: "Hi I am Tickie! How can I help you?"
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_afternoon:
- text: "Good afternoon! I am Tickie, How may I help you?"
utter_moorning:
- text: "Good moorning! I am Tickie, How may I help you?"
utter_provide_departure_date:
- text: "Alright, do you want it as a round-trip or one way trip?"
utter_nice_to_meet:
- text: "Nice to meet you too, I hope that I can help you in your needs ^_^"
utter_provide_destination_city:
- text: "Ok, what is your departure date?"
utter_get_kind_of_cities:
- text: "Ok, what do you like to do in your free time?"
utter_waiting:
- text: "Ofcourse! take your time, I will be waiting here for you ^_^"
utter_get_weather:
- text: "Nice, can you tell me what kind of cities you have been to?"
utter_goodnight:
- text: "goodnight dear ♥, have a sweet dreams ^_^"
utter_welcome_thanks:
- text: "My pleasure ♥, I hope to help you again ^_^"
utter_provie_return_date:
- text: "Ok, please wait for some moments to find a suitable package for you ^_^"
utter_provide_one_way_trip:
- text: "Alright! please wait for some moments to find a suitable package for you ^_^"
utter_nice_to_talk:
- text: "Oh Thank you ♥ it is nice to talk to you too ^_^"
utter_askingAboutDoingWithName:
- text: "Nice to meet you dear ..... , I am good. What about you?"
utter_askingAboutDoingWithOutName:
- text: "I am Great! What about you?"
utter_flight_search_intent_with_daeparture_and_destenation_cities_only:
- text: "Alright, what is your departure date?"
utter_flight_search_with_destenation_only:
- text: "Ofcourse, from where?"
utter_flight_search_intent:
- text: "From where?"
utter_provide_email:
- text: "Can I have your phone number?"
utter_provide_departure_city:
- text: "what is your departure date?"
utter_evening:
- text: "Good evening dear! I am Tickie, How may I help you?"
utter_see_again:
- text: "Oh! thank you love♥ same here, I would like to talk to talk with you again ♥♥"
utter_provide_issue_deatils:
- text: "Thanks for your feedback, an agent will contact you as soon as possible ^_^"
utter_user_waiting:
- text: "Thanks for your waiting, I will get back to you once your order is finished ^_^"
utter_well_done:
- text: "Oh thanks ^_^ I hope to help you again as soon as possible"
utter_sorry:
- text: "It is ok, dont worry ♥♥"
utter_get_Hoppies:
- text: "This is a list of places seems suitable for you:"
utter_thanking:
- text: "My pleasure ♥♥ hope to help you again and any time ^_^"
utter_flight_search_with_departure_only:
- text: "To where?"
utter_provide_round_trip:
- text: "Alright, what is your return date?"
utter_provide_name:
- text: "Can I have your email?"
utter_provide_phone_number:
- text: "Could you provide me with your issue details?"
utter_Connect_agent:
- text: "Can I have your name?"
utter_suitable choices:
- text: "This is a list of suitable choices, select the best one for you:"
utter_something_else:
- text: "Do you want something else?"
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
when I did that, I tried the python3 -m rasa shell on the terminal and see that the responses are working as you see here:
but it gave me warning that I need to add al the entities to the domain file as it is documented on the Domain , so I have added them as follows:
version: "2.0"
intents:
- afternoon
- morning
- provide_departure_date
- nice_to_meet
- provide_destination_city
- get_Kind_of_cities
- waiting
- get_weather
- affirm
- deny
- mood_great
- greet
- goodnight
- welcome_thanks
- provide_return_date
- provide_one_way_trip
- nice_to_talk
- askingAboutDoingWithName
- askingAboutDoingWithOutName
- flight_search_intent_with_daeparture_and_destenation_cities_only
- flight_search_with_destenation_only
- flight_search_intent
- provide_email
- flight_search_intent_with_daeparture_and_destenation_cities_and_departure_date
- provide_departure_city
- evening
- see_again
- bot_challenge
- provide_issue_deatils
- user_waiting
- well_done
- sorry
- get_Hoppies
- thanking
- flight_search_with_departure_only
- provide_round_trip
- provide_name
- mood_unhappy
- provide_phone_number
- Connect_agent
entities:
- return_date
- phone
- provide_name
- get_issue_details
- weather_type
- round_flight
- report_issue
- one_way_flight
- hobby
- return_decision
- city_type
- Search_flight
- email
- departure_date
- name
- city:
roles:
- departure
- destination
responses:
utter_greet:
- text: "Hi I am Tickie! How can I help you?"
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
utter_afternoon:
- text: "Good afternoon! I am Tickie, How may I help you?"
utter_moorning:
- text: "Good moorning! I am Tickie, How may I help you?"
utter_provide_departure_date:
- text: "Alright, do you want it as a round-trip or one way trip?"
utter_nice_to_meet:
- text: "Nice to meet you too, I hope that I can help you in your needs ^_^"
utter_provide_destination_city:
- text: "Ok, what is your departure date?"
utter_get_kind_of_cities:
- text: "Ok, what do you like to do in your free time?"
utter_waiting:
- text: "Ofcourse! take your time, I will be waiting here for you ^_^"
utter_get_weather:
- text: "Nice, can you tell me what kind of cities you have been to?"
utter_goodnight:
- text: "goodnight dear ♥, have a sweet dreams ^_^"
utter_welcome_thanks:
- text: "My pleasure ♥, I hope to help you again ^_^"
utter_provie_return_date:
- text: "Ok, please wait for some moments to find a suitable package for you ^_^"
utter_provide_one_way_trip:
- text: "Alright! please wait for some moments to find a suitable package for you ^_^"
utter_nice_to_talk:
- text: "Oh Thank you ♥ it is nice to talk to you too ^_^"
utter_askingAboutDoingWithName:
- text: "Nice to meet you dear ..... , I am good. What about you?"
utter_askingAboutDoingWithOutName:
- text: "I am Great! What about you?"
utter_flight_search_intent_with_daeparture_and_destenation_cities_only:
- text: "Alright, what is your departure date?"
utter_flight_search_with_destenation_only:
- text: "Ofcourse, from where?"
utter_flight_search_intent:
- text: "From where?"
utter_provide_email:
- text: "Can I have your phone number?"
utter_provide_departure_city:
- text: "what is your departure date?"
utter_evening:
- text: "Good evening dear! I am Tickie, How may I help you?"
utter_see_again:
- text: "Oh! thank you love♥ same here, I would like to talk to talk with you again ♥♥"
utter_provide_issue_deatils:
- text: "Thanks for your feedback, an agent will contact you as soon as possible ^_^"
utter_user_waiting:
- text: "Thanks for your waiting, I will get back to you once your order is finished ^_^"
utter_well_done:
- text: "Oh thanks ^_^ I hope to help you again as soon as possible"
utter_sorry:
- text: "It is ok, dont worry ♥♥"
utter_get_Hoppies:
- text: "This is a list of places seems suitable for you:"
utter_thanking:
- text: "My pleasure ♥♥ hope to help you again and any time ^_^"
utter_flight_search_with_departure_only:
- text: "To where?"
utter_provide_round_trip:
- text: "Alright, what is your return date?"
utter_provide_name:
- text: "Can I have your email?"
utter_provide_phone_number:
- text: "Could you provide me with your issue details?"
utter_Connect_agent:
- text: "Can I have your name?"
utter_suitable choices:
- text: "This is a list of suitable choices, select the best one for you:"
utter_something_else:
- text: "Do you want something else?"
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
after I trained with the command python3 -m rasa train
and then tried the model with the command python3 -m rasa shell
, the responses stops working!:
as you can see here:
does anyone know what is the problem and how can I resolve it?