Unverified Commit 38fa152c authored by Jyong's avatar Jyong Committed by GitHub

fix update document index technique (#1018)

Co-authored-by: 's avatarjyong <jyong@dify.ai>
parent 2d9616c2
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment