Hacker News new | ask | show | jobs
by cpursley 751 days ago
Any tips on accomplishing this in Postgres with pg_vector?
3 comments

I commented above with a pgvector example that does it-

https://news.ycombinator.com/item?id=40527925

Supabase has some good examples on their website, search for hybrid search. I needed to tune the function they have there but it should show you how to approach it.
I'm actually doing something like that already, I'm mostly referring to the Reciprocal Rank Fusion (RRF) part of this to squeeze more out.
Llamaindex rerank module
Thanks! Not using Python, but this is still really useful.