diff --git a/.gitignore b/.gitignore index 5d381cc..232ea0c 100644 --- a/.gitignore +++ b/.gitignore @@ -158,5 +158,9 @@ cython_debug/ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ +.idea/ + +# Project specific +ai-service/uploads/ +*.local diff --git a/ai-service-admin/.gitignore b/ai-service-admin/.gitignore new file mode 100644 index 0000000..002f89c --- /dev/null +++ b/ai-service-admin/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/ai-service-admin/index.html b/ai-service-admin/index.html new file mode 100644 index 0000000..d5e0569 --- /dev/null +++ b/ai-service-admin/index.html @@ -0,0 +1,13 @@ + + +
+ + + +运行实验后将在此显示 AI 回复
+启用流式输出后,AI 回复将实时显示
+配置和管理系统使用的大语言模型,支持多种提供者切换。配置修改后需保存才能生效。
+系统概览与数据统计
+上传文档并建立向量索引,支持 PDF、Word、TXT 等格式。
+测试检索增强生成效果,查看检索结果和 AI 响应。
+配置文本嵌入模型,用于文档向量化。
+配置大语言模型,支持 OpenAI、DeepSeek、Ollama 等。
+上传文档并建立向量索引,支持多种文档格式。
+{{ JSON.stringify(sessionDetail.trace.tools, null, 2) }}
+ 测试检索增强生成效果,查看检索结果和 AI 响应。
+{{ finalPrompt }}
+ {{ JSON.stringify(diagnostics, null, 2) }}
+