修复向量知识库url地址

This commit is contained in:
limin 2025-02-11 10:47:20 +08:00
parent 7cbe08a892
commit f3ad4526d0
4 changed files with 22 additions and 22 deletions

View File

@ -111,7 +111,7 @@ public class KnowledgeBaseServiceImpl implements KnowledgeBaseService {
List<Long> deleteIds = knowledgeDocumentsMapper.selectDeleteIds(updateReqVO.getId());
asyncKnowledgeBase.createKnowledgeBase(newDocuments, deleteIds);
// 4.5 异步处理知识库外挂
asyncKnowledgeBase.knowledgeEmbed(newDocuments,updateReqVO.getId());
// asyncKnowledgeBase.knowledgeEmbed(newDocuments,updateReqVO.getId());
} else {
// 5. 如果传入的文档列表为空则删除所有关联文档
knowledgeDocumentsMapper.delete(new LambdaQueryWrapperX<KnowledgeDocumentsDO>()

View File

@ -205,19 +205,19 @@ llm:
backend:
# RAG服务
#RAG健康检查 GET
rag_health: http://rag.xhllm.xinnuojinzhi.com/health
rag_health: http://36.103.199.104:8123/health
#上传并向量化 POST
rag_embed: http://rag.xhllm.xinnuojinzhi.com/embed
rag_embed: http://36.103.199.104:8123/embed
#获取所有向量id GET
rag_ids: http://rag.xhllm.xinnuojinzhi.com/ids
rag_ids: http://36.103.199.104:8123/ids
#根据id获取文档 GET
rag_documents: http://rag.xhllm.xinnuojinzhi.com/documents
rag_documents: http://36.103.199.104:8123/documents
#根据id删除文档 DEL
rag_documents_del: http://rag.xhllm.xinnuojinzhi.com/documents
rag_documents_del: http://36.103.199.104:8123/documents
#根据file_id检索向量 POST
rag_query: http://rag.xhllm.xinnuojinzhi.com/query
rag_query: http://36.103.199.104:8123/query
#支持多个文件id查询向量 GET
rag_query_multiple: http://rag.xhllm.xinnuojinzhi.com/query_multiple
rag_query_multiple: http://36.103.199.104:8123/query_multiple
# LLM train and service api
# 训练集列表 GET

View File

@ -248,19 +248,19 @@ llm:
backend:
#### RAG服务
#RAG健康检查 GET
rag_health: http://rag.xhllm.xinnuojinzhi.com/health
rag_health: http://36.103.199.104:8123/health
#上传并向量化 POST
rag_embed: http://rag.xhllm.xinnuojinzhi.com/embed
rag_embed: http://36.103.199.104:8123/embed
#获取所有向量id GET
rag_ids: http://rag.xhllm.xinnuojinzhi.com/ids
rag_ids: http://36.103.199.104:8123/ids
#根据id获取文档 GET
rag_documents: http://rag.xhllm.xinnuojinzhi.com/documents
rag_documents: http://36.103.199.104:8123/documents
#根据id删除文档 DEL
rag_documents_del: http://rag.xhllm.xinnuojinzhi.com/documents
rag_documents_del: http://36.103.199.104:8123/documents
#根据file_id检索向量 POST
rag_query: http://rag.xhllm.xinnuojinzhi.com/query
rag_query: http://36.103.199.104:8123/query
#支持多个文件id查询向量 GET
rag_query_multiple: http://rag.xhllm.xinnuojinzhi.com/query_multiple
rag_query_multiple: http://36.103.199.104:8123/query_multiple
#### LLM train and service api
# 训练集列表 GET

View File

@ -248,19 +248,19 @@ llm:
backend:
#### RAG服务
#RAG健康检查 GET
rag_health: http://rag.xhllm.xinnuojinzhi.com/health
rag_health: http://36.103.199.104:8123/health
#上传并向量化 POST
rag_embed: http://rag.xhllm.xinnuojinzhi.com/embed
rag_embed: http://36.103.199.104:8123/embed
#获取所有向量id GET
rag_ids: http://rag.xhllm.xinnuojinzhi.com/ids
rag_ids: http://36.103.199.104:8123/ids
#根据id获取文档 GET
rag_documents: http://rag.xhllm.xinnuojinzhi.com/documents
rag_documents: http://36.103.199.104:8123/documents
#根据id删除文档 DEL
rag_documents_del: http://rag.xhllm.xinnuojinzhi.com/documents
rag_documents_del: http://36.103.199.104:8123/documents
#根据file_id检索向量 POST
rag_query: http://rag.xhllm.xinnuojinzhi.com/query
rag_query: http://36.103.199.104:8123/query
#支持多个文件id查询向量 GET
rag_query_multiple: http://rag.xhllm.xinnuojinzhi.com/query_multiple
rag_query_multiple: http://36.103.199.104:8123/query_multiple
#### LLM train and service api
# 训练集列表 GET