fix update document index technique (#1018)

Co-authored-by: jyong <jyong@dify.ai>
pull/1019/head
Jyong 3 years ago committed by GitHub
parent 2d9616c29c
commit 38fa152cc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,7 @@ def deal_dataset_vector_index_task(dataset_id: str, action: str):
documents.append(document)
# save vector index
index.add_texts(documents)
index.create(documents)
end_at = time.perf_counter()
logging.info(

Loading…
Cancel
Save