Skip to content

Commit f547828

Browse files
authored
fix: 修复关联问题不生效 (#1724)
1 parent 80e5e24 commit f547828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/embedding/vector/base_vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def save(self, text, source_type: SourceType, dataset_id: str, document_id: str,
8484
chunk_list = chunk_data(data)
8585
result = sub_array(chunk_list)
8686
for child_array in result:
87-
self._batch_save(child_array, embedding, lambda: True)
87+
self._batch_save(child_array, embedding, lambda: False)
8888

8989
def batch_save(self, data_list: List[Dict], embedding: Embeddings, is_the_task_interrupted):
9090
"""

0 commit comments

Comments
 (0)