Find answers from the community

Updated 3 months ago

Merging BM25 and Vector Retrieval in Llama-Index Workflow

hello everyone ! for llama-index, is it possible to implement the capabilities of KnowledgeGraph (Grafoù Properties) in a workflow that already uses QueryFusionRetriever, by merging bm25 + vector retriving ?
L
c
2 comments
I'm not 100% sure what you mean, but you can combine any retrievers in the query fusion retriever
Sorry, i misspoke. simply, i am building a rag-app that uses the hybrid BM25 + Vector as retrievers, store with Chroma db and use Cohere's reranking as nodepostprocessor. i use textbook chapters (biology, pathology) as knowledge for RAG. it is obvious that it lacks context when responding. i would like to implement KnowledgeGraph to fill this lack of context. so the question is: is it possible to implement three retrievers, with Chroma as db, in the QueryFusionRetriever and pass it to Cohere's reranker ?
Add a reply
Sign up and join the conversation on Discord