Skip to content

Commit

Permalink
Improved docs [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 14, 2023
1 parent 3a6003b commit 2b10fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ item.embedding |> Pgvector.to_tensor()
Add an approximate index in a migration

```elixir
create index("items", ["embedding vector_l2_ops"], using: :ivfflat)
create index("items", ["embedding vector_l2_ops"], using: :ivfflat, options: "lists = 100")
# or
create index("items", ["embedding vector_l2_ops"], using: :hnsw)
```
Expand Down

0 comments on commit 2b10fbd

Please sign in to comment.