diff --git a/tutorials/Tutorial5_Evaluation.ipynb b/tutorials/Tutorial5_Evaluation.ipynb index 03c4e9ebe2..657ec9cc09 100644 --- a/tutorials/Tutorial5_Evaluation.ipynb +++ b/tutorials/Tutorial5_Evaluation.ipynb @@ -218,8 +218,8 @@ " clean_empty_lines=False,\n", " clean_whitespace=False\n", ")\n", - "document_store.delete_all_documents(index=doc_index)\n", - "document_store.delete_all_documents(index=label_index)\n", + "document_store.delete_documents(index=doc_index)\n", + "document_store.delete_documents(index=label_index)\n", "document_store.add_eval_data(\n", " filename=\"../data/nq/nq_dev_subset_v2.json\",\n", " doc_index=doc_index,\n", diff --git a/tutorials/Tutorial5_Evaluation.py b/tutorials/Tutorial5_Evaluation.py index 672872f0e6..9972d42d8c 100644 --- a/tutorials/Tutorial5_Evaluation.py +++ b/tutorials/Tutorial5_Evaluation.py @@ -63,8 +63,8 @@ def tutorial5_evaluation(): clean_empty_lines=False, clean_whitespace=False ) - document_store.delete_all_documents(index=doc_index) - document_store.delete_all_documents(index=label_index) + document_store.delete_documents(index=doc_index) + document_store.delete_documents(index=label_index) document_store.add_eval_data( filename="../data/nq/nq_dev_subset_v2.json", doc_index=doc_index,