From d4deff119a82f41d8e9493e29cdf642f5087fa40 Mon Sep 17 00:00:00 2001 From: Liuyang <2746366019@qq.com> Date: Fri, 21 Feb 2025 17:46:51 +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=E5=92=8C=E8=AE=AD=E7=BB=83=E9=9B=86?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=20API=20=E7=9A=84=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 RAG 服务相关 API 的端口从 8000 修改为 8123 - 更新了健康检查、向量化、文档获取和查询等 API 的 URL --- .../src/main/resources/application-prod.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yudao-server/src/main/resources/application-prod.yaml b/yudao-server/src/main/resources/application-prod.yaml index 675bb3e79..da0f2f8a0 100644 --- a/yudao-server/src/main/resources/application-prod.yaml +++ b/yudao-server/src/main/resources/application-prod.yaml @@ -249,23 +249,23 @@ llm: #################### 8123: RAG服务、训练集和标注相关API。 ################### ### RAG服务 #RAG健康检查 GET - rag_health: http://36.103.199.248:8000/health + rag_health: http://36.103.199.248:8123/health #上传并向量化 POST - rag_embed: http://36.103.199.248:8000/embed + rag_embed: http://36.103.199.248:8123/embed #获取所有向量id GET - rag_ids: http://36.103.199.248:8000/ids + rag_ids: http://36.103.199.248:8123/ids #根据id获取文档 GET - rag_documents: http://36.103.199.248:8000/documents + rag_documents: http://36.103.199.248:8123/documents #根据id删除文档 DEL - rag_documents_del: http://36.103.199.248:8000/documents + rag_documents_del: http://36.103.199.248:8123/documents #根据file_id检索向量 POST - rag_query: http://36.103.199.248:8000/query + rag_query: http://36.103.199.248:8123/query #支持多个文件id查询向量 GET - rag_query_multiple: http://36.103.199.248:8000/query_multiple + rag_query_multiple: http://36.103.199.248:8123/query_multiple # 知识库向量嵌入 - embed: http://36.103.199.248:8000/embed + embed: http://36.103.199.248:8123/embed # 知识库查询 - embed_query: http://36.103.199.248:8000/query + embed_query: http://36.103.199.248:8123/query #### LLM train and service api 训练集、标注相关API # 训练集列表 GET