zlacker

[parent] [thread] 2 comments
1. pamela+(OP)[view] [source] 2024-05-30 19:56:22
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-...

replies(1): >>cpursl+7H2
2. cpursl+7H2[view] [source] 2024-05-31 17:55:59
>>pamela+(OP)
This is awesome, thank you.
replies(1): >>cpursl+wI9
◧◩
3. cpursl+wI9[view] [source] [discussion] 2024-06-03 17:52:10
>>cpursl+7H2
First take at hybrid search with Postgres pg_vector based on this: https://gist.github.com/cpursley/dae0a0be442f27e6af79d6bfc2b...
[go to top]