From f3ad4526d0bd9a11882a9a56e42ba1dc7cd0b269 Mon Sep 17 00:00:00 2001 From: limin Date: Tue, 11 Feb 2025 10:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=91=E9=87=8F=E7=9F=A5?= =?UTF-8?q?=E8=AF=86=E5=BA=93url=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../knowledgebase/KnowledgeBaseServiceImpl.java | 2 +- .../src/main/resources/application-dev.yaml | 14 +++++++------- .../src/main/resources/application-local.yaml | 14 +++++++------- .../src/main/resources/application-prod.yaml | 14 +++++++------- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/knowledgebase/KnowledgeBaseServiceImpl.java b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/knowledgebase/KnowledgeBaseServiceImpl.java index afbc4dd68..95f3c5f48 100644 --- a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/knowledgebase/KnowledgeBaseServiceImpl.java +++ b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/service/knowledgebase/KnowledgeBaseServiceImpl.java @@ -111,7 +111,7 @@ public class KnowledgeBaseServiceImpl implements KnowledgeBaseService { List deleteIds = knowledgeDocumentsMapper.selectDeleteIds(updateReqVO.getId()); asyncKnowledgeBase.createKnowledgeBase(newDocuments, deleteIds); // 4.5 异步处理知识库外挂 - asyncKnowledgeBase.knowledgeEmbed(newDocuments,updateReqVO.getId()); +// asyncKnowledgeBase.knowledgeEmbed(newDocuments,updateReqVO.getId()); } else { // 5. 如果传入的文档列表为空,则删除所有关联文档 knowledgeDocumentsMapper.delete(new LambdaQueryWrapperX() diff --git a/yudao-server/src/main/resources/application-dev.yaml b/yudao-server/src/main/resources/application-dev.yaml index e117b7ae2..d6b72692c 100644 --- a/yudao-server/src/main/resources/application-dev.yaml +++ b/yudao-server/src/main/resources/application-dev.yaml @@ -205,19 +205,19 @@ llm: backend: # RAG服务 #RAG健康检查 GET - rag_health: http://rag.xhllm.xinnuojinzhi.com/health + rag_health: http://36.103.199.104:8123/health #上传并向量化 POST - rag_embed: http://rag.xhllm.xinnuojinzhi.com/embed + rag_embed: http://36.103.199.104:8123/embed #获取所有向量id GET - rag_ids: http://rag.xhllm.xinnuojinzhi.com/ids + rag_ids: http://36.103.199.104:8123/ids #根据id获取文档 GET - rag_documents: http://rag.xhllm.xinnuojinzhi.com/documents + rag_documents: http://36.103.199.104:8123/documents #根据id删除文档 DEL - rag_documents_del: http://rag.xhllm.xinnuojinzhi.com/documents + rag_documents_del: http://36.103.199.104:8123/documents #根据file_id检索向量 POST - rag_query: http://rag.xhllm.xinnuojinzhi.com/query + rag_query: http://36.103.199.104:8123/query #支持多个文件id查询向量 GET - rag_query_multiple: http://rag.xhllm.xinnuojinzhi.com/query_multiple + rag_query_multiple: http://36.103.199.104:8123/query_multiple # LLM train and service api # 训练集列表 GET diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 1d335df66..93b99496a 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -248,19 +248,19 @@ llm: backend: #### RAG服务 #RAG健康检查 GET - rag_health: http://rag.xhllm.xinnuojinzhi.com/health + rag_health: http://36.103.199.104:8123/health #上传并向量化 POST - rag_embed: http://rag.xhllm.xinnuojinzhi.com/embed + rag_embed: http://36.103.199.104:8123/embed #获取所有向量id GET - rag_ids: http://rag.xhllm.xinnuojinzhi.com/ids + rag_ids: http://36.103.199.104:8123/ids #根据id获取文档 GET - rag_documents: http://rag.xhllm.xinnuojinzhi.com/documents + rag_documents: http://36.103.199.104:8123/documents #根据id删除文档 DEL - rag_documents_del: http://rag.xhllm.xinnuojinzhi.com/documents + rag_documents_del: http://36.103.199.104:8123/documents #根据file_id检索向量 POST - rag_query: http://rag.xhllm.xinnuojinzhi.com/query + rag_query: http://36.103.199.104:8123/query #支持多个文件id查询向量 GET - rag_query_multiple: http://rag.xhllm.xinnuojinzhi.com/query_multiple + rag_query_multiple: http://36.103.199.104:8123/query_multiple #### LLM train and service api # 训练集列表 GET diff --git a/yudao-server/src/main/resources/application-prod.yaml b/yudao-server/src/main/resources/application-prod.yaml index 250b88e8e..788945e06 100644 --- a/yudao-server/src/main/resources/application-prod.yaml +++ b/yudao-server/src/main/resources/application-prod.yaml @@ -248,19 +248,19 @@ llm: backend: #### RAG服务 #RAG健康检查 GET - rag_health: http://rag.xhllm.xinnuojinzhi.com/health + rag_health: http://36.103.199.104:8123/health #上传并向量化 POST - rag_embed: http://rag.xhllm.xinnuojinzhi.com/embed + rag_embed: http://36.103.199.104:8123/embed #获取所有向量id GET - rag_ids: http://rag.xhllm.xinnuojinzhi.com/ids + rag_ids: http://36.103.199.104:8123/ids #根据id获取文档 GET - rag_documents: http://rag.xhllm.xinnuojinzhi.com/documents + rag_documents: http://36.103.199.104:8123/documents #根据id删除文档 DEL - rag_documents_del: http://rag.xhllm.xinnuojinzhi.com/documents + rag_documents_del: http://36.103.199.104:8123/documents #根据file_id检索向量 POST - rag_query: http://rag.xhllm.xinnuojinzhi.com/query + rag_query: http://36.103.199.104:8123/query #支持多个文件id查询向量 GET - rag_query_multiple: http://rag.xhllm.xinnuojinzhi.com/query_multiple + rag_query_multiple: http://36.103.199.104:8123/query_multiple #### LLM train and service api # 训练集列表 GET