This guide is for teams that already run a retrieval-augmented assistant and are being told that a knowledge graph would fix its weak answers. The base design is covered in our guide to RAG architecture for internal knowledge assistants; here the question is narrower: which failures a graph actually repairs, how to confirm them, and what the extra modelling costs. It sits under our generative AI development work and the enterprise knowledge and RAG service.
In this guide
- What does vector search miss that a graph can answer?
- Which signals justify the extra modelling work?
- Before you build: rule out cheaper fixes
- Four retrieval options compared
- How to run a GraphRAG pilot
- What does a graph cost to keep running?
- Where AI fits in graph retrieval
- What delivery record exists, and what does not?
- Alternatives and selection criteria
- What are the limits of this guide?
- Frequently asked questions
- Next step
What does vector search miss that a graph can answer?
Vector search returns the passages whose meaning is closest to the question. That works when one passage holds the answer. It struggles when the answer is a chain: which suppliers serve the plants affected by a recalled part, which contracts reference a clause that a later policy replaced, which customers sit under a parent account that changed owner. Each fact lives in a different document, and no single passage resembles the whole question.
A knowledge graph stores entities, such as customers, products, contracts or systems, and the typed relationships between them. Graph retrieval finds the entities a question names and follows their edges, so it can collect facts that never appear together in one paragraph. Microsoft's GraphRAG documentation describes two modes: a local search that fans out from specific entities to their neighbours, and a global search that reasons over summaries of related entity groups.
The second mode targets a different gap. Edge and colleagues at Microsoft Research showed that conventional RAG fails on global questions about an entire corpus, such as "what are the main themes in this dataset?", because no retrieved chunk contains the answer. Their GraphRAG paper builds an entity graph, pre-generates summaries of closely related entity communities, and reports better comprehensiveness and diversity than a conventional RAG baseline on datasets of about one million tokens.
Which signals justify the extra modelling work?
A graph is a modelling project: someone must define entity types and relationships, run extraction over the content, resolve duplicates and keep it current. Fund it only when several of these six signals show up in your own data, not in a vendor demo.
- Multi-hop questions fail. Tag logged questions that need two or more linked facts. Confirm the signal when their answer quality is clearly below single-fact questions, and the right passages for each hop exist in the index.
- Corpus-level questions are common. Users ask for themes, patterns or "everything about" an entity across many documents. Confirm it when these questions are a steady share of the log, not a one-off request.
- Entities hide behind aliases. The same customer, product or system appears under several names, codes or spellings. Confirm it when retrieval misses documents that use another name for the entity the question names.
- The relationship is the answer. Questions ask "who owns", "what depends on", "which version replaced". Confirm it when the relationship is written implicitly across documents rather than stated in one place.
- The content is entity-dense and fairly stable. Contracts, product catalogues, technical manuals or incident records change slowly enough that extraction cost is spread over many queries. Confirm it by measuring how much of the corpus changes per week.
- Structure already exists. A master data system, product taxonomy or ontology already names the entities. Confirm it when that source is owned and maintained, because it removes most of the modelling work.
One or two signals usually point to cheaper fixes. Three or more, with multi-hop or corpus-level failures among them, make a graph worth a scoped pilot.
Before you build: rule out cheaper fixes
Many failures blamed on "missing relationships" are retrieval problems that a graph does not touch. Sort fifty weak answers first: is the evidence missing from the index, retrieved but ranked too low, or retrieved in fragments that split a table or procedure? Those are chunking, keyword and ranking issues, and our guide to retrieval quality tuning sets out the experiments for them.
Two more checks save money. If the relationships already live in a database, an assistant that writes read-only queries may answer them directly; our guide to text-to-SQL assistants covers that route. And if the failures involve images, scans or diagrams, the gap may be in how content is indexed, which our guide to multimodal search in one index addresses.
Four retrieval options compared
| Option | Questions it serves | Modelling cost | When not to choose it |
|---|---|---|---|
| Tuned vector or hybrid RAG | Single-fact lookups, paraphrases, exact terms | Low: chunking, indexing and ranking | Answers need facts joined across documents |
| Vector search plus graph lookup | Single-hop questions with named entities and aliases | Medium: entity list, alias table, a few relation types | Entities are vague or change daily |
| Full GraphRAG with community summaries | Multi-hop and corpus-level "themes" questions | High: model-driven extraction over all content and summary refresh | Content changes faster than you can re-index |
| Structured queries over existing data | Counts, filters and joins on records | Low if the schema is clean and documented | The answer lives in free text, not tables |
Read the table from the right: the "when not to choose it" column rules options out faster than the strengths rule them in. The middle row is often enough; Sarmah and colleagues found in their HybridRAG study that combining graph and vector retrieval outperformed either one alone on question answering over financial earnings-call transcripts.
How to run a GraphRAG pilot
-
Collect the failing questions
Pull the multi-hop, alias and corpus-level questions from the log, label the evidence each needs, and keep a held-out slice.
-
Model a small schema
Define five to ten entity types and the relationships your questions use. Leave out anything no question needs.
-
Extract from one slice of content
Run entity and relation extraction on a bounded document set. Microsoft's GraphRAG repository warns that indexing can be expensive and advises starting small; measure model calls and time per thousand documents before scaling.
-
Review the extraction
Engineers and a domain owner sample extracted entities and edges, merge duplicates and correct wrong relation types. Errors here become confident wrong answers later.
-
Route questions
Keep vector or hybrid retrieval as the default path and send only questions with graph signals to graph retrieval, or combine both result sets.
-
Compare against the baseline
Score the labelled set with and without the graph on answer correctness, evidence coverage, latency and cost per query. Keep the graph only where it wins on the questions it was built for.
-
Plan upkeep before scaling
Decide how new documents update the graph, who owns the schema, and how permissions filter graph results as they already filter chunks.
What does a graph cost to keep running?
The build is the visible cost; upkeep is the larger one. Every new or changed document needs extraction, and new entities must be matched to existing ones rather than added as duplicates. Community summaries, if you use them, need regenerating when the graph changes.
Access control also gets harder. A chunk carries one document's permissions, but an edge can join facts from documents with different audiences. Filter graph results by the permissions of every source behind them, or a relationship can reveal what the underlying document would not. The graph RAG survey by Peng and colleagues lists graph-based indexing, graph-guided retrieval and graph-enhanced generation as separate stages, and each one adds something to monitor.
Where AI fits in graph retrieval
AI does most of the heavy lifting in a graph pipeline: language models extract entities and relationships from text, write community summaries, route each question to the right retrieval path and compose the final answer. Engineers still define the schema, review extraction samples, set the routing rules and decide what ships. Netbase works with the major commercial and open-source AI models, chosen per project, so the extraction model and the answering model can differ and be swapped later. Each item below states how mature it is at Netbase.
Running extraction and evaluation inside a release process is part of our responsible AI and MLOps service.
- In delivered work
RAG knowledge assistant
A retrieval-augmented assistant over company knowledge, delivered for a client that is not named.
- Available capability
Graph-assisted retrieval
Entity extraction, graph lookup and question routing added to an existing RAG pipeline; not yet tied to a published case.
What delivery record exists, and what does not?
- What exists. Netbase has delivered retrieval-augmented knowledge assistants, document AI and MLOps pipelines for clients that are not named, and follows a delivery lifecycle that ends in ongoing support and co-building. Delivery follows Netbase's security practices, including role-based access control and secure code review. Most Netbase projects are delivered on fixed-price contracts.
- What does not. No GraphRAG or knowledge-graph delivery is on record yet, and no accuracy, latency or cost figure from any retrieval project is published, so none is offered here. The signals and pilot plan on this page are method guidance; the findings they cite come from the third-party sources listed below.
Alternatives and selection criteria
- Stay on vector or hybrid RAG when most questions need one passage, the content changes often or the corpus is small.
- Add an entity and alias layer when failures come from names, codes and spellings, not from multi-step reasoning.
- Build GraphRAG when multi-hop or corpus-level questions are a steady share of real traffic and the content is stable enough to extract once and update incrementally.
- Query the database when the relationships already live in maintained tables.
- Do nothing yet when the question log is too thin to show which questions fail; collect more traffic first.
What are the limits of this guide?
- It covers text retrieval over company content; graph analytics, recommendation graphs and fraud networks are separate problems.
- Research results are cited for direction, not as a forecast: gains depend on your content, your schema and your questions.
Plan the next step with a Netbase consultant
Frequently asked questions
Use it when a steady share of real questions needs facts joined across documents, or asks about themes across the whole collection, and tuning chunking, hybrid search and reranking has not fixed those failures. For single-passage questions, vector or hybrid search stays cheaper and simpler.
Usually not. With a small or fast-changing corpus, extraction and upkeep cost more than they return, and a long context or better chunking often answers the same questions. Revisit the decision when the question log shows repeated multi-hop failures.
No. A pilot can store entities and relationships in tables or files beside the vector index and test whether graph lookup helps. Choose a graph database once the schema, query patterns and update volume are known.
Rarely. Graphs answer relationship questions well but lose the wording and nuance of the source text, so most teams keep vector or hybrid retrieval for passages and add the graph for questions that need connected facts.
Next step
Share twenty questions your assistant gets wrong and the sources it searches, and we will book a solution review to sort the failures and say whether a graph, better retrieval or a database query fits. You can also see the AI knowledge assistant solution or our data and AI stack.
Related services and solutions
Generative AI development with evaluation and human review Netbase builds generative AI features for product and operations teams: drafting, summarising, rewriting and content generation inside the software your people and customers already use. Every feature ships with an evaluation set, a human review step where output matters and limits on cost. Generative AI is a capability we are growing, and we label its maturity honestly.
Learn More
Enterprise AI knowledge assistants: RAG engineering with access control Netbase engineers retrieval-augmented generation (RAG) over company knowledge: the ingestion, search, permission checks, cited answers and evaluation that let an internal assistant or a website RAG chatbot answer from your own documents. It is a growth capability with access control designed in from the first prototype, and Netbase has delivered a RAG knowledge assistant for an unnamed client.
Learn More
Responsible AI and MLOps for AI in production MLOps and responsible AI keep an AI feature trustworthy after launch. Netbase's practice for monitored, governed AI in production covers evaluation before every release, versioning of models, prompts and data, monitoring of quality and cost, and incident controls with a named owner. It is a growth capability, backed by an MLOps pipeline delivered for an unnamed client.
Learn More
AI knowledge assistant: answers from company knowledge, with sources and access control An AI knowledge assistant is an internal tool that answers employees' questions from your company's own documents and systems, cites the source behind every answer and shows each person only what they may see. Netbase offers it as a growth capability, designed with retrieval, evaluation and human review from the first pilot, and has delivered one for an unnamed client.
Learn More
Work with Netbase remotely
Every Netbase engagement is delivered remotely, so clients in any country and any industry can work with us; Netbase has worked with clients in 80 countries. Contracts and invoices are issued by Netbase JSC, and payment is made by bank transfer to Netbase JSC's company account or PayPal Business. Talk to the CEO, Huy Nguyen (David), on WhatsApp or by email.
Discuss a project
Netbase JSC helps organizations design, build, modernize, and operate digital products and AI-enabled business systems.project@netbasejsc.com
+84 937 869 689
91 Nguyen Chi Thanh, Dong Da, Hanoi, Vietnam
Get in touch
Tell us what you want to build, modernize, or operate.