pgvector / pgvector-python

pgvector support for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set query options (e.g. # of ivfflat.probe) when querying a table with IVFFlat or HNSW index?

lesser-panda opened this issue · comments

As mentioned in the instructions of pgvector (https://github.com/pgvector/pgvector#query-options), there are several query options that can be set at the time of querying, if the table contains an IVFFlat or HNSW index. How can we set these options when using this library?

Hi @lesser-panda, check out #36.