Skip to content

Commit

Permalink
correct argument name in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
olirice committed Feb 8, 2024
1 parent 9602e3b commit c6c64cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ To manually specify `method`, `measure`, and `index_arguments` add them as argum
docs.create_index(
method=IndexMethod.hnsw,
measure=IndexMeasure.cosine_distance,
measure=IndexArgsHNSW(m=8),
index_arguments=IndexArgsHNSW(m=8),
)
```

Expand Down
2 changes: 1 addition & 1 deletion docs/concepts_indexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To manually specify `method`, `measure`, and `index_arguments` add them as argum
docs.create_index(
method=IndexMethod.hnsw,
measure=IndexMeasure.cosine_distance,
measure=IndexArgsHNSW(m=8),
index_arguments=IndexArgsHNSW(m=8),
)
```

Expand Down

0 comments on commit c6c64cd

Please sign in to comment.