Commit 849e3169 by Xander Fox

правки скриптов

1 parent e2da8656
Showing with 10 additions and 9 deletions
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
}, },
"decline": { "decline": {
"includes": [ "includes": [
"нет",
"хватит", "хватит",
"не надо", "не надо",
"не нужно", "не нужно",
...@@ -555,7 +556,7 @@ ...@@ -555,7 +556,7 @@
"send_on_mail": { "send_on_mail": {
"includes": [ "includes": [
"Отправьте кп на почту", "Отправьте кп на почту",
"Скиньте на почти", "Скиньте на почту",
"На емейл отправьте", "На емейл отправьте",
"Кидай на почту, потом посмотрю", "Кидай на почту, потом посмотрю",
"Отправляй на емейл", "Отправляй на емейл",
......
...@@ -75,10 +75,10 @@ node caller_id ...@@ -75,10 +75,10 @@ node caller_id
transitions transitions
{ {
bot: goto its_machine on #messageHasAnyIntent(["robot_marker", "answering_machine"]); bot: goto its_machine on #messageHasAnyIntent(["robot_marker", "answering_machine"]);
positive: goto presentation on #messageHasAnyIntent(["accept" ,"agree"], "positive"); positive: goto presentation on #messageHasAnyIntent(["accept" ,"agree"]) || #messageHasSentiment("positive");
what_question: goto presentation on #messageHasIntent("what_question"); what_question: goto presentation on #messageHasIntent("what_question");
cant_talk: goto letme_40sec on #messageHasAnyIntent(["cant_talk_rn", "call_later", "decline"]); cant_talk: goto letme_40sec on #messageHasAnyIntent(["cant_talk_rn", "call_later", "decline"]);
time: goto presentation on timeout 2000; time: goto presentation on timeout 5000;
} }
onexit onexit
{ {
...@@ -101,8 +101,8 @@ node presentation ...@@ -101,8 +101,8 @@ node presentation
} }
transitions transitions
{ {
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"], "positive"); positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]) || #messageHasSentiment("positive");
negative: goto yandex_guaranteed on #messageHasIntent("decline", "negative"); negative: goto yandex_guaranteed on #messageHasIntent("decline") || #messageHasSentiment("negative");
} }
onexit onexit
{ {
...@@ -123,8 +123,8 @@ node letme_40sec ...@@ -123,8 +123,8 @@ node letme_40sec
} }
transitions transitions
{ {
positive: goto presentation on #messageHasAnyIntent(["accept", "agree"], "positive"); positive: goto presentation on #messageHasAnyIntent(["accept", "agree"]) || #messageHasSentiment("positive");
negative: goto call_later on #messageHasAnyIntent(["decline", "not_interested"], "negative"); negative: goto call_later on #messageHasAnyIntent(["decline", "not_interested"]) || #messageHasSentiment("negative");
} }
onexit onexit
{ {
...@@ -144,8 +144,8 @@ node yandex_guaranteed ...@@ -144,8 +144,8 @@ node yandex_guaranteed
} }
transitions transitions
{ {
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"], "positive"); positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]) || #messageHasSentiment("positive");
negative: goto decline on #messageHasAnyIntent(["decline", "not_interested"], "negative"); negative: goto decline on #messageHasAnyIntent(["decline", "not_interested"]) || #messageHasSentiment("negative");
} }
onexit onexit
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!