Commit 64e11e1c by softwhiskey8

0.1

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