Graph-Based RAG for Enterprise AI Guide
Graph-Based RAG for Enterprise AI Guide
Graph-based RAG
for enterprise
with Writer Knowledge Graph
• GUIDES
Table of contents
Introduction
1
Graph-based RAG: the key to scaling enterprise AI
2
Graph RAG vs vector RAG
4
Writer Knowledge Graph: Benefits
10
Writer Knowledge Graph: Use cases
12
Getting started with Writer Knowledge Graph
18
Introduction
This guide explores the practical
applications of graph-based RAG
and the ease of integration into
existing systems using Writer
Knowledge Graph. By the end, you'll
understand why graph-based RAG is
the future of enterprise information
retrieval and how Writer Knowledge
Graph can drive significant value for
your organization.
1
Graph-based RAG
is the key to scaling
enterprise AI from
pilot to production
Despite high hopes and heavy investment, enterprises have entered
the trough of disillusionment regarding generative AI. A global
survey of 500 leaders at enterprise companies found that only 17%
rate their in-house AI projects as excellent. Additionally, McKinsey
reports that only 11% of companies have adopted generative AI at
scale. In short, CIOs and CAIOs are struggling to scale initiatives
beyond the Proof of Concept (POC) stage.
2
But many teams remain stuck in "POC purgatory” as they struggle
D ivide the
P rompt
smaller parts
C ontext
approaches to RAG that use vector databases, which can suffer from
It's not just better — we believe it's the only scalable solution for
Definition language model with based on fuzzy match based on context based on data relation
Adding/updating
Hard Easy Hard Easy
new information
3
How graph RAG stacks
up to vector RAG for
accuracy, scalability,
and affordability
Both vector RAG and graph RAG are techniques used for achieving
retrieval augmented generation. The main difference is how they
handle data, especially when it's complex and connected to other
data in an enterprise.
But once you start adding structured and hierarchical data to the
mix, vector RAG struggles to capture the intricate relationships and
nuances. This is because vector representations can't show complex
data structures. This means they lose context and relationship
information that's important for understanding and retrieving
hierarchical or connected data correctly.
4
Vector retrieval: fails with concentrated data
Are there any immunizations or
vaccinations that Mary S. has
received recently or is due for?
B10 A1
V7
A5 B6 Y6
C17
C6 F7
LLM
E0 C2 C11 C9
E6
S1
C3 C10 Mary S. is up-to-date on their
routing vaccinations, including
O2
C6 ? C7 Pneumococcal vaccine (PCV13),
C8 C12 Shingles vaccine, MMR, Hepatitis B,
and Varicella. They were last
E1 C4 C1 C5 administered on 06/01/2023.
C15
E4 B1
O1
F1 A2
B3 B2
F3
5
In large business settings, data often exhibits complexity, with
numerous interdependencies and layers of information.
6
Knowledge Graph maps rich semantic
relationship between data points
Are there any immunizations or
vaccinations that Mary S. has
received recently or is due for?
Graph built by
LLM
specialized LLM
date
8/22/2024 Mary S. recently received their
due Influenza Influenza vaccine (10/15/2024) and
Shingrix
date their Tdap booster (8/22/2024).
second
dose
vaccine
Mary S. is due for Pneumococcal
Tdap booster
vaccine (PCV13) as they are over 65
06/01/2023
and have not received it yet.
1 Cost-efficient LLM trained to map data into graph structure of nodes and
edges.
2 Rather than chunking, intelligently processes data based on context and
maps semantic relationships.
3 Reliably retrie es correct data points for LLM to generate a completely
v
Knowledge Graph handles complex data formats where vector retrieval struggles
With graph-based retrieval, you’re not just finding the closest match —
you’re finding the right match by understanding the deeper connections
within your data.
Maintain ncrease
I Stay secure
efficient costs your speed and compliant
67% L O W E R
COST
We’ve seen 67% lower cost than
ntegrate data sources uic ly.
I q
nowledge Graph, A I
k Secure your data and comply
with privacy regulations. Our
security first architecture gives
-
8
Graph RAG: saves on costs as you scale
Unlike vector databases that require frequent, costly updates, graph
RAG systems retain semantic relationships, which not only improves
accuracy but also simplifies complex decision-making processes.
This makes enterprises more agile and responsive without the hefty
price tag.
b
RAG vector
a a
database explained
Learn more on the blog
b a a b
a
9
Writer Knowledge
Graph empowers teams
to quickly and easily
deploy graph-based
RAG at scale
At Writer, our unique graph-based RAG solution, Knowledge Graph,
has helped hundreds of enterprises move from POC to powerful,
scalable implementations. Knowledge Graph grounds generative AI
in your company-level context by connecting our platform to your
internal data sources.
10
Get unmatched accuracy
Writer Knowledge Graph is a one-of-a-kind RAG solution and
outperforms other approaches. In a benchmarking test, Writer
Knowledge Graph took first in accuracy when compared with seven
other popular RAG implementations using vector retrieval. It had an
accuracy score of over 86 on RobustQA.
11
Bring speed and
intelligence to every
business workflow
with Writer Knowledge
Graph
Writer Knowledge Graph isn't just a technological innovation — it's a
versatile tool that enhances efficiency and accuracy across multiple
enterprise applications. From boosting customer support to
empowering sales teams, its capabilities are making a significant
impact.
12
Gather information from multiple sources
Handling multi-hop questions that require gathering information
from various sources and conducting multi-step reasoning is
another standout feature. This makes the Knowledge Graph a
powerful tool for research and development teams, as well as for
sales and sales enablement tasks. Imagine helping your company to
reduce time spent on RFP responses by as much as 70%.
13
Get explainable, transparent answers to
every query
Explainable AI is essential for building trust. Knowledge Graph chat
sessions display the thought process behind each response,
breaking down complex questions into manageable subquestions
and highlighting specific source sections.
14
Deploy advanced knowledge assistants for
any team
The Writer Knowledge Graph excels in advanced question-
answering tasks. It acts as a knowledge assistant, interpreting
complex queries, retrieving relevant information, and using logical
reasoning along with summarization skills to construct
comprehensive responses. This capability is invaluable for customer
support and internal information retrieval systems. Some Writer
customers have seen as much as a 30% decrease in time spent
looking up answers to customer questions.
#4252432?
Contributing sources
15
C
ompare thousands of complex documents
in seconds
Writer Knowledge Graph can analyze and identify differences and
similarities between multiple documents. This is particularly useful
for legal, academic, and corporate environments where precision is
crucial. A tech firm is using Writer Knowledge Graph to power its e-
discovery tool for lawyers, which minimizes the “human toil” of
understanding vast corpuses of legal documents.
Cecilia
16
Transform knowledge into contextually
relevant content
Whether it's creating concise executive summaries or conducting
due diligence on target list products, Knowledge Graph makes sure
that content is accurate and contextually relevant, improving
productivity across various departments. The proof is in popularity
with end-users: One F500 financial services customer reports up to
70% improved advisor enablement when using a Writer-powered
knowledge assistant.
17
Get started with Writer
Knowledge Graph in
five simple steps
Step 1: Identify the core use cases you want
to start with
Knowledge Graph supports analysis, search, and question-
answering at scale. Start by discovering what kinds of questions
members of each team need to answer.
18
Step 3: Employ data hygiene
Is there any data that should be excluded? Garbage in, garbage out
applies — make sure you're only importing data that's relevant and
trustworthy.
M ARKETI N G
Su gge st i o ns
Kn o w le d ge gr aph
Punctuation Set up your Knowledge Graph to improve content accuracy or find
Writing style answers to questions about your company’s data. Learn more.
Clarity graph
Retry files
General
Google Drive connection is live
CONTENT G ENERATION
Sources
Recordings
Manage connector
Delete connector
Search
Founder [Link]
.pdf
Live in Graph
Peter Hatch SJdklf Jun 7, 2021
Uoi...
documentation_.pdf
.pdf
Live in Graph
Jun 5, 2021
Peter Hatch
Team roster_.doc
.doc
Syncing
Jun 5, 2021
Data pro
connectors and easy-to-use
duct-terminology (JAN).xlsx
.xlsx
Sinterface
yncing
Peter Hatch
Jun 5, 2021
Doris Jwo
workflow_requirements.csv
.csv
Sync error
Jun 1, 2021
Doris Jwo
Doris Jwo
jan.23-messaging_hierarchies.pptx
.pptx
Indexing
May 28, 2021
Doris Jwo
competitive_graph_infographichtielsss.png
.png
Sync error
Doris Jwo
19
[Link]
.jpg
Added to Graph
May 28, 2021
Uoi...
Blog [Link]
.pdf
Live in Graph
May 28, 2021
Welcome message
Hi, I’m your customer support knowledge
Customize the welcome chat message that users will in new sessions
assistant. Ask anything you’d like about
Hi, I’m your customer support knowledge assistant. Ask anything you’d
like about product features, customer information, active discounts,
product features, customer information,
active discounts, and more.
and more.
Chat options
Mode configuration
20
Writer integrations for Slack, Chrome, Outlook, Mac, and more
connect users of all technical levels with the tools they need. These
Writer AI APP
enterprises.
Writer AI APP
Writer account-novaphone 1 2
How to use Writer?
DMs
Starred 4
Prospect research
announcements Writer AI APP 11:30 AM
1
Zoe Maxwell 11:2 9 AM Mode
general Select a chat app to use
Activity
Has everyone looked at the preliminary feedback from Novaphone about their e pecta ons? It x ti
KnowledgeProspect
graph mode
research
helpdesk
ti
might give us some insights into their priori es.
More -
gizmo leads
last few quarters?
ti
I can prepare a sec on on our technical support and the dedicated resources we will allocate during their onboarding phase.
Apps
Writer AI APP 11:30 AM
Writer
Select a chat app to use
Zoe Maxwell 9:28 AM
Good point - let me check with Writer. Hang tight. I’ll ask! Select
Message #account-novaphone
Message Writer
Check out
our developer
documentation
21
Fast-track your
enterprise AI strategy
for success with Writer
Knowledge Graph
Get started with Writer Knowledge Graph and lead your company
into the AI era. Join industry leaders like Vanguard, Accenture,
Qualcomm, and Vizient, who have transformed their enterprise data
strategies with our advanced, secure, and explainable RAG
technology. Request a demo today to see the impact firsthand.
22
Writer is the full-stack generative AI platform for
enterprises. We make it easy for organizations to deploy
AI apps and workflows that deliver impactful ROI.
Our integrated platform consists of our top-scoring
Palmyra LLMs, our highly accurate graph-based RAG,
AI guardrails to enforce brand and compliance rules,
easy-to-use development tools, and a library of prebuilt
apps, extensions, and desktop experiences to get started
quickly. With Writer, enterprises build highly-customized
AI apps that accelerate growth, increase productivity,
and ensure AI compliance.
Our enterprise-grade platform can be deployed flexibly,
keeps your data private, and adheres to global privacy
laws and security standards. Leading enterprises choose
Writer, such as Vanguard, Intuit, L'Oreal, Accenture,
Dropbox, and Kenvue.
Visit us at [Link]