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