Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Alexander
/
alex-hunter-sales-dev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3fc414c3
authored
Oct 14, 2022
by
Полина Бел
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
правки из боевого: перенесены интенты, поправлены переходы по интентам
1 parent
f870c16c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
app/intents.json
app/main.dsl
app/intents.json
View file @
3fc414c
This diff is collapsed.
Click to expand it.
app/main.dsl
View file @
3fc414c
...
@@ -83,10 +83,10 @@ node caller_id
...
@@ -83,10 +83,10 @@ node caller_id
transitions
transitions
{
{
//end_conversation: goto end_conversation on true;
//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");
cantalk: goto can_talk on #messageHasAnyIntent(["accept", "can_talk"]) || #messageHasSentiment("positive");
whoyouare: goto who_you_are on #messageHasIntent("who_you_are");
whoyouare: goto who_you_are on #messageHasIntent("who_you_are");
gift: goto gift on #messageHas
Intent("what_you_want"
);
gift: goto gift on #messageHas
AnyIntent(["what_you_want", "what_do_you_want"]
);
}
}
}
}
...
@@ -106,7 +106,7 @@ node wait_choice
...
@@ -106,7 +106,7 @@ node wait_choice
allready_sent_promo: goto allready_sent_promo on #messageHasIntent("allready_sent_promo");
allready_sent_promo: goto allready_sent_promo on #messageHasIntent("allready_sent_promo");
is_studing_free: goto is_studing_free on #messageHasIntent("studing_cost");
is_studing_free: goto is_studing_free on #messageHasIntent("studing_cost");
options: goto options on #messageHasIntent("what_options");
options: goto options on #messageHasIntent("what_options");
positive: goto send_it on #messageHasSentiment("positive") || #messageHas
Intent("send_it") || #messageHasIntent("another_messangers"
);
positive: goto send_it on #messageHasSentiment("positive") || #messageHas
AnyIntent(["send_it", "another_messangers", "what_options"]
);
negative: goto dont_use on #messageHasSentiment("negative") || #messageHasIntent("decline");
negative: goto dont_use on #messageHasSentiment("negative") || #messageHasIntent("decline");
}
}
}
}
...
@@ -436,9 +436,8 @@ node can_talk //могу говорить
...
@@ -436,9 +436,8 @@ node can_talk //могу говорить
}
}
transitions
transitions
{
{
positive: goto helpful_pos on #messageHasSentiment("positive") && !#messageHasIntent("ididnt_watch") || #messageHasIntent("accept") && !#messageHasIntent("ididnt_watch");
positive: goto helpful_pos on (#messageHasSentiment("positive")|| #messageHasAnyIntent(["accept", "what_interested"])) && !#messageHasIntent("ididnt_watch");
negative: goto helpful_neg on (#messageHasSentiment("negative") || #messageHasAnyIntent(["decline", "did_not_liked", "not_really"])) && !#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");
didnt_whatc: goto not_present on #messageHasIntent("ididnt_watch");
dont_remember: goto dont_remember on #messageHasIntent("dont_remember");
dont_remember: goto dont_remember on #messageHasIntent("dont_remember");
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment