Hacker GitHub

← All repos

pgvector/pgvector-python

View on GitHub ↗ ★ 1,545 Python

pgvector support for Python

4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2023-09-03 · latest 2025-01-14

Mentions per year 4 mentions · busiest year 2024 (2)
20082026
  1. …query. There's an example in the pgvector-python that uses a cross-encoder model for re-ranking: https://github.com/pgvector/pgvector-python/blob/master/exam... You can even use a language model for re-ranking, though it may not be as good…
    comment by pamelafox · 2025-01-14 · in Don't use cosine similarity carelessly
  2. Looks like that there is recent work to make a pgvector example for this https://github.com/pgvector/pgvector-python/blob/master/exam...
  3. Re 1) pgvector has an example in the repo that uses a model for re-ranking: https://github.com/pgvector/pgvector-python/blob/master/exam... I'm not using that in my own experiments since I don't want to worry about the performance of…
  4. There's also pgvector (trivial) examples for different languages, see e.g. github.com/pgvector/pgvector-python