googleapis / langchain-google-cloud-sql-pg-python

Apache License 2.0
29 stars 11 forks source link

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

Closed duwenxin99 closed 4 months ago

duwenxin99 commented 4 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.