From 4b6fa463541d6eda6995f2bc3ebc64f161d03c33 Mon Sep 17 00:00:00 2001 From: Liuyang <2746366019@qq.com> Date: Thu, 13 Feb 2025 18:24:15 +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=E7=9F=A5=E8=AF=86=E5=BA=93?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E7=9A=84=20API=20=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 RAG 服务的 API 地址从 http://36.103.199.104:8123/ 更改为 http://rag.xhllm.xinnuojinzhi.com/ - 更新知识库嵌入和查询的 API 地址 - 此更改影响 application-dev.yaml 文件中的多个配置项 --- .../src/main/resources/application-dev.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yudao-server/src/main/resources/application-dev.yaml b/yudao-server/src/main/resources/application-dev.yaml index f5e16df29..fecfbd10a 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://36.103.199.104:8123/health + rag_health: http://rag.xhllm.xinnuojinzhi.com/health #上传并向量化 POST - rag_embed: http://36.103.199.104:8123/embed + rag_embed: http://rag.xhllm.xinnuojinzhi.com/embed #获取所有向量id GET - rag_ids: http://36.103.199.104:8123/ids + rag_ids: http://rag.xhllm.xinnuojinzhi.com/ids #根据id获取文档 GET - rag_documents: http://36.103.199.104:8123/documents + rag_documents: http://rag.xhllm.xinnuojinzhi.com/documents #根据id删除文档 DEL - rag_documents_del: http://36.103.199.104:8123/documents + rag_documents_del: http://rag.xhllm.xinnuojinzhi.com/documents #根据file_id检索向量 POST - rag_query: http://36.103.199.104:8123/query + rag_query: http://rag.xhllm.xinnuojinzhi.com/query #支持多个文件id查询向量 GET - rag_query_multiple: http://36.103.199.104:8123/query_multiple + rag_query_multiple: http://rag.xhllm.xinnuojinzhi.com/query_multiple # LLM train and service api # 训练集列表 GET @@ -284,9 +284,9 @@ llm: check_file_list: http://36.103.199.104:5123/llm/finetuning/checkpoints?model_name= # 知识库向量嵌入 - embed: http://36.103.199.104:8123/embed + embed: http://rag.xhllm.xinnuojinzhi.com/embed # 知识库查询 - embed_query: http://36.103.199.104:8123/query + embed_query: http://rag.xhllm.xinnuojinzhi.com/query --- #################### iot相关配置 TODO 芋艿:再瞅瞅 #################### iot: