Commit 66f65d53 by Sai Komuravelli

yes and no more variations added and if user enters except yes or bot repets the qustion

parent 2159e241
Showing with 15 additions and 2 deletions
...@@ -115,11 +115,11 @@ class greet_primary_information(FormAction): ...@@ -115,11 +115,11 @@ class greet_primary_information(FormAction):
def slot_mappings(self) -> Dict[Text, Union[Dict, List[Dict]]]: def slot_mappings(self) -> Dict[Text, Union[Dict, List[Dict]]]:
return { return {
"askques": self.from_text(), "askques": [self.from_intent(intent=["affirm"],value="yes"),self.from_intent(intent=["deny"],value="no"),self.from_text()],
"email_mobile": self.from_text(), "email_mobile": self.from_text(),
"skills": self.from_text(), "skills": self.from_text(),
"availabletime": self.from_text(), "availabletime": self.from_text(),
"refferals":self.from_text(), "refferals":[self.from_intent(intent=["affirm"],value="yes"),self.from_intent(intent=["deny"],value="no"),self.from_text()],
"refferal_yes_info":self.from_text() "refferal_yes_info":self.from_text()
} }
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
- i love that - i love that
- sure - sure
- yes, please go ahead - yes, please go ahead
- confirm
- do it
- of course
- Yes great
## intent:deny ## intent:deny
- no - no
- no need - no need
...@@ -27,6 +31,15 @@ ...@@ -27,6 +31,15 @@
- breath no - breath no
- i don't want it - i don't want it
- no, thank you - no, thank you
- not ok
- not really
- I disagree
- I don't think so
- not interested
- I don't want that
- don't do it
- definitely not
- noo
## intent:stop ## intent:stop
- please stop it - please stop it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment