Continuing the discussion from Multiple slot variable is not working in domain.yml:
I tried making more than 20 examples but it is not working. I have intent name and trying to get the name using slot as but it wont response right answers. It just replys the name only written in the examples.
intent: name
- Joseph
- tan
- Pete
- Elon
- penny
- Donald
- Ronald
- edward
- I Lora
- Stan is my name
- Susan is the name
- Ross is my first name
- Bing is my last name
- Few call me as Angelina
- Some call me Julia
- Everyone calls me Laura
- I am Ganesh
- My name is Mike
- just call me Monika
- Few call Dan
- You can always call me Suraj
- Some will call me Andrew
- My name is Ajay
- I call Ding
- I’m Partia
- Please call me Sujan
- Please call me Leo
- name is Pari
It sometime respond with value None. Can you please help me out.
I also tried refrencing starter pack of rasa but didn’t work out.
class ActionName(Action): def name(self):
define the name of the action which can then be included in training stories
return “action_name”
def run(self, dispatcher, tracker, domain):
name = tracker.get_slot('name')
response = """Nice to meet you {}. Do you have account?""".format(name)
dispatcher.utter_message(response)
return []