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 0abc7160
authored
Sep 28, 2022
by
Pavel Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
правки детских болезней
1 parent
e035443e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
app/intents.json
app/main.dsl
app/intents.json
View file @
0abc716
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
"да интересно"
,
"да интересно"
,
"с огромным удовольствием"
,
"с огромным удовольствием"
,
"конечно"
,
"конечно"
,
"очень полезно"
"очень полезно"
,
"ну да давайте ладно поговорим с вами"
],
],
"excludes"
:[
"excludes"
:[
"але"
,
"але"
,
...
@@ -140,7 +141,8 @@
...
@@ -140,7 +141,8 @@
"не посмотрел"
,
"не посмотрел"
,
"не посмотрела"
,
"не посмотрела"
,
"я даже не смотрела"
,
"я даже не смотрела"
,
"у меня интернет что то обрываться"
"у меня интернет что то обрываться"
,
"у меня не получилось к сожалению вебинар посмотреть на работе очень много работы поэтому как то мне не успела я"
],
],
"excludes"
:[]
"excludes"
:[]
},
},
...
...
app/main.dsl
View file @
0abc716
...
@@ -3,6 +3,7 @@ import "commonReactions/all.dsl";
...
@@ -3,6 +3,7 @@ import "commonReactions/all.dsl";
context {
context {
input phone: string;
input phone: string;
input caller: string;
input caller: string;
//input waiting: number;
output cjm: string[] = [];
output cjm: string[] = [];
output need_ask_name: boolean = true;
output need_ask_name: boolean = true;
...
@@ -15,6 +16,7 @@ context {
...
@@ -15,6 +16,7 @@ context {
output another_messager: string ="";
output another_messager: string ="";
output another_phone_number: string = "";
output another_phone_number: string = "";
output phone_suffix: string = "";
output phone_suffix: string = "";
output conversation_end: number = 0;
}
}
external function numbers_from_text(text: string): string;
external function numbers_from_text(text: string): string;
...
@@ -100,7 +102,7 @@ node caller_id
...
@@ -100,7 +102,7 @@ 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"]) || #messageHasSentiment("negative");
cantalk: goto can_talk on #messageHasAnyIntent(["accept", "can_talk"]) || #messageHasSentiment("positive");
cantalk: goto can_talk on #messageHasAnyIntent(["accept", "can_talk"]) || #messageHasSentiment("positive");
}
}
...
@@ -226,7 +228,7 @@ node no_whatsapp
...
@@ -226,7 +228,7 @@ node no_whatsapp
{
{
//Продиктуйте, пожалуйста данные, куда я могу отпр промокод
//Продиктуйте, пожалуйста данные, куда я могу отпр промокод
set $cjm = external performed_stage($cjm, "no_whatsapp");
set $cjm = external performed_stage($cjm, "no_whatsapp");
#say
Text
("give_contacts");
#say("give_contacts");
var result = blockcall SkipMessagesBlock();
var result = blockcall SkipMessagesBlock();
wait*;
wait*;
}
}
...
...
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