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 1bc79ccc
authored
Aug 07, 2023
by
Kulkova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
добавила статусы
1 parent
780780fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
32 deletions
app/main.dsl
app/main.dsl
View file @
1bc79cc
...
@@ -10,7 +10,7 @@ context {
...
@@ -10,7 +10,7 @@ context {
output conversation_stop: number = 0;
output conversation_stop: number = 0;
output template_id: number = 1;
output template_id: number = 1;
output conversation_status: string = "normal";
output conversation_status: string = "normal";
output conversation_result: string = "
Нет ответа
";
output conversation_result: string = "
";
output time: number = 0;
output time: number = 0;
// Сохраняемая информация по клиенту
// Сохраняемая информация по клиенту
...
@@ -116,26 +116,6 @@ node cantalk
...
@@ -116,26 +116,6 @@ node cantalk
set $conversation_result = "автоответчик";
set $conversation_result = "автоответчик";
digression disable {machine};
digression disable {machine};
}
}
positive: do
{
set $conversation_result = "";
digression disable {machine};
}
what_question: do
{
set $conversation_result = "";
digression disable {machine};
}
cant_talk: do
{
set $conversation_result = "перезвонить";
digression disable {machine};
}
time: do
{
set $conversation_result = "";
digression disable {machine};
}
}
}
}
}
...
@@ -156,6 +136,11 @@ node presentation
...
@@ -156,6 +136,11 @@ node presentation
}
}
onexit
onexit
{
{
positive: do
{
set $conversation_result = "согласие";
digression disable {machine};
}
}
}
}
}
...
@@ -176,9 +161,6 @@ node letme_40sec
...
@@ -176,9 +161,6 @@ node letme_40sec
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "";
}
}
}
}
}
...
@@ -199,6 +181,9 @@ node yandex_guaranteed
...
@@ -199,6 +181,9 @@ node yandex_guaranteed
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -259,10 +244,6 @@ node acception
...
@@ -259,10 +244,6 @@ node acception
}
}
onexit
onexit
{
{
do_before_exit: do
{
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -281,10 +262,6 @@ node decline
...
@@ -281,10 +262,6 @@ node decline
}
}
onexit
onexit
{
{
do_before_exit: do
{
set $conversation_result = "действий не требуется";
}
}
}
}
}
...
@@ -363,6 +340,15 @@ digression what_company
...
@@ -363,6 +340,15 @@ digression what_company
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]);
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]);
negative: goto yandex_guaranteed on #messageHasAnyIntent(["not_interested", "decline"]);
negative: goto yandex_guaranteed on #messageHasAnyIntent(["not_interested", "decline"]);
}
}
onexit
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
digression who_are_you
digression who_are_you
...
@@ -391,6 +377,13 @@ digression who_are_you
...
@@ -391,6 +377,13 @@ digression who_are_you
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]);
positive: goto last_word on #messageHasAnyIntent(["accept", "agree"]);
negative: goto yandex_guaranteed on #messageHasAnyIntent(["not_interested", "decline"]);
negative: goto yandex_guaranteed on #messageHasAnyIntent(["not_interested", "decline"]);
}
}
onexit
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
digression city_address
digression city_address
...
@@ -413,6 +406,9 @@ digression city_address
...
@@ -413,6 +406,9 @@ digression city_address
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -437,6 +433,9 @@ digression what_price
...
@@ -437,6 +433,9 @@ digression what_price
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -461,6 +460,9 @@ digression send_on_mail
...
@@ -461,6 +460,9 @@ digression send_on_mail
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -485,6 +487,9 @@ digression guarantee
...
@@ -485,6 +487,9 @@ digression guarantee
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -508,6 +513,9 @@ digression where_number
...
@@ -508,6 +513,9 @@ digression where_number
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -533,6 +541,9 @@ digression what_conditions
...
@@ -533,6 +541,9 @@ digression what_conditions
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -557,6 +568,9 @@ digression what_service
...
@@ -557,6 +568,9 @@ digression what_service
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -581,6 +595,9 @@ digression what_difference
...
@@ -581,6 +595,9 @@ digression what_difference
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -605,6 +622,9 @@ digression already_using
...
@@ -605,6 +622,9 @@ digression already_using
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -629,6 +649,9 @@ digression not_social
...
@@ -629,6 +649,9 @@ digression not_social
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -653,6 +676,9 @@ digression our_site
...
@@ -653,6 +676,9 @@ digression our_site
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
@@ -677,6 +703,9 @@ digression alternatives
...
@@ -677,6 +703,9 @@ digression alternatives
}
}
onexit
onexit
{
{
positive: do {
set $conversation_result = "согласие";
}
}
}
}
}
...
...
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