Commit 64e11e1c by softwhiskey8

0.1

1 parent 934c14c4
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
] ]
}, },
"canttalkrn": "cant_talk_rn":
{ {
"includes": [ "includes": [
"не готов говорить", "не готов говорить",
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"нету времени говорить" "нету времени говорить"
] ]
}, },
"cantalk": "can_talk":
{ {
"includes":[ "includes":[
"слушаю", "слушаю",
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
] ]
}, },
"sendit": "send_it":
{ {
"includes":[ "includes":[
"отправляйте на", "отправляйте на",
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"отправляйте" "отправляйте"
] ]
}, },
"dontneed": "dont_need":
{ {
"includes":[ "includes":[
"ничего не нужно", "ничего не нужно",
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
"неинтересно" "неинтересно"
] ]
}, },
"nowhatsapp": "no_whatsapp":
{ {
"includes":[ "includes":[
"вотсапа нету", "вотсапа нету",
...@@ -81,6 +81,13 @@ ...@@ -81,6 +81,13 @@
"ватсап есть" "ватсап есть"
] ]
}, },
"not_interested":
{
"includes":[
"не интересно",
"не нужно"
]
},
"wait_message": { "wait_message": {
"includes": [ "includes": [
"передайте", "передайте",
......
...@@ -73,12 +73,12 @@ node caller_id ...@@ -73,12 +73,12 @@ node caller_id
transitions transitions
{ {
//end_conversation: goto end_conversation on true; //end_conversation: goto end_conversation on true;
canttalkrn: goto canttalkrn on #messageHasAnyIntent(["decline", "canttalkrn"]); canttalkrn: goto cant_talk_rn on #messageHasAnyIntent(["decline", "cant_talk_rn"]);
cantalk: goto cantalk on #messageHasAnyIntent(["accept", "cantalk"]); cantalk: goto can_talk on #messageHasAnyIntent(["accept", "can_talk"]);
} }
} }
node helpfulpos //pair2 node helpful_pos //pair2
{ {
do do
{ {
...@@ -90,7 +90,7 @@ node helpfulpos //pair2 ...@@ -90,7 +90,7 @@ node helpfulpos //pair2
} }
} }
node helpfulneg //pair2 node helpful_neg //pair2
{ {
do do
{ {
...@@ -111,11 +111,11 @@ node understood //pair3 ...@@ -111,11 +111,11 @@ node understood //pair3
} }
transitions transitions
{ {
positive: goto sendit on #messageHasSentiment("positive") || #messageHasIntent("sendit"); positive: goto send_it on #messageHasSentiment("positive") || #messageHasIntent("send_it");
negative: goto dontneed on #messageHasSentiment("negative"); negative: goto dont_need on #messageHasSentiment("negative");
} }
} }
node sendit node send_it
{ {
do do
{ {
...@@ -124,23 +124,36 @@ node sendit ...@@ -124,23 +124,36 @@ node sendit
} }
transitions transitions
{ {
positive: goto yeswhatsapp on #messageHasSentiment("positive"); positive: goto yes_whatsapp on #messageHasSentiment("positive");
negative: goto nowhatsapp on #messageHasSentiment("negative") || #messageHasIntent("nowhatsapp"); negative: goto no_whatsapp on #messageHasSentiment("negative") || #messageHasIntent("no_whatsapp");
} }
} }
node dontneed node dont_need
{ {
do do
{ {
//почему отказываетесь
#say("why_reject"); #say("why_reject");
wait*; wait*;
} }
transitions transitions
{ {
negative: goto thanks_bye_2 on #messageHasSentiment("negative") || #messageHasIntent("not_interested");
}
}
node thanks_bye_2
{
do
{
#say("thanks_for_time_2");
goto do_before_exit;
}
transitions
{
do_before_exit: goto do_before_exit;
} }
} }
node yeswhatsapp node yes_whatsapp
{ {
do do
{ {
...@@ -151,7 +164,7 @@ node yeswhatsapp ...@@ -151,7 +164,7 @@ node yeswhatsapp
end_conversation: goto end_conversation; end_conversation: goto end_conversation;
} }
} }
node nowhatsapp node no_whatsapp
{ {
do do
{ {
...@@ -160,14 +173,14 @@ node nowhatsapp ...@@ -160,14 +173,14 @@ node nowhatsapp
} }
transitions transitions
{ {
thanksbye: goto thanksbye on true; thanks_bye: goto thanks_bye on true;
} }
} }
node thanksbye node thanks_bye
{ {
do do
{ {
#say("thanksbye"); #say("thanks_bye");
} }
transitions transitions
...@@ -175,7 +188,7 @@ node thanksbye ...@@ -175,7 +188,7 @@ node thanksbye
end_conversation: goto end_conversation; end_conversation: goto end_conversation;
} }
} }
node cantalk node can_talk
{ {
do do
{ {
...@@ -185,11 +198,11 @@ node cantalk ...@@ -185,11 +198,11 @@ node cantalk
} }
transitions transitions
{ {
positive: goto helpfulpos on #messageHasSentiment("positive"); positive: goto helpful_pos on #messageHasSentiment("positive");
negative: goto helpfulneg on #messageHasSentiment("negative"); negative: goto helpful_neg on #messageHasSentiment("negative");
} }
} }
node canttalkrn //pair1 node cant_talk_rn //pair1
{ {
do do
{ {
......
...@@ -250,6 +250,8 @@ ...@@ -250,6 +250,8 @@
"text": "Благодарим вас за уделенное время! Остаемся на связи!" "text": "Благодарим вас за уделенное время! Остаемся на связи!"
} }
], ],
"greeting":[ "greeting":[
{ {
"text": "Добрый день, меня зовут Алина, я ассистент Азамата. Буквально на минутку, позволите?" "text": "Добрый день, меня зовут Алина, я ассистент Азамата. Буквально на минутку, позволите?"
...@@ -290,7 +292,12 @@ ...@@ -290,7 +292,12 @@
"text": "Продиктуйте, пожалуйста данные, куда я могу отправить промокод на трехдневное обучение в нашей Академии и скидку на подписку Аналитики ХантерСейл." "text": "Продиктуйте, пожалуйста данные, куда я могу отправить промокод на трехдневное обучение в нашей Академии и скидку на подписку Аналитики ХантерСейл."
} }
], ],
"thanksbye":[ "thanks_bye":[
{
"text":"Благодарю за уделенное время. Всего доброго."
}
],
"thanks_bye_2":[
{ {
"text":"Благодарю за уделенное время. Всего доброго." "text":"Благодарю за уделенное время. Всего доброго."
} }
...@@ -304,8 +311,14 @@ ...@@ -304,8 +311,14 @@
{ {
"text":"Благодарю за уделенное время. Мы свяжемся с Вами позднее. Всего доброго, досвидания" "text":"Благодарю за уделенное время. Мы свяжемся с Вами позднее. Всего доброго, досвидания"
} }
],
"thanks_for_time_2":[
{
"text":"Поняла Вас. Благодарю за уделенное время, всего доброго."
}
] ]
}, },
"types": {}, "types": {},
"macros": { "macros": {
"hello": {}, "hello": {},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!