mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复关联问题不生效 (#1724)
This commit is contained in:
parent
80e5e242b6
commit
f547828bc9
|
|
@ -84,7 +84,7 @@ class BaseVectorStore(ABC):
|
|||
chunk_list = chunk_data(data)
|
||||
result = sub_array(chunk_list)
|
||||
for child_array in result:
|
||||
self._batch_save(child_array, embedding, lambda: True)
|
||||
self._batch_save(child_array, embedding, lambda: False)
|
||||
|
||||
def batch_save(self, data_list: List[Dict], embedding: Embeddings, is_the_task_interrupted):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue