Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Xander Fox
/
yandex-business-work
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 849e3169
authored
Jul 28, 2023
by
Xander Fox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
правки скриптов
1 parent
e2da8656
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
app/intents.json
app/main.dsl
app/intents.json
View file @
849e316
...
...
@@ -77,6 +77,7 @@
},
"decline"
:
{
"includes"
:
[
"нет"
,
"хватит"
,
"не надо"
,
"не нужно"
,
...
...
@@ -555,7 +556,7 @@
"send_on_mail"
:
{
"includes"
:
[
"Отправьте кп на почту"
,
"Скиньте на почт
и
"
,
"Скиньте на почт
у
"
,
"На емейл отправьте"
,
"Кидай на почту, потом посмотрю"
,
"Отправляй на емейл"
,
...
...
app/main.dsl
View file @
849e316
...
...
@@ -75,10 +75,10 @@ node caller_id
transitions
{
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");
cant_talk: goto letme_40sec on #messageHasAnyIntent(["cant_talk_rn", "call_later", "decline"]);
time: goto presentation on timeout
2
000;
time: goto presentation on timeout
5
000;
}
onexit
{
...
...
@@ -101,8 +101,8 @@ node presentation
}
transitions
{
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]
,
"positive");
negative: goto yandex_guaranteed on #messageHasIntent("decline"
,
"negative");
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]
) || #messageHasSentiment(
"positive");
negative: goto yandex_guaranteed on #messageHasIntent("decline"
) || #messageHasSentiment(
"negative");
}
onexit
{
...
...
@@ -123,8 +123,8 @@ node letme_40sec
}
transitions
{
positive: goto presentation on #messageHasAnyIntent(["accept", "agree"]
,
"positive");
negative: goto call_later on #messageHasAnyIntent(["decline", "not_interested"]
,
"negative");
positive: goto presentation on #messageHasAnyIntent(["accept", "agree"]
) || #messageHasSentiment(
"positive");
negative: goto call_later on #messageHasAnyIntent(["decline", "not_interested"]
) || #messageHasSentiment(
"negative");
}
onexit
{
...
...
@@ -144,8 +144,8 @@ node yandex_guaranteed
}
transitions
{
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]
,
"positive");
negative: goto decline on #messageHasAnyIntent(["decline", "not_interested"]
,
"negative");
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]
) || #messageHasSentiment(
"positive");
negative: goto decline on #messageHasAnyIntent(["decline", "not_interested"]
) || #messageHasSentiment(
"negative");
}
onexit
{
...
...
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