Fabrikam runs a research assistant over contracts, regulatory filings and corporate records. The assistant uses vector search with an approximate nearest neighbor (ANN) index.
Users ask questions such as "Which suppliers of our subsidiaries have open regulatory findings?" The assistant returns passages that sound similar to the question but misses the suppliers and findings linked to each subsidiary.
Requirements:
- Answers must include information that is connected across entities, such as subsidiary to supplier to finding.
- Users phrase questions in terms that often differ from the wording of the documents, so semantic matching must be kept.
You need to change the retrieval strategy to meet the requirements. Which two actions should you perform? Each correct answer presents part of the solution.
Multi-hop questions depend on relationships between entities, and vector search returns only semantically similar text without following those links. GraphRAG extracts entities and relationships into a knowledge graph and traverses that graph at query time to gather connected information. Because GraphRAG combines graph traversal with vector search, semantic matching for differently worded questions is kept. Reranking or an exact scan changes only how similar passages are ranked or found.