refactor(yudao-module-llm): 暂时移除知识库创建文件的异步处理
- 注释掉 AsyncKnowledgeBase 类中的 createKnowledgeBase 方法的 @Async 注解 - 此修改可能是为了调试或测试目的,暂时将该方法改为同步执行
This commit is contained in:
parent
d1d2bbd90b
commit
6247b788e6
@ -38,7 +38,7 @@ public class AsyncKnowledgeBase {
|
||||
|
||||
|
||||
// 向向量知识库创建文件
|
||||
@Async
|
||||
// @Async
|
||||
public void createKnowledgeBase (List<KnowledgeDocumentsDO> knowledgeList, List<Long> ids) {
|
||||
if (!CollectionUtils.isAnyEmpty(ids)) {
|
||||
String mes = ragHttpService.ragDocumentsDel(llmBackendProperties.getRagDocumentsDel(), ids);
|
||||
|
Loading…
x
Reference in New Issue
Block a user