diff --git a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/framework/backend/config/LLMBackendProperties.java b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/framework/backend/config/LLMBackendProperties.java index e03314f96..65c6cef14 100644 --- a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/framework/backend/config/LLMBackendProperties.java +++ b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/framework/backend/config/LLMBackendProperties.java @@ -16,4 +16,22 @@ public class LLMBackendProperties { */ @NotNull(message = "RAG健康检查API") private String ragHealth; + + @NotNull(message = "上传并向量化") + private String ragEmbed; + + @NotNull(message = "获取所有向量id") + private String ragIds; + + @NotNull(message = "根据id获取文档") + private String ragDocuments; + + @NotNull(message = "根据id删除文档") + private String ragDocumentsDel; + + @NotNull(message = "根据file_id检索向量") + private String ragQuery; + + @NotNull(message = "支持多个文件id查询向量") + private String ragQueryMultiple; } diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 8b07a2493..6bc5efd27 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -248,6 +248,12 @@ llm: backend: # RAG服务健康检查 rag_health: http://localhost:8123/health + rag_embed: http://localhost:8123/embed + rag_ids: http://localhost:8123/ids + rag_documents: http://localhost:8123/documents + rag_documents_del: http://localhost:8123/documents + rag_query: http://localhost:8123/query + rag_query_multiple: http://localhost:8123/query_multiple --- #################### iot相关配置 TODO 芋艿:再瞅瞅 #################### iot: @@ -265,4 +271,4 @@ iot: # 保持连接 keepalive: 60 # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息) - clearSession: true \ No newline at end of file + clearSession: true