This commit is contained in:
ire 2024-12-29 18:08:19 +08:00
parent aef1801d3f
commit 9332cb5a30
2 changed files with 25 additions and 1 deletions

View File

@ -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;
}

View File

@ -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
clearSession: true