Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
azure-open-ai-embeddings-sales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6cbccfb2
authored
Feb 25, 2024
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加总结提示语
1 parent
3a542517
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
5 deletions
.vscode/PythonImportHelper-v2-Completion.json
code/utilities/customprompt.py
.vscode/PythonImportHelper-v2-Completion.json
View file @
6cbccfb
...
@@ -2489,7 +2489,7 @@
...
@@ -2489,7 +2489,7 @@
"kind"
:
5
,
"kind"
:
5
,
"importPath"
:
"code.utilities.customprompt"
,
"importPath"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"peekOfCode"
:
"system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
\"
{context}
\"\n
human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template=(
\"\"\"
{history}
\"\"\"
)
\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
\"
{context}
\"\n
human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
SUMMARIZE_MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template =
\"\"\"
{history}
\"\"\"
"
,
"peekOfCode"
:
"system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
\"
{context}
\"\n
human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template=(
\"\"\"
{history}
\"\"\"
)
\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
'''
\n
详细评分规则如下:满分100分,采用扣分制。
\n\t
服务规范(3分): 应使用尊称敬语接待客户并且祝贺客户喜提新车
\n\t
语气语调(5分): 针对客户的问题,不应当出现随意敷衍的回复,不应出现太多语气词,回答不支支吾吾
"
,
"detail"
:
"code.utilities.customprompt"
,
"detail"
:
"code.utilities.customprompt"
,
"documentation"
:
{}
"documentation"
:
{}
},
},
...
@@ -2498,7 +2498,7 @@
...
@@ -2498,7 +2498,7 @@
"kind"
:
5
,
"kind"
:
5
,
"importPath"
:
"code.utilities.customprompt"
,
"importPath"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"peekOfCode"
:
"human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template=(
\"\"\"
{history}
\"\"\"
)
\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
\"
{context}
\"\n
human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
SUMMARIZE_MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template =
\"\"\"
{history}
\"\"\"\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
# human_template=
\"
{context}
\"
"
,
"peekOfCode"
:
"human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template=(
\"\"\"
{history}
\"\"\"
)
\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
'''
\n
详细评分规则如下:满分100分,采用扣分制。
\n\t
服务规范(3分): 应使用尊称敬语接待客户并且祝贺客户喜提新车
\n\t
语气语调(5分): 针对客户的问题,不应当出现随意敷衍的回复,不应出现太多语气词,回答不支支吾吾
\n\t
主动耐心(9分): 主动站在客户的角度考虑问题,积极互动,没有出现任何不耐烦的情绪。
\n\t
安抚挽留(3分):
\t
针对用户不满、抱怨能换位思考,具有安抚挽留意识,能有针对性的进行安抚。
"
,
"detail"
:
"code.utilities.customprompt"
,
"detail"
:
"code.utilities.customprompt"
,
"documentation"
:
{}
"documentation"
:
{}
},
},
...
@@ -2507,7 +2507,7 @@
...
@@ -2507,7 +2507,7 @@
"kind"
:
5
,
"kind"
:
5
,
"importPath"
:
"code.utilities.customprompt"
,
"importPath"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"peekOfCode"
:
"MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template=(
\"\"\"
{history}
\"\"\"
)
\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
\"
{context}
\"\n
human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
SUMMARIZE_MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template =
\"\"\"
{history}
\"\"\"\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
# human_template=
\"
{context}
\"\n
human_template =
\"\"\"
"
,
"peekOfCode"
:
"MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template=(
\"\"\"
{history}
\"\"\"
)
\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
'''
\n
详细评分规则如下:满分100分,采用扣分制。
\n\t
服务规范(3分): 应使用尊称敬语接待客户并且祝贺客户喜提新车
\n\t
语气语调(5分): 针对客户的问题,不应当出现随意敷衍的回复,不应出现太多语气词,回答不支支吾吾
\n\t
主动耐心(9分): 主动站在客户的角度考虑问题,积极互动,没有出现任何不耐烦的情绪。
\n\t
安抚挽留(3分):
\t
针对用户不满、抱怨能换位思考,具有安抚挽留意识,能有针对性的进行安抚。
\n\t
倾听理解(4分): 用户表述清晰的情况下,要适当给与反馈以及认可,不能进行强烈反驳,然后引导至正向话题,未出现重复询问或重复确认
"
,
"detail"
:
"code.utilities.customprompt"
,
"detail"
:
"code.utilities.customprompt"
,
"documentation"
:
{}
"documentation"
:
{}
},
},
...
@@ -2516,7 +2516,7 @@
...
@@ -2516,7 +2516,7 @@
"kind"
:
5
,
"kind"
:
5
,
"importPath"
:
"code.utilities.customprompt"
,
"importPath"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"description"
:
"code.utilities.customprompt"
,
"peekOfCode"
:
"system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
\"
{context}
\"\n
human_message_prompt = HumanMessagePromptTemplate.from_template(human_template)
\n
SUMMARIZE_MESSAGE_LIST = [system_message_prompt,human_message_prompt]
\n
template =
\"\"\"
{history}
\"\"\"\n
system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
# human_template=
\"
{context}
\"\n
human_template =
\"\"\"\n
身份:
\n
作为购车客户的AI,与4S店销售人员进行对话。对话风格尽量自然、简短,每次询问的信息点不超过2个
。"
,
"peekOfCode"
:
"system_message_prompt = SystemMessagePromptTemplate.from_template(template)
\n
human_template=
'''
\n
详细评分规则如下:满分100分,采用扣分制。
\n\t
服务规范(3分): 应使用尊称敬语接待客户并且祝贺客户喜提新车
\n\t
语气语调(5分): 针对客户的问题,不应当出现随意敷衍的回复,不应出现太多语气词,回答不支支吾吾
\n\t
主动耐心(9分): 主动站在客户的角度考虑问题,积极互动,没有出现任何不耐烦的情绪。
\n\t
安抚挽留(3分):
\t
针对用户不满、抱怨能换位思考,具有安抚挽留意识,能有针对性的进行安抚。
\n\t
倾听理解(4分): 用户表述清晰的情况下,要适当给与反馈以及认可,不能进行强烈反驳,然后引导至正向话题,未出现重复询问或重复确认
\n\t
表达能力(4分):
\t
表达清晰、流利,用词恰当、严谨。未出现口头语(如 '额'、'这个'、'那个'、'不对'、'你错了' 等),同时可以很好的把握说话的节奏
\n\t
引导思路(10分): 应对用户问题,按照正常流程,流畅的完成整个对话过程,没有出现无效沟通和处理用户问题拖沓的情况。主导话语权,引导思路。不被客户带偏节奏,或话术逻辑不清等
。"
,
"detail"
:
"code.utilities.customprompt"
,
"detail"
:
"code.utilities.customprompt"
,
"documentation"
:
{}
"documentation"
:
{}
},
},
...
...
code/utilities/customprompt.py
View file @
6cbccfb
...
@@ -104,7 +104,48 @@ MESSAGE_LIST = [system_message_prompt,human_message_prompt]
...
@@ -104,7 +104,48 @@ MESSAGE_LIST = [system_message_prompt,human_message_prompt]
template
=
(
"""{history}"""
)
template
=
(
"""{history}"""
)
system_message_prompt
=
SystemMessagePromptTemplate
.
from_template
(
template
)
system_message_prompt
=
SystemMessagePromptTemplate
.
from_template
(
template
)
human_template
=
"{context}"
human_template
=
'''
详细评分规则如下:满分100分,采用扣分制。
服务规范(3分): 应使用尊称敬语接待客户并且祝贺客户喜提新车
语气语调(5分): 针对客户的问题,不应当出现随意敷衍的回复,不应出现太多语气词,回答不支支吾吾
主动耐心(9分): 主动站在客户的角度考虑问题,积极互动,没有出现任何不耐烦的情绪。
安抚挽留(3分): 针对用户不满、抱怨能换位思考,具有安抚挽留意识,能有针对性的进行安抚。
倾听理解(4分): 用户表述清晰的情况下,要适当给与反馈以及认可,不能进行强烈反驳,然后引导至正向话题,未出现重复询问或重复确认
表达能力(4分): 表达清晰、流利,用词恰当、严谨。未出现口头语(如 '额'、'这个'、'那个'、'不对'、'你错了' 等),同时可以很好的把握说话的节奏
引导思路(10分): 应对用户问题,按照正常流程,流畅的完成整个对话过程,没有出现无效沟通和处理用户问题拖沓的情况。主导话语权,引导思路。不被客户带偏节奏,或话术逻辑不清等。
举例说明(7分): 多举例说明,增加客户理解。如手机,口红,包包等。
随机应变(5分): 随机应变能力,对客户提出的刁钻问题的应对情况。建议提出具体要求,设定评分项【例如:客户问:保养时是否可以上门取车进行保养?驻店人员回答:我是新来公司的,对这方面业务不是很了解】"
业务熟练度(5分): 流畅完成整个常规标准介绍业务流程,高效的完成业务介绍
产品介绍完整性(10分): 确认客户对产品介绍的理解,如客户有需要,能详细讲解各个配件或模块的特性质保维修价格等
业务流程完整性(15分):
整体业务流程应该参考如下:
a.自我介绍
b.提前了解客户购买车型,价格以及版本、是否全款/贷款,不能向客户反向确认
c.耐心讲解新车使用注意事项 其中包括:新车磨合、熟悉车辆加速, 空调、热泵使用, 充电注意事项, 转向注意事项, 暴力驾驶等相关内容
d.介绍常规保养规范 其中包括:首保、小保、中保相关收费标准以及项目
e.介绍官方质保内容以及质保方式 其中包括:质保范围(三电质保、整车质保),易损件质保以及更换周期说明
f.介绍延保升级套餐/权益服务(原厂/广联) 其中包括:讲解延保升级/延保套餐/权益的好处
g.及时收款,出保单合同
h.转介客户至下一步骤的服务专员
i.主动留联系方式,方便后期解答客户
价值提供(10分): 通过举例测算作为示例,为客户算清价值点
销售技巧(10分): 通过测算以及介绍促使客户认可延保业务并成交
另外存在加分机制,存在如下情况则在上述得分基础上加上指定的分数:
1、套餐延保产品销售成功加5分(单延保不加分)
2、业务沟通时间,越短时间(小于10分钟)成交则加5分
另外存在特殊扣分机制,存在如下情况则在上述得分基础上减去指定的分数:
问题解决类(5分): 消极、敷衍或推诿对待用户的需求和提问,造成用户问题未解决 或者 始终没有正确理解用户的问题,答非所问 或者 避免用户对公司产生误解,或者有负面、不良的印象;
信息安全类(5分): 员工私自询问用户私密信息,例:账号密码、身份证号码、银行卡号等或者存在透露公司内部信息,造成客户投诉,且情节严重的。
服务投诉类(5分): 因员工态度强势、恶劣、嘲讽、辱骂,造成用户体验感差,甚至投诉;
服务禁语(5分) : 无任何影响客户感受的服务禁语(如反问、责问、讽刺、不恰当的比喻、消极等语言)。
特殊敏感类(5分): 列举故障的频发性,描述客户驾驶技术差
请按照对各个评估项目进行打分,给出每个单项的分数和总的分数 并给出具体理由和建议
如下为一段实际的话术:
{context}
'''
human_message_prompt
=
HumanMessagePromptTemplate
.
from_template
(
human_template
)
human_message_prompt
=
HumanMessagePromptTemplate
.
from_template
(
human_template
)
SUMMARIZE_MESSAGE_LIST
=
[
system_message_prompt
,
human_message_prompt
]
SUMMARIZE_MESSAGE_LIST
=
[
system_message_prompt
,
human_message_prompt
]
...
...
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