googleapis / langchain-google-alloydb-pg-python

Apache License 2.0
13 stars 9 forks source link

fix: Change IVFFlat `lists` default to 100 #165

Closed duwenxin99 closed 3 months ago

duwenxin99 commented 3 months ago

pgvector has IVFFlat lists parameter default to 100(https://github.com/pgvector/pgvector/blob/d1694a93afe4d23d0bc3ca6f9c85f06fb79a325c/src/ivfflat.h#L42) but our implementation defaults to 1. We should change the default to match the pgvector setting.