3 ms·
Any tips on accomplishing this in Postgres with pg_vector?
by cpursley 2y ago
Any tips on accomplishing this in Postgres with pg_vector?
- flexzuu 2y agoSupabase 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.
- cpursley 2y agoI'm actually doing something like that already, I'm mostly referring to the Reciprocal Rank Fusion (RRF) part of this to squeeze more out.
- kiwicopple 2y agoHere is our doc with RRF: https://supabase.com/docs/guides/ai/hybrid-search https://supabase.com/docs/guides/ai/hybrid-search
- evv555 2y agoLlamaindex rerank module
- cpursley 2y agoThanks! Not using Python, but this is still really useful.
- pamelafox 2y agoI commented above with a pgvector example that does it- https://news.ycombinator.com/item?id=40527925 https://news.ycombinator.com/item?id=40527925