From 7e8f5ca3df83cc909a4889ea90909d0d5f9efd6e Mon Sep 17 00:00:00 2001 From: sunxiqing <2240398334@qq.com> Date: Fri, 21 Feb 2025 17:35:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor(yudao-server):=20=E6=9B=B4=E6=96=B0=20?= =?UTF-8?q?RAG=20=E7=9B=B8=E5=85=B3=20API=20=E7=9A=84=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 rag_embed 和 embed 的主机地址从 36.103.199.248 改为127.0.0.1 - 此修改确保了所有 RAG 相关的 API 调用都指向本地服务 --- yudao-server/src/main/resources/application-ymx.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yudao-server/src/main/resources/application-ymx.yaml b/yudao-server/src/main/resources/application-ymx.yaml index 73ef6f95c..1ca781df3 100644 --- a/yudao-server/src/main/resources/application-ymx.yaml +++ b/yudao-server/src/main/resources/application-ymx.yaml @@ -251,7 +251,7 @@ llm: #RAG健康检查 GET rag_health: http://127.0.0.1:8123/health #上传并向量化 POST - rag_embed: http://36.103.199.248:8123/embed + rag_embed: http://127.0.0.1:8123/embed #获取所有向量id GET rag_ids: http://127.0.0.1:8123/ids #根据id获取文档 GET @@ -263,7 +263,7 @@ llm: #支持多个文件id查询向量 GET rag_query_multiple: http://127.0.0.1:8123/query_multiple # 知识库向量嵌入 - embed: http://36.103.199.248:8123/embed + embed: http://127.0.0.1:8123/embed # 知识库查询 embed_query: http://127.0.0.1:8123/query