Skip to content

Commit

Permalink
Merge pull request #76 from supabase/or/docs-index-args
Browse files Browse the repository at this point in the history
Correct index_arguments arg in `create_index` method in docs
  • Loading branch information
olirice authored Feb 8, 2024
2 parents 9602e3b + c6c64cd commit fe4d584
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 fe4d584

Please sign in to comment.