Skip to content

Commit

Permalink
Language edit
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFinegan authored Nov 1, 2023
1 parent aa82251 commit 393b2c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embeddings-and-vector-databases-with-chromadb/chroma_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def build_chroma_collection(
metadata={"hnsw:space": distance_func_name},
)

document_indicies = list(range(len(documents)))
document_indices = list(range(len(documents)))

for batch in batched(document_indicies, 166):
for batch in batched(document_indices, 166):
start_idx = batch[0]
end_idx = batch[-1]

Expand Down

0 comments on commit 393b2c0

Please sign in to comment.