Spaces:
Sleeping
Sleeping
Commit
•
405ecf5
1
Parent(s):
0ab2d88
需要提示词
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def web_loader(file):
|
|
118 |
# The prompt here should take as an input variable the
|
119 |
# `document_variable_name`
|
120 |
prompt = PromptTemplate.from_template(
|
121 |
-
"""
|
122 |
请用中文回答。
|
123 |
下边是我给你提供的文档,其中文档格式都是一问一答,不允许组装多个答案回答一个问题,并且问题答案也完全来自所提供的回答:
|
124 |
{context}
|
|
|
118 |
# The prompt here should take as an input variable the
|
119 |
# `document_variable_name`
|
120 |
prompt = PromptTemplate.from_template(
|
121 |
+
"""你是资深的技术支持工程师,请使用提供给你的文档内容去恢复客户问题,不需要编造或者虚构答案,也不需要回答文档之外的内容。
|
122 |
请用中文回答。
|
123 |
下边是我给你提供的文档,其中文档格式都是一问一答,不允许组装多个答案回答一个问题,并且问题答案也完全来自所提供的回答:
|
124 |
{context}
|