From b19ce1018494da1528c33f245dfa3e4b7eb289e9 Mon Sep 17 00:00:00 2001 From: gsilvestrin Date: Wed, 19 Apr 2023 19:28:40 -0700 Subject: [PATCH] review comments --- docs/src/ann_indexes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/ann_indexes.md b/docs/src/ann_indexes.md index e36cd070..e9fd5682 100644 --- a/docs/src/ann_indexes.md +++ b/docs/src/ann_indexes.md @@ -22,7 +22,7 @@ data = [{"vector": row, "item": f"item {i}"} tbl = db.create_table("my_vectors", data=data) # Create and train the index - you need to have enough data in the table for an effective training step -tbl.create_index(num_partitions=256,num_sub_vectors=96) +tbl.create_index(num_partitions=256, num_sub_vectors=96) ``` Since `create_index` has a training step, it can take a few minutes to finish for large tables. You can control the index