From 4e9c83a19a280b34d7f365ab54476972f1464efc Mon Sep 17 00:00:00 2001 From: Liuyang <2746366019@qq.com> Date: Fri, 21 Feb 2025 13:51:46 +0800 Subject: [PATCH] =?UTF-8?q?refactor(yudao-server):=20=E6=9B=B4=E6=96=B0=20?= =?UTF-8?q?RAG=20=E6=9C=8D=E5=8A=A1=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将本地地址 127.0.0.1 更改为远程地址 36.103.199.248 - 修改涉及 rag_embed 和 embed 两个接口的地址 --- 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 1ca781df3..73ef6f95c 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://127.0.0.1:8123/embed + rag_embed: http://36.103.199.248: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://127.0.0.1:8123/embed + embed: http://36.103.199.248:8123/embed # 知识库查询 embed_query: http://127.0.0.1:8123/query