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
20082026
-
…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 -
Looks like that there is recent work to make a pgvector example for this https://github.com/pgvector/pgvector-python/blob/master/exam...
comment by tarasglek · 2024-12-05 · in VectorChord: Store 400k Vectors for $1 in PostgreSQL -
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…
comment by pamelafox · 2024-05-30 · in Better RAG Results with Reciprocal Rank Fusion and Hybrid Search -
There's also pgvector (trivial) examples for different languages, see e.g. github.com/pgvector/pgvector-python
comment by puika · 2023-09-03 · in Vector Search with OpenAI Embeddings: Lucene Is All You Need