Commit 072038bd by Pavel Fedorov

сценарий собран, проверка запуска

1 parent eb12ee3f
......@@ -168,6 +168,24 @@
"excludes":[
"я не знаю"
]
},
"ididnt_watch": {
"includes": [
"ну я просто не полностью булановой бинари",
"у меня вырубило интернет",
"я не был",
"я не была",
"не посещала",
"не посещал",
"я иллюминаторы не посещала",
"просто оставляла данные хотела",
"не я посещал",
"не посмотрел",
"не посмотрела",
"я даже не смотрела",
"у меня интернет что то обрываться"
],
"excludes":[]
}
}
}
\ No newline at end of file
......@@ -102,9 +102,11 @@ node helpful_pos
}
transitions
{
positive: goto send_it on #messageHasSentiment("positive") || #messageHasIntent("send_it");
negative: goto dont_need on #messageHasSentiment("negative");
}
}
node helpful_neg //pair2
{
do
......@@ -118,6 +120,7 @@ node helpful_neg //pair2
understood: goto understood on true;
}
}
node understood //pair3
{
do
......@@ -132,6 +135,7 @@ node understood //pair3
negative: goto dont_need on #messageHasSentiment("negative");
}
}
node send_it
{
do
......@@ -146,6 +150,7 @@ node send_it
negative: goto no_whatsapp on #messageHasSentiment("negative") || #messageHasIntent("no_whatsapp");
}
}
node dont_need
{
do
......@@ -159,6 +164,7 @@ node dont_need
negative: goto thanks_bye_2 on #messageHasSentiment("negative") || #messageHasIntent("not_interested");
}
}
node thanks_bye_2
{
do
......@@ -172,6 +178,7 @@ node thanks_bye_2
do_before_exit: goto do_before_exit;
}
}
node yes_whatsapp
{
do
......@@ -184,6 +191,7 @@ node yes_whatsapp
end_conversation: goto end_conversation;
}
}
node no_whatsapp
{
do
......@@ -196,7 +204,16 @@ node no_whatsapp
{
thanks_bye: goto thanks_bye on true;
}
onexit
{
thanks_bye: do
{
var contact = #getMessageText();
set $another_phone_number = external numbers_from_text(contact);
}
}
}
node thanks_bye
{
do
......@@ -210,6 +227,7 @@ node thanks_bye
end_conversation: goto end_conversation;
}
}
node can_talk //могу говорить
{
do
......@@ -223,8 +241,72 @@ node can_talk //могу говорить
{
positive: goto helpful_pos on #messageHasSentiment("positive");
negative: goto helpful_neg on #messageHasSentiment("negative");
didnt_whatc: goto not_present on #messageHasIntent("ididnt_watch");
}
}
node not_present // Давайте проведем бесплатный Зум, где вы за полчаса
{
do
{
#say("free_zoom");
wait*;
}
transitions
{
positive: goto zoom_positive on #messageHasSentiment("positive");
negative: goto zoom_negitive on #messageHasSentiment("negative");
}
}
node zoom_positive // Ожидайте звонка. Всего доброго, до свидания!
{
do
{
#say("zoom_positive");
goto do_before_exit;
}
transitions
{
do_before_exit: goto do_before_exit;
}
}
node zoom_negitive // Подскажите, пожалуйста, а что Вас смущает?
{
do
{
#say("zoom_negative");
wait*;
}
transitions
{
retry: goto retry on true;
}
}
node retry // За полчаса мы можем показать вам точки роста вашей карточки.
{
do
{
#say("retry");
wait*;
}
transitions
{
positive: goto zoom_positive on #messageHasSentiment("positive");
negative: goto thanks_bye_2 on #messageHasSentiment("negative");
}
}
node cant_talk_rn //не могу говорить
{
do
......
......@@ -155,41 +155,7 @@
"text": "Ваше обращение принято и будет направлено на соответствующего сотрудника. В ближайшее время сотрудник Вам перезвонит. Благодарю за Ваше обращение. Всего доброго. До свидания."
}
],
"ask_company_name": [
{
"text": "Подскажите, название Вашей организации?"
}
],
"request_accepted": [
{
"text": "Ваше обращение принято и будет направлено на соответствующего сотрудника. В ближайшее время сотрудник Вам перезвонит."
}
],
"get_client_request": [
{
"text": "Опишите, пожалуйста, суть вопроса/ситуации."
}
],
"get_cell_phone": [
{
"text": "Тогда продиктуйте мобильный, что бы мы смогли 100% дозвониться Вам"
}
],
"check_is_shared": [
{
"text": "Подскажите, по этому номеру наш специалист сможет дозвониться напрямую к вам или это общий номер?"
}
],
"get_phone_suffix": [
{
"text": "Подскажите, пожалуйста, ваш добавочный номер, чтобы менеджер мог дозвониться к вам напрямую"
}
],
"get_another_phone": [
{
"text": "Продиктуете ваш контактный номер телефона"
}
],
"willcall": [
{
"text": "Оставайтесь на связи, наш менеджер свяжется с вами в течение 15 минут"
......@@ -286,6 +252,27 @@
{
"text": "Поняла Вас. Благодарю за уделенное время, всего доброго."
}
],
"free_zoom":[
{
"text": "Тогда предлагаю провести для вас бесплатный Зум, за полчаса вы освоите большинство фишек сервиса, согласны?"
}
],
"zoom_positive":[
{
"text": "Отлично! Наш менеджер свяжется с Вами для согласования даты и времени. Ожидайте звонка. Всего доброго, до свидания!"
}
],
"zoom_negative":[
{
"text": "вас что то смущает?"
}
]
,
"retry":[
{
"text": "За полчаса мы можем показать вам точки роста вашей карточки. Вы поймёте на что сделать упор. Это ни к чему не обязывает и требует всего 30 минут времени, согласны?"
}
]
},
......@@ -304,23 +291,11 @@
"yes_i_am_a_robot": {},
"is_that_all": {},
"end_conversation": {},
"something_else":{},
"im_wrighting":{},
"work_greetings": {},
"work_goodbye": {},
"ask_company_name": {},
"request_accepted": {},
"get_client_request": {},
"get_cell_phone": {},
"check_is_shared": {},
"get_phone_suffix": {},
"get_another_phone": {},
"willcall": {},
"phone_number": {},
"kontakt_nomer": {},
"thanks_foryour_time": {},
"otherposib": {},
"keep_in_touch": {}
"free_zoom":{},
"zoom_positive":{},
"zoom_negative":{},
"retry":{}
}
}
}
\ No newline at end of file
{
"node::root": {
"common.position": {
"x": 600,
"y": 0
"x": 517.9082477902639,
"y": -103.3776291578932
}
},
"node::caller_id": {
"common.position": {
"x": 573.5712618840289,
"y": 129.43367020903653
"x": 528.505811773166,
"y": 37.849045790186
}
},
"node::end_conversation": {
"common.position": {
"x": 600,
"y": 1090.3536507636595
"x": 528.7129149640887,
"y": 297.97028247987566
}
},
"node::do_before_exit": {
"common.position": {
"x": 567.9587737432382,
"y": 822.8981982625207
"x": 532.9780457429673,
"y": 434.93012407769817
}
},
"node::repeat_or_ping_hangup": {
"common.position": {
"x": 0,
"y": 415
"x": 1198.1492701147708,
"y": 232.90242370502384
}
},
"node::hello_hangup": {
"common.position": {
"x": 0,
"y": 220
"x": 1192.871079497525,
"y": 483.9095308622843
}
},
"node::dont_understand_hangup": {
"common.position": {
"x": 0,
"y": 715
"x": 1200,
"y": -195.48788147488085
}
},
"node::conversation_done": {
......@@ -79,74 +79,74 @@
},
"node::ping": {
"common.position": {
"x": 0,
"y": 315
"x": 1192.871079497525,
"y": 357.2255249379655
}
},
"node::repeat": {
"common.position": {
"x": 0,
"y": 515
"x": 1200,
"y": 100.66203654621364
}
},
"node::repeat_hangup_params": {
"common.position": {
"x": 600,
"y": 530
"x": 1200,
"y": 797.1255592747959
}
},
"node::repeat_preprocessor": {
"common.position": {
"x": 600,
"y": 475
"x": 1200,
"y": 711.9149305472893
}
},
"node::hello_preprocessor": {
"common.position": {
"x": 585.529768787269,
"y": 611.8732865379292
"x": 1200,
"y": 898.079242903782
}
},
"node::hello": {
"common.position": {
"x": 0,
"y": 115
"x": 1200,
"y": 1398.2812005686826
}
},
"node::hangup": {
"common.position": {
"x": 0,
"y": 20
"x": 1200,
"y": 1266.0393848965912
}
},
"node::dont_understand_preprocessor": {
"common.position": {
"x": 600,
"y": 370
"x": 1200,
"y": 1104.9199698844689
}
},
"node::dont_understand": {
"common.position": {
"x": 0,
"y": 810
"x": 1200,
"y": -322.1718873991997
}
},
"node::dont_understand_hangup_params": {
"common.position": {
"x": 600,
"y": 420
"x": 1200,
"y": 626.7043018197826
}
},
"node::can_hear_you": {
"common.position": {
"x": 582.4290049559694,
"y": 684.2763418631273
"x": 1200,
"y": 977.4869167758536
}
},
"node::exit_dig": {
"common.position": {
"x": 0,
"y": 615
"x": 1200,
"y": -52.69111308157926
}
},
"node::no_message": {
......@@ -238,5 +238,95 @@
"x": 2680,
"y": 425.40569848894876
}
},
"node::cant_talk_rn": {
"common.position": {
"x": 539.3895427947649,
"y": 188.10230376939322
}
},
"node::can_talk": {
"common.position": {
"x": 0,
"y": -127.6146348080104
}
},
"node::thanks_bye": {
"common.position": {
"x": -1520,
"y": -645.2734329873446
}
},
"node::no_whatsapp": {
"common.position": {
"x": -1201.493710691824,
"y": -820.6185914652003
}
},
"node::yes_whatsapp": {
"common.position": {
"x": -1200,
"y": -471.41632819016826
}
},
"node::thanks_bye_2": {
"common.position": {
"x": -920,
"y": -41.11145328245487
}
},
"node::dont_need": {
"common.position": {
"x": -920,
"y": -203.2541915207347
}
},
"node::send_it": {
"common.position": {
"x": -920,
"y": -643.093056278675
}
},
"node::understood": {
"common.position": {
"x": -600,
"y": -456.0096450099001
}
},
"node::helpful_neg": {
"common.position": {
"x": -320,
"y": -264.0282233948906
}
},
"node::helpful_pos": {
"common.position": {
"x": -320,
"y": 70.80459026304402
}
},
"node::can_hear_you_preprocessor": {
"common.position": {
"x": 1193.5743605033206,
"y": 1187.6509145454877
}
},
"node::not_present": {
"common.position": {
"x": -320,
"y": 334.9670811997074
}
},
"node::zoom_positive": {
"common.position": {
"x": -320,
"y": 479.64169381107496
}
},
"node::zoom_negitive": {
"common.position": {
"x": -320,
"y": 617.9331306990881
}
}
}
\ No newline at end of file
File mode changed
*.txt
*.log
*.debug
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!