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 2b3ac17b
authored
Sep 27, 2022
by
softwhiskey8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.1
1 parent
5448f35f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
app/main.dsl
app/phrasemap.json
app/main.dsl
View file @
2b3ac17
...
...
@@ -78,10 +78,11 @@ node caller_id
}
}
node helpful_pos
//pair2
node helpful_pos
{
do
{
//Спасибо за ваше мнение! Поздравляю! Вы были...
#say("helpful_pos");
wait*;
}
...
...
@@ -94,6 +95,7 @@ node helpful_neg //pair2
{
do
{
//Подскажите, пожалуйста, что Вам не понравилось?
#say("helpful_neg");
wait*;
}
...
...
@@ -106,6 +108,7 @@ node understood //pair3
{
do
{
//Поняла Вас. Мы постараемся учесть Ваши пожел
#say("understood");
wait*;
}
...
...
@@ -119,6 +122,7 @@ node send_it
{
do
{
//Подскажите, а на этом номере есть вотсап?
#say("have_whatsapp");
wait*;
}
...
...
@@ -145,6 +149,7 @@ node thanks_bye_2
{
do
{
//Благодарю за уделенное время. Всего доброго.
#say("thanks_for_time_2");
goto do_before_exit;
}
...
...
@@ -157,6 +162,7 @@ node yes_whatsapp
{
do
{
//Отлично. Сейчас отправлю Вам промокод. Всего доброго до свидания.
#say("gonna_send_code");
}
transitions
...
...
@@ -168,6 +174,7 @@ node no_whatsapp
{
do
{
//Продиктуйте, пожалуйста данные, куда я могу отпр промокод
#sayText("give_contacts");
wait*;
}
...
...
@@ -180,6 +187,7 @@ node thanks_bye
{
do
{
//Благодарю за уделенное время. Всего доброго.
#say("thanks_bye");
}
...
...
@@ -188,10 +196,11 @@ node thanks_bye
end_conversation: goto end_conversation;
}
}
node can_talk
node can_talk
//могу говорить
{
do
{
//вы недавно посетили вебинар...
#say("how_helpful");
wait*;
...
...
@@ -202,10 +211,11 @@ node can_talk
negative: goto helpful_neg on #messageHasSentiment("negative");
}
}
node cant_talk_rn //
pair1
node cant_talk_rn //
не могу говорить
{
do
{
//благодарю досвидания (в самом начале)
#say("thanks_for_time");
}
transitions
...
...
app/phrasemap.json
View file @
2b3ac17
...
...
@@ -279,7 +279,7 @@
],
"have_whatsapp"
:[
{
"text"
:
"Подскажите, а на этом номере есть вотсап?"
"text"
:
"Подскажите, а на этом номере есть вотсап?"
}
],
"gonna_send_code"
:[
...
...
@@ -294,12 +294,12 @@
],
"thanks_bye"
:[
{
"text"
:
"Благодарю за уделенное время. Всего доброго."
"text"
:
"Благодарю за уделенное время. Всего доброго."
}
],
"thanks_bye_2"
:[
{
"text"
:
"Благодарю за уделенное время. Всего доброго."
"text"
:
"Благодарю за уделенное время. Всего доброго."
}
],
"how_helpful"
:[
...
...
@@ -309,12 +309,12 @@
],
"thanks_for_time"
:[
{
"text"
:
"Благодарю за уделенное время. Мы свяжемся с Вами позднее. Всего доброго, досвидания"
"text"
:
"Благодарю за уделенное время. Мы свяжемся с Вами позднее. Всего доброго, досвидания"
}
],
"thanks_for_time_2"
:[
{
"text"
:
"Поняла Вас. Благодарю за уделенное время, всего доброго."
"text"
:
"Поняла Вас. Благодарю за уделенное время, всего доброго."
}
]
},
...
...
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