'commit'
This commit is contained in:
@@ -46,7 +46,7 @@ async def get_xueban_response_async(query_text: str, stream: bool = True):
|
||||
- 每次回答不要太长,控制在3分钟以内
|
||||
"""
|
||||
# 打开文件读取知识内容
|
||||
f = open(r"D:\dsWork\dsProject\dsLightRag\static\WanYouYinLi.txt", "r", encoding="utf-8")
|
||||
f = open(r"D:\dsWork\dsProject\dsLightRag\static\YunXiao.txt", "r", encoding="utf-8")
|
||||
zhishiContent = f.read()
|
||||
zhishiContent = "选择作答的相应知识内容:" + zhishiContent + "\n"
|
||||
query_text = zhishiContent + "下面是用户提的问题:" + query_text
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user