diff --git a/dsLightRag/Config/__pycache__/Config.cpython-310.pyc b/dsLightRag/Config/__pycache__/Config.cpython-310.pyc index c551f7f6..73bb1c97 100644 Binary files a/dsLightRag/Config/__pycache__/Config.cpython-310.pyc and b/dsLightRag/Config/__pycache__/Config.cpython-310.pyc differ diff --git a/dsLightRag/Start.py b/dsLightRag/Start.py index 70e05543..576c7231 100644 --- a/dsLightRag/Start.py +++ b/dsLightRag/Start.py @@ -52,9 +52,8 @@ 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、如果问题与提供的知识库内容不符,则明确告诉未在知识库范围内提到!" - user_prompt = user_prompt + "\n 5、发现输出内容中包含Latex公式的,一定要检查是不是包含了$$或$的包含符号,不能让Latex无包含符号出现!" + user_prompt = user_prompt + "\n 3、如果问题与提供的知识库内容不符,则明确告诉未在知识库范围内提到!" + user_prompt = user_prompt + "\n 4、发现输出内容中包含Latex公式的,一定要检查是不是包含了$$或$的包含符号,不能让Latex无包含符号出现!" elif output_model == 'html': user_prompt = """ 我需要一个专业的交互式数据可视化,数据资料我将提供,你也可以根据自己了解的信息进行补充, diff --git a/dsLightRag/Util/__pycache__/LightRagUtil.cpython-310.pyc b/dsLightRag/Util/__pycache__/LightRagUtil.cpython-310.pyc index 9bc1e54d..5c6417c9 100644 Binary files a/dsLightRag/Util/__pycache__/LightRagUtil.cpython-310.pyc and b/dsLightRag/Util/__pycache__/LightRagUtil.cpython-310.pyc differ diff --git a/dsLightRag/Util/__pycache__/PostgreSQLUtil.cpython-310.pyc b/dsLightRag/Util/__pycache__/PostgreSQLUtil.cpython-310.pyc index fb723777..6868d4a2 100644 Binary files a/dsLightRag/Util/__pycache__/PostgreSQLUtil.cpython-310.pyc and b/dsLightRag/Util/__pycache__/PostgreSQLUtil.cpython-310.pyc differ diff --git a/dsLightRag/static/Chemistry.html b/dsLightRag/static/Chemistry.html new file mode 100644 index 00000000..94b7a915 --- /dev/null +++ b/dsLightRag/static/Chemistry.html @@ -0,0 +1,349 @@ + + + + + + 【化学】教学大模型 + + + + +
+

【化学】教育大模型

+
+
+

请在下方输入您的问题,答案将在此处显示

+

您也可以点击"示例问题"快速体验

+
+
+ +
+ + +
+
+

已收集问题示例

+
+
硝酸的光照分解反应?
+
氢气与氧气燃烧的现象? +
+
+
+
+
+ + + + +
+ + + + + + \ No newline at end of file diff --git a/dsLightRag/static/SuShi.html b/dsLightRag/static/SuShi.html new file mode 100644 index 00000000..b663702c --- /dev/null +++ b/dsLightRag/static/SuShi.html @@ -0,0 +1,351 @@ + + + + + + 【苏轼】教学大模型 + + + + +
+

【苏轼】教育大模型

+ +
+
+

请在下方输入您的问题,答案将在此处显示

+

您也可以点击"示例问题"快速体验

+
+
+ +
+ + +
+
+

已收集问题示例

+
+
苏轼的好朋友都有谁?
+
苏轼的家人都有谁?
+
苏轼有哪些有名的诗句?
+
+
+
+
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/dsLightRag/static/ai.html b/dsLightRag/static/ai.html index 073a631f..022e2657 100644 --- a/dsLightRag/static/ai.html +++ b/dsLightRag/static/ai.html @@ -180,185 +180,11 @@

【知识库示例】、小学数学
【网络爬虫示例】、长春市教育信息资讯库
【关系图谱示例】、少年读史记
- 【进行中,知识图谱示例】、小学数学知识图谱 + 【进行中,知识图谱示例】、小学数学知识图谱
+ 【苏轼专题】
+ 【化学专题】

- -
-
-

请在下方输入您的问题,答案将在此处显示

-

您也可以点击"示例问题"快速体验

-
-
- -
- - -
-
-

已收集问题示例

-
-
苏轼的好朋友都有谁?
-
苏轼的家人都有谁?
-
苏轼有哪些有名的诗句?
-
硝酸的光照分解反应?
-
氢气与氧气燃烧的现象? -
-
-
-
-
- - - - - - - - \ No newline at end of file