Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Surya Narayana
/
ai-workforce-rasa
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
66f65d53
authored
Dec 09, 2020
by
Sai Komuravelli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
yes and no more variations added and if user enters except yes or bot repets the qustion
parent
2159e241
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
actions/actions.py
data/nlu.md
actions/actions.py
View file @
66f65d53
...
...
@@ -115,11 +115,11 @@ class greet_primary_information(FormAction):
def
slot_mappings
(
self
)
->
Dict
[
Text
,
Union
[
Dict
,
List
[
Dict
]]]:
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
(),
"skills"
:
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
()
}
...
...
data/nlu.md
View file @
66f65d53
...
...
@@ -18,6 +18,10 @@
-
i love that
-
sure
-
yes, please go ahead
-
confirm
-
do it
-
of course
-
Yes great
## intent:deny
-
no
-
no need
...
...
@@ -27,6 +31,15 @@
-
breath no
-
i don't want it
-
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
-
please stop it
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment