langchain-ai / langchain-postgres

LangChain abstractions backed by Postgres Backend
MIT License
134 stars 48 forks source link

feat: add IVFFlat index functionality to PGVector #89

Open Insomnia0207 opened 4 months ago

Insomnia0207 commented 4 months ago

Hello, thanks for this extremely useful project. pgvector now support 2 index types HNSW and IVFFlat,

  1. I noticed that there is a pull request to support HNSW index to PGVector, may I ask when it would be available since we need to do ANN search and it is encouraged to move to PGVector?
  2. Is there any plan to support IVFFlat index?
eyurtsev commented 4 months ago

I'll try to review next week, but having another reviewer from the community will be helpful