Commit 3fc414c3 by Полина Бел

правки из боевого: перенесены интенты, поправлены переходы по интентам

1 parent f870c16c
Showing with 5 additions and 6 deletions
......@@ -83,10 +83,10 @@ node caller_id
transitions
{
//end_conversation: goto end_conversation on true;
canttalkrn: goto cant_talk_rn on #messageHasAnyIntent(["decline", "cant_talk_rn"]) || #messageHasSentiment("negative");
canttalkrn: goto cant_talk_rn on #messageHasAnyIntent(["decline", "cant_talk_rn", "potential_call_later"]) || #messageHasSentiment("negative");
cantalk: goto can_talk on #messageHasAnyIntent(["accept", "can_talk"]) || #messageHasSentiment("positive");
whoyouare: goto who_you_are on #messageHasIntent("who_you_are");
gift: goto gift on #messageHasIntent("what_you_want");
gift: goto gift on #messageHasAnyIntent(["what_you_want", "what_do_you_want"]);
}
}
......@@ -106,7 +106,7 @@ node wait_choice
allready_sent_promo: goto allready_sent_promo on #messageHasIntent("allready_sent_promo");
is_studing_free: goto is_studing_free on #messageHasIntent("studing_cost");
options: goto options on #messageHasIntent("what_options");
positive: goto send_it on #messageHasSentiment("positive") || #messageHasIntent("send_it") || #messageHasIntent("another_messangers");
positive: goto send_it on #messageHasSentiment("positive") || #messageHasAnyIntent(["send_it", "another_messangers", "what_options"]);
negative: goto dont_use on #messageHasSentiment("negative") || #messageHasIntent("decline");
}
}
......@@ -436,9 +436,8 @@ node can_talk //могу говорить
}
transitions
{
positive: goto helpful_pos on #messageHasSentiment("positive") && !#messageHasIntent("ididnt_watch") || #messageHasIntent("accept") && !#messageHasIntent("ididnt_watch");
negative: goto helpful_neg on (#messageHasSentiment("negative") || #messageHasAnyIntent(["decline", "did_not_liked", "not_really"])) && !#messageHasIntent("ididnt_watch");
didnt_whatc: goto not_present on #messageHasIntent("ididnt_watch");
positive: goto helpful_pos on (#messageHasSentiment("positive")|| #messageHasAnyIntent(["accept", "what_interested"])) && !#messageHasIntent("ididnt_watch");
negative: goto helpful_neg on #messageHasAnyIntent(["did_not_liked", "not_really"]) && !#messageHasIntent("ididnt_watch"); didnt_whatc: goto not_present on #messageHasIntent("ididnt_watch");
dont_remember: goto dont_remember on #messageHasIntent("dont_remember");
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!