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 545bdb4e8..f018e704f 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 97e93708f..5c4fbfb58 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 bb2f1ce8d..399c8639f 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