zlacker

[return to "Better RAG Results with Reciprocal Rank Fusion and Hybrid Search"]
1. pamela+4P[view] [source] 2024-05-30 19:56:22
>>johnjw+(OP)
If you're looking for an example of RRF + Hybrid Search with PostgreSQL, I've put together a FastAPI app here that uses RAG with those options:

https://github.com/Azure-Samples/rag-postgres-openai-python/

Here's the RRF+Hybrid part: https://github.com/Azure-Samples/rag-postgres-openai-python/...

That's largely based off a sample from the pgvector repo, with a few tweaks.

Agreed that Hybrid is the way to go, it's what the Azure AI Search team also recommends, based off their research:

https://techcommunity.microsoft.com/t5/ai-azure-ai-services-...

◧◩
2. cpursl+bw3[view] [source] 2024-05-31 17:55:59
>>pamela+4P
This is awesome, thank you.
[go to top]