diff --git a/.gitignore b/.gitignore index a52e0e8a..97ad82fe 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ /dsUtils/target/ /dsUtils/lib/ /.idea/ +/dsLightRag/.idea diff --git a/dsLightRag/.idea/.gitignore b/dsLightRag/.idea/.gitignore deleted file mode 100644 index a7cdac76..00000000 --- a/dsLightRag/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml -# 基于编辑器的 HTTP 客户端请求 -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/dsLightRag/.idea/inspectionProfiles/profiles_settings.xml b/dsLightRag/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2da..00000000 --- a/dsLightRag/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/dsLightRag/.idea/modules.xml b/dsLightRag/.idea/modules.xml deleted file mode 100644 index 5ebd85f7..00000000 --- a/dsLightRag/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/dsLightRag/.idea/prettier.xml b/dsLightRag/.idea/prettier.xml deleted file mode 100644 index 8bc49dc7..00000000 --- a/dsLightRag/.idea/prettier.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/dsLightRag/.idea/vcs.xml b/dsLightRag/.idea/vcs.xml deleted file mode 100644 index 2e3f6920..00000000 --- a/dsLightRag/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/dsLightRag/Start.py b/dsLightRag/Start.py index 27e2b0b3..584315f5 100644 --- a/dsLightRag/Start.py +++ b/dsLightRag/Start.py @@ -57,7 +57,7 @@ async def rag(request: fastapi.Request): user_prompt = "\n 1、不要输出参考资料 或者 References !" # user_prompt = "\n 1、不要输出参考资料 或者 References !" user_prompt = "\n 2、资料中提供化学反应方程式的,一定要严格按提供的Latex公式输出,绝对不允许对Latex公式进行修改 !" - user_prompt = user_prompt + "\n 3、如果资料中提供了图片的,一定要严格按照原文提供图片输出,不允许省略或不输出!" + user_prompt = user_prompt + "\n 3、如果资料中提供了图片的,一定要严格按照原文提供图片输出,绝对不能省略或不输出!" # user_prompt = user_prompt + "\n 4、资料中提到的知识内容,需要判断是否与本次问题相关,不相关的绝对不要输出!" user_prompt = user_prompt + "\n 4、根据资料回答问题,可以适当拓展一下内容进行回答!" user_prompt = user_prompt + "\n 5、如果问题与提供的知识库内容不符,则明确告诉未在知识库范围内提到!" diff --git a/dsLightRag/static/ChangChun.html b/dsLightRag/static/ChangChun.html index 3c8ea3d6..9d42db8d 100644 --- a/dsLightRag/static/ChangChun.html +++ b/dsLightRag/static/ChangChun.html @@ -203,6 +203,10 @@
介绍一下师大自由校区?
+
+ 今年中考成绩690分,能上哪个高中呢? +
+ @@ -359,7 +363,7 @@ }, body: JSON.stringify({ query: query, - topic: "ShiJi", + topic: "ChangChun", mode: "hybrid", output_model: "html" }) diff --git a/dsLightRag/static/ai.html b/dsLightRag/static/ai.html index 6ba53474..a89aaa34 100644 --- a/dsLightRag/static/ai.html +++ b/dsLightRag/static/ai.html @@ -176,7 +176,12 @@

【东师理想】教育大模型

+<<<<<<< HEAD

体验一、长春市中考报考知识库

体验二、关系图谱生成

+======= +

体验一、长春市中考报考知识库

体验二、关系图谱生成

+>>>>>>> a40234c2a8c9d5798bccd9762d14980af43a8054

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

@@ -200,14 +205,16 @@
三角形中两边之和大于第三边的证明?
-
+
求证:在三角形ABC中,P为其内部任意一点。请证明:∠BPC > ∠A。
苏轼的好朋友都有谁?
苏轼的家人都有谁?
苏轼有哪些有名的诗句?
硝酸的光照分解反应?
-
氢气与氧气燃烧的现象?
+
氢气与氧气燃烧的现象? +