Assembled improves RAG results with Hybrid Search and Reciprocal Rank Fusion
Vector-only search failed to return relevant results for specific keyword queries in customer support, particularly when knowledge bases were uncurated and queries contained short or ambiguous keywords.
A weighting-based fusion approach was tried first but proved unworkable because similarity score distributions varied widely across customers, making it impossible to determine universal weights.
Hybrid search combining vector and keyword search, merged via Reciprocal Rank Fusion, consistently outperformed more complex methods and enhanced the accuracy and relevance of search outcomes across a diverse customer base.
Frequently asked questions
What did this team achieve with this AI workflow?
Hybrid search combining vector and keyword search, merged via Reciprocal Rank Fusion, consistently outperformed more complex methods and enhanced the accuracy and relevance of search outcomes across a diverse customer…
What tools did this team use?
Retrieval Augmented Generation (RAG), Pinecone, Algolia, PostgreSQL, S3.
What results were reported?
Search result accuracy and relevance: enhanced the accuracy and relevance of search outcomes; RRF vs other fusion methods: consistently outperformed many of the more complex methods we evaluated (source-reported, not independently verified).
What failed first in this deployment?
A weighting-based fusion approach was tried first but proved unworkable because similarity score distributions varied widely across customers, making it impossible to determine universal weights.
How is this customer support AI workflow structured?
Support query submitted → Parallel vector and keyword search → Reciprocal Rank Fusion → RAG answer generation → Document store sync.