main
HuangHai 7 days ago
parent f960918464
commit bf0d976e10

@ -57,8 +57,9 @@ async def rag(request: fastapi.Request):
if output_model == "txt":
user_prompt = "1、资料中提供化学反应方程式的一定要严格按提供的Latex公式输出绝对不允许对Latex公式进行修改 "
user_prompt = user_prompt + "\n 2、如果资料中提供了图片的一定要严格按照原文提供图片输出绝对不能省略或不输出"
user_prompt = user_prompt + "\n 3、如果问题与提供的知识库内容不符则明确告诉未在知识库范围内提到"
user_prompt = user_prompt + "\n 4、发现输出内容中包含Latex公式的一定要检查是不是包含了$$或$的包含符号,不能让Latex无包含符号出现"
user_prompt = user_prompt + "\n 3、知识库中存在的问题严格按知识库中的内容回答不允许扩展"
user_prompt = user_prompt + "\n 4、如果问题与提供的知识库内容不符则明确告诉未在知识库范围内提到"
user_prompt = user_prompt + "\n 5、发现输出内容中包含Latex公式的一定要检查是不是包含了$$或$的包含符号,不能让Latex无包含符号出现"
elif output_model == 'html':
user_prompt = """
我需要一个专业的交互式数据可视化数据资料我将提供你也可以根据自己了解的信息进行补充

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save