Hubmesh adds graph layer to Qdrant to improve multi-hop question retrieval
A developer has released Hubmesh, an open-source Python library that extends Qdrant vector search with a knowledge graph layer to handle complex, multi-hop queries. Standard vector search struggles with questions requiring several reasoning steps, such as tracing a company acquisition back to a founder's education. Hubmesh combines cosine similarity, Personalized PageRank, and a convergence signal to rank documents that are reachable from all entities in a question, not just the closest one. On the HotpotQA benchmark, it achieved 75.2% recall@10 compared to 69.3% for naive cosine search using the same embeddings, with similar gains on the MuSiQue multi-hop dataset. The library is available on PyPI under the MIT license and uses spaCy for entity extraction, requiring no LLM calls to build the knowledge graph.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in