AI Engineer World's Fair 2025
Wisdom-Driven Knowledge Augmented Generation at Scale
Read the talk
Building Expert Advisory Systems with a Wisdom Graph
Chin Keong Lam connects expert decision patterns, a shared knowledge graph and supervised agents to turn retrieved information into situation-aware advice.
From a talk by Chin Keong Lam
Before you start: Familiarity with retrieval-augmented generation, language-model agents and basic graph concepts will help; no prior n8n or Cypher experience is required.
When the client needs advice
What does an AI system need when a client wants research and advice in a specialist domain, rather than information retrieved from a database? That is the problem behind Chin Keong Lam’s work at Patho.ai. Introducing himself as its founder and CEO, Lam describes starting two years earlier with an invitation through the National Science Foundation’s SBIR program to investigate LLM embeddings. An initial application in drug discovery led to building expert AI systems for corporate clients. Their requests increasingly required the system to perform advisory work.
The starting point is a broader definition of knowledge: understanding acquired through experience, education, facts and principles. A knowledge graph connects that material through explicit relationships. In Lam’s framing, the graph should preserve both a domain’s taxonomy and something of its experts’ thought process—the connections they use to reach a decision.
Knowledge-Augmented Generation (KAG) is his term for integrating that structured graph with a language model. The intended step beyond basic retrieval is to supply relationships and context that help the model synthesize advice. Lam characterizes this as understanding rather than merely retrieving; the engineering question is how to represent the expert’s reasoning and make it available at the right moment.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Represent the decision process, then close the loop
Interviews with clients revealed recurring patterns in how experts think and decide. Lam represents those patterns as a graph, or state diagram, with wisdom at its center. Wisdom guides the blue decision-making node, which analyzes the green situation node. Decisions therefore depend on the circumstances in which they will be applied. A gold relationship feeds knowledge back into wisdom.
Books, encyclopedias and Wikipedia can supply knowledge, but ingestion alone does not complete this process. The system must synthesize what it has absorbed. Insight supplies a different input: patterns extracted from disorder. For a client tracking product sentiment, scattered social-media posts and X discussions can reveal how customers perceive its products relative to competitors.
The distinction between knowledge, experience and insight is easier to see in Lam’s pizza analogy:
| Input | What it contributes | Pizza example |
|---|---|---|
| Knowledge | What is known | The recipe |
| Experience | What happened before | This oven burns the crust |
| Insight | What to try next | Add honey to encourage caramelization |
These inputs become useful together: the recipe is interpreted in light of a particular oven, and an idea for the next attempt emerges from that context.
The feedback loop is the essential part of the graph. A situation informs future wisdom; experience deepens it; insight sharpens it. Lam compares this accumulation to a tree growing stronger roots. In leadership, the loop means using feedback to avoid knee-jerk reactions. In personal growth, it means learning from past mistakes. Wisdom, in this model, is a muscle exercised through repeated use rather than a trophy acquired once.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Map the graph to a marketing strategist’s work
The concrete client application is competitive analysis, work previously handled by a marketing department. The client wants an AI system that can answer a strategic question: how can we win against a competitor in this market? Returning relevant passages is only one ingredient. The answer must connect evidence about the market with the company’s history and present position.
Lam retains the same taxonomy and assigns each part a business responsibility. The wisdom engine becomes an orchestration agent that decides what the LLM can see in the current situation and what should happen next.
| Wisdom graph component | Competitive-analysis responsibility |
|---|---|
| Wisdom | Orchestrate context and next actions |
| Decision-making | Generate strategy |
| Knowledge | Supply market data |
| Experience | Supply past marketing campaigns |
| Insight | Supply stored industry insights |
| Situation | Establish sales performance and competitor awareness |
The situation node makes advice conditional on how the client’s products are actually doing. Market information becomes more useful when the model can relate it to that current position.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Implement the state diagram as supervised agents
Lam prototypes the workflow in n8n. It recalls his earlier IoT work with Node-RED, the visual flow tool that originated at IBM and runs on Node.js. The appeal is a visual interface for connecting operations while code performs the work underneath. Community nodes provide building blocks for turning the state diagram into an executable workflow.
The n8n AI Agent node is central to this prototype. Lam uses n8n for its flexibility; a lighter implementation using something such as LangChain is a possible later choice, not a migration he demonstrates. The linked documentation describes the current Tools Agent behavior, while the recording does not identify its n8n version.
The wisdom engine becomes a supervisory wisdom agent, with options to use models from OpenAI or Anthropic, or an on-premises model. It oversees specialist agents that carry out the responsibilities in the state diagram. Model choice and workflow responsibility are separate: the supervisor’s job remains coordinating the work even when its underlying model changes.
For example, an insight agent visits social media, collects sentiment about the client’s products and writes its findings into the insight portion of a centralized knowledge graph. Other agents update their corresponding portions of that same graph. Their outputs accumulate in a unified taxonomy intended to reflect how a marketing strategist organizes evidence.
A human team might keep similar decision material in SharePoint or a collection of folders. Here, explicit relationships connect it for subsequent reasoning. Lam acknowledges that the final answer depends on the model, but places particular weight on the taxonomy and graph structure: the advisor needs the right organization of evidence to make a useful decision. That leads to a closer examination of the competitive-analysis component.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
What a graph contributes to competitive analysis
Why use a knowledge graph, with a database such as Neo4j, for this work? Lam gives five reasons for preferring it to traditional vector RAG in his competitive-analysis application:
- Relationship context. Explicit connections between entities can expose gaps in competitor awareness and preserve nuances that matter to a strategy.
- Accuracy and relevance. Structured data and semantic relationships can narrow the evidence used in an answer and reduce noise. For a marketing advisor, inaccurate data can lead to bad decisions—and, as Lam emphasizes, cost a contractor the client.
- Scalability and flexibility. New sources and relationships can enrich the system over time, provided the taxonomy remains suitable.
- Rich queries. Traversing several relationships supports multi-hop questions whose answers require connecting multiple entities.
- Data integration. Pictures, graphics and videos can contribute information through LLM and OCR capabilities, with structured and semi-structured results organized in the graph.
These are the architectural benefits Lam seeks. The common dependency is a graph structure that preserves the relationships relevant to the client’s decisions.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Retrieve the inputs, then calculate
The numerical example makes the distinction concrete. Vector retrieval excels at finding semantically similar passages; it does not itself perform the calculation a market analyst needs. Lam begins with a question about Apple’s revenue in 2022. A retrieval system may return a paragraph discussing the revenue, leaving the required numerical work unresolved.
The graph-driven path separates finding evidence from computing an answer:
- Store the financial data as structured records in an Apple financial knowledge graph.
- Query the revenue figures for 2021 and 2022.
- Pass the selected figures to a function that performs the calculation.
- Return the quantitative result for the marketing decision.
Lam gives 15.23 as the illustrative function output. The slide shows a percentage-change calculation, but the example does not establish the inputs and units behind that number; it should not be read as Apple’s verified fiscal revenue growth. The mechanism is the useful distinction: structured retrieval supplies the operands, and a function supplies the arithmetic.
That separation gives the advisor numerical evidence rather than only a passage that happens to discuss the subject. For decisions based on financial or market quantities, retrieving relevant text and producing the requested calculation are distinct responsibilities.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Choose the architecture from the question
The choice is not an all-or-nothing replacement of RAG. Lam points to LangChain plus Chroma as one way to build retrieval, and notes that it can be combined with a knowledge graph. His architecture slide highlights the wisdom graph he adopts in red. The appropriate combination depends on what the client asks the system to do.
| Client question | Suggested architecture |
|---|---|
| Find product information | Chroma DB with an LLM agent |
| Develop a competitive strategy from current market share | Graph database, Cypher queries and repeated multi-hop retrieval |
The second question requires the system to connect the client’s present position to other evidence before proposing a strategy. Lam describes several loops of querying, rather than one retrieval followed immediately by an answer.
A Cypher pattern match makes the structured-retrieval part explicit. Using an illustrative schema for the Apple example—Company nodes connected to FinancialYear records—the query can select the two operands without asking the model to recover them from prose:
cypher
MATCH (company:Company {name: 'Apple'})
-[:HAS_FINANCIALS]->(financials:FinancialYear)
WHERE financials.year IN [2021, 2022]
RETURN financials.year AS year,
financials.revenue AS revenue,
financials.currency AS currency,
financials.unit AS unit
ORDER BY year;
The schema names illustrate the query boundary, not the client’s database schema. Returning currency and unit alongside revenue keeps the quantities interpretable before a calculation consumes them. A strategic advisor needs further queries and synthesis beyond this small retrieval step; Lam expects the repeated graph-query process to improve the resulting advice.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Extract automatically, refine with the expert
Building the graph introduces another choice: construct it manually, use a fully automated LLM graph transformer, or combine the two. Lam recommends the hybrid approach:
- Use an LLM to extract an initial graph.
- Interview the domain expert to establish the taxonomy the system should use.
- Prune the graph by removing relationships that do not belong in that taxonomy.
The expert’s contribution is therefore not limited to supplying documents. It also determines which extracted connections should survive into the representation used for advice.
Lam reports 91% accuracy and 85% flexibility in his benchmark. He attributes the accuracy result to extracting structure, then names deterministic reproducibility, traceability and scalability as additional evaluation dimensions. The talk does not define the benchmark task, dataset, baseline, scoring methods or conditions, so the percentages cannot establish an expected improvement for another application.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
The graph is a starting point for continued refinement
The ambition is to improve quantitative reasoning and responses to complex questions by giving the system a structured store of expertise. With the right framing, Lam suggests, accumulated knowledge, experience and insight could eventually support capabilities beyond those of the initial expert. He presents that as a possibility, not a demonstrated outcome. A brief “Talk to Jesus” notebook aside follows the conclusion before he turns to the practical starting point.
Lam closes by pointing to a GitHub LLM GraphRAG stack that he describes as sponsored by Neo4j. His proposed handoff is straightforward: start it with Docker, convert text into a graph, then begin pruning. Automatic extraction gets the material into connected form; refining those connections is how the builder shapes it into the domain representation the advisory system needs.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Resources
From the talk
The origins and architecture of Node-RED, including its visual flow editor and Node.js runtime.
Current official instructions for connecting a chat model and tools to n8n's AI Agent node, with version-related behavior notes.
Examples of querying nodes and relationships using Cypher's MATCH clause.
Further reading
Build a Neo4j knowledge graph from unstructured documents using LLM extraction, configurable schemas and Docker Compose deployment.
- Apple's Fiscal 2022 ResultsArticle
Apple's October 2022 announcement reports annual revenue of $394.3 billion and 8% year-over-year growth.
Read the complete timestamped transcript
- 0:00
[upbeat music] So hi.
- 0:16
Hi, everybody. Uh, my name is Chin Keong Lam. Um, I'm a founder and CEO of Patho.ai. Uh, bit of background about my company. Uh, Patho.ai started two years ago with, uh, invitation from National Science Foundation, from the SBIR grant funding investigating LLM embed.
- 0:34
We did, uh, LLM embed-driven, uh, drug discovery application. Uh, since then, we branch out to leverage what we learned about building AI system for large corporation. We are currently building expert AI system for several clients.
- 0:49
Currently, the system we build goes beyond RAG system. Um, many of our client is asking for AI system that perform tasks like, uh, research and advisory role based on their area of interest.
- 1:01
Uh, today, the talk is about sharing with our fellow AI engineer what we learned so far building this kind of system. Okay. Uh, what is knowledge? Okay, generally, philosophically, I say, uh, knowledge is the understanding and awareness gained through experience, education, and a comprehension of facts and principle.
- 1:20
And that lead to the next question, is what is knowledge graph, right? So knowledge graph is a systematic method of preserving wisdom by connecting them and creating a network or interconnect relationship.
- 1:32
That's important. The graph represent a thought process
- 1:36
and comprehensive taxonomy of a specific domain of expertise. That's why this is, is very important for people moving forward. It's about AI system that think a lot and return, uh, advice instead of just retrieve, you know, data from your database, right?
- 1:53
So that comes to the development of this, uh, KAG. Okay, what is KAG? KAG stands for Knowledge-Augmented Generations, and it's different from RAG, okay? It is enhanced language model by integrating structured knowledge graph for more accurate and insightful response, making it smarter, more structured approach than a simple RAG.
- 2:14
KAG doesn't just retrieve. Remember, it understand. This is different.
- 2:21
Okay. After inve- interviewing a lot of my client, okay, so, uh, we also are expert in a certain area of scale. I found that there are common ways of their thinking, decision-making process.
- 2:34
The way that make them expert in their area, knowledge graph seems to be a perfect fit. So here is a graph or state diagram if you are computer engineering grad like me.
- 2:44
So, um, it shows wisdom, the f- the wisdom node, as you can see, is the, is the core, right? It's wisdom, it just isn't static. It actively guide decision and fused by other element.
- 3:02
The output from the wisdom actually goes to decision-making in the blue, right? Wisdom isn't passive. It guide decision, helping us choose wisely, okay? And then the decision-making analyze the situation given in the circle in the, uh, green.
- 3:20
And decision aren't make, you know, in a vacuum, okay? They analyze real-world situation. That's the difference, okay? So look at the wisdom input, okay? Look at the relationship feedback from the knowledge to wisdom in gold color.
- 3:36
Example of that is knowledge to wisdom, like all your book smart and encyclopedia, Wikipedia, whatever you store. Plus, once that data get absorbed by LLM, whatever model you use out there, it need to regurgitate that and understand.
- 3:55
That's why it's very important that wisdom is able to synthesize the data after you ingested knowledge. You know, that's a kind of abstract, but I'll, I'll come, come to that later, what I'm talking about, okay?
- 4:05
Okay, from insight. Example of that is wisdom derive pattern from chaos. Like, some of my client has a lot of social media. They, their product, how do they, you know, track their product sentiment from, from social media, right?
- 4:19
Sometimes it's very chaotic. And from X tweet, right? So, so from that, you can see some pattern of their competitor versus, uh, current what my product is. That, that's like example of that, and I will go to that later.
- 4:31
Okay. When all these connected nodes matter together, why do they matter? All the nodes relate to one another to ever increase, um, enriching our wisdom storing system. Okay, this talk is about storing wisdom, right?
- 4:45
So knowledge tells you what it is, right? And experience tell you what worked before. Insight invent what to try next. Right? Like a pizza, knowledge is recipe.
- 5:01
Experience is knowing your oven burn crust. Insight is like, hey, it is at adding, you know, honey to the crust, it will caramelize perfectly, right? So the most important part of the knowledge graph is feedback loop, okay?
- 5:16
Feedback isn't one-way street. It learn from itself. Look at the feedback from the, uh, going back to all the node from insight to wisdom, okay? Um, situation inform future wisdom.
- 5:29
Experience deepen it. Insight sharpen it. Like a tree growing roots. The more it fed, the stronger it get. Now, I want to ask you a question, in general. Where do you see this circle in your life?
- 5:44
Maybe a tough decision that, you know, taught you something.
- 5:50
So one practical application for leadership is wisdom. Avoid knee-jerk reaction by learning from feedback. As for personal growth, ever notice how past mistake make you wiser? That's the loop into action.
- 6:05
All this. So the takeaway from the slide in this is wisdom isn't a trophy you earn. It is a muscle you exercise. The more you feed knowledge, experience, insight, the more that guides you.
- 6:19
Now, I will show you how it being mapped to my current client. You know, all this is like very abstract, right? So how I-- one of my clients actually doing a competitive analysis, uh, they used to have a marketing department doing that, but they want AI to do that, right?
- 6:36
They, they asked me to build a system. This exactly what I did with the same taxonomy of storing all this. So this tax-taxonomy will be... Later on, I talk about how multi-agent is going to handle all that.
- 6:49
Here is one of the chatbot that I built for my client to do, you know, not just some, uh, we-- not just some chatbot, okay? It's our Wisdom Graph-powered AI designed to turn data into strategy, right?
- 7:01
Dominant. So what kind of question I talk about? Talk about how do I win my competitor in this market space? That's kind of very sophisticated question, right? So without, uh, if, if you do simply just RAG by...
- 7:11
First speaker talk about RAG, right? So it's not going to cut it. They're not going to able to answer that kind of question, okay? What I did is this.
- 7:18
Uh, we retain the same taxonomy and, uh, the wisdom is then mapped. The same engine there, the wisdom engine. Wisdom engine is like a orchestration agent that does a lot of decision-making, including advising what the, the LLM is able to see based on the current situation, what to do next, right?
- 7:34
So, um, what I did is, uh, for the, uh, decision-making, I map it to a strategy generator. So these customers talk- are talking about a competitive analysis, right? So, um, I map the knowledge.
- 7:46
In term of knowledge, what do they have? They have market data, right? So I map this experience to HP. It's one of a kind, okay? Past campaign. So they have a lot of campaign, doing a lot of, uh, marketing.
- 7:59
And then, um, the insight is actually mapped to, uh, in-industrial insight. They have a database doing, storing that. And then, of course, the most important is this, the s-situation.
- 8:10
The situation is how, how am I doing? How my product selling, right? So, so that, that is like a situation, and then I map that to a competitor winners.
- 8:19
That means to say, if you make sh- the LLM aware of that, you probably get a very good answer, and then, you know, the chatbot will probably be doing the right thing, advising.
- 8:30
So from here, very high level, you know, state diagram, all that. How do I map it to a system that drive? Well, here comes the trick. So anybody here heard of n8n?
- 8:42
All right. All right. It's all good. So, so I, I first encounter similar situation when my, my past IoT project, which is Node-RED developed by, uh, uh, IBM, right?
- 8:53
So it's the same kind of thing. It's like no code. But, but underneath the hood, there's a bunch of code, okay? It's all Node.js code, okay? So, uh, but, but for the, for, for proving your concept and all that, it's very, very, very flexible.
- 9:05
And I, I re-highly recommend that. And, and, and here, here you can take a look at the, the workflow, the workflow. I enable the implementation of this complicated state diagram with, um, uh, what I say is there is a different community node.
- 9:18
One of the very powerful node is the AI Agent node. Well, previously, n8n is just a workflow automation tool. I'm not selling for n8n here. I'm just telling you I'm using it, uh, for pro-prototyping.
- 9:28
Uh, further down the road, maybe the client say, "Oh, it's too... Like I, I really need to, you know, go lightweight." Maybe we will switch over to some other LangChain or whatever.
- 9:37
But, uh, we actually use this. I, I mapped the previous, uh, state diagram from the wisdom engine. I actually mapped that to our, our wisdom agent. Okay, wisdom agent is now have the option to drive a different model, like OpenAI model, Anthropic model, and even on-prem model.
- 9:54
And then that, the key in making the state, uh, mach- the state machine work is that my wisdom agent is now overseeing, like a supervisory agent, uh, all these other agent that do, uh, whatever I say on the state diagram logic.
- 10:07
Um, for example, the, uh, state of, uh, going into a node of insight. Insight a-agent will has to do, go to the social media, look for the sentiment of all your product, and then collect that, and then pump that.
- 10:22
The... You can see that at the dot at bottom that, that we are connected to a, a, a, a, a centralized, uh, graph. The centralized graph will be able to get updated by different agent.
- 10:34
Uh, insight agent will update the, their, their perspective, like part of that graph for the, uh, as I say, for this particular, uh, uh, insight node. So, so all the unified knowledge graph will contain the taxonomy that eventually just think like the marketing strategies.
- 10:54
The way that they, they was probably, if you are doing manually, they probably would think in your, in your SharePoint or all this, you know, folder will store the same kind of, uh, you know, wisdom I call it, to make decision based on that.
- 11:07
So the, the final decision is LLM also depend on the model that you use. Uh, but I, I, I, I pretty much think that not really the way that I think the final decision come when you make a right decision from the advisor output is basically depend on all the taxonomy, the graph structure.
- 11:24
That's very important. So come to that, I, I want to go deep down how I implement one of the node, uh, just to go a bit technical on this competitive node, how do I implement that.
- 11:34
Okay, before I do that, okay, competitive analysis, right? Why, why, why you can actually just use RAG? Why do you want to use a knowledge graph like now Neo4j?
- 11:43
Well, if you ever been asked that question, tell them these five, uh, five reason. Okay, first reason is knowledge graph, you know, uh, system excel at capturing and representing complex relationship with the entities.
- 11:56
That is covered by the first speaker, but I'll just reiterate that. This lead to a deeper contextual understanding, which is crucial for competitive analysis, where this, in this case, the nuance insight can be- Signific-- make a significant difference, okay?
- 12:09
You want to find the gap in your computer awareness. Now, this is very important. The second is improve accuracy. By leveraging structured data and semantics relationship, knowledge graph can provide more accurate and relevant information compared to traditional vector RAGs.
- 12:24
Um, this ensure generated content is not only relevant, but also precise and reduce the noise and improve decision-making, making. This, in this case, the bot is supposed to help the guy that is marketing department make decisions.
- 12:37
So, so you better make this work. Improve accuracy. Any inaccurate data, you will be out of the contract, out of the door, right? So the, the very important, okay, you are talking a contract work like me, I have to make the RAG as accurate as possible.
- 12:49
So the third is scalability and flexibility. The graphic, you know, knowledge graph are inherently scalable and can integrate to new data source and relationship. The flexibility allow the continuous improvement.
- 13:00
As I say, if your taxonomy is correct, you will continue to improve and, and reach, right? So, so that is important. And also, rich query capability. Knowledge graph support complex query, traverse to multiple relationship entity, provide richer and more detailed insight.
- 13:16
This is particularly advantage for a competitive analysis where multifaceted query like, like what the first speaker said, it is super authoriously good in answering things that normal, normal, uh, normal RAG will fail.
- 13:28
It's like multi-hop question, okay? This is very important. And then the final one is the enhanced data integration. Uh, knowledge graph can seamlessly integrate diverse data source, pictures, graphics, videos.
- 13:42
Uh, however it is, now that LLM is so powerful, we have OCR capability, it can do that. As long as you have a right structure of the graph, semi-structure and structure, the holistic approach ensure comprehensive view of the competitive landscape enable more informed strategic decision-making.
- 13:58
Okay. So one of the-- This is, uh, I'm gonna just very briefly go through this. It's just a, a example of the some of the thing. Like, um, problem of a vector's RAG, you know.
- 14:08
Vector RAG is really, really bad in answering limited numerical res-reasoning. Vector store Excel, you know, at semantic sim-similarity, but struggle with complex numerical calculation. This is why, uh, for, uh, market an-analysis, uh, that I'm building the chatbot for, uh, they actually rely on number instead of just, you know, returning example like this, like kind of...
- 14:30
If you ask like, uh, what is the Apple, uh, revenue, uh, between, uh, two, uh, you know, what's the revenue in two thousand twenty-two? They, they probably will give you a bunch of these kind of a passage, right?
- 14:42
Retrieve a graph. Instead of, uh, this kind of a very, very precise thing like, uh, the, the answer is, uh, you know, uh, knowl-knowledge graph is able... Because the, uh, the, the, the data is already there in structured form.
- 14:54
The data source assume a knowledge graph name, this particular, uh, in, in this particular case, Apple financial data. The query will be able-- The query engine will be able to select the, the revenue figure from twenty twenty-one to twenty twenty-two, and, and then do a function call.
- 15:09
The function call will eventually give, come out with fifteen point two three, which is exactly what the marketing guy was looking for. A very quantitative stuff that most of the decision were based on that because you have the evidence, not just some passage that you retrieve from the data.
- 15:23
It, it's basically evidence-based decision-making. It's very important for this kind of, uh, complicated RAG system that, you know, uh. So, um, there's a jungle out there right now. You can use different kind of, uh, uh, uh, uh, uh, of thing to build yours, uh, you know.
- 15:38
Uh, this is just a snapshot of that, you know. You can actually use, uh, LangChain plus Chroma to, to build your own RAG, and then you also can combine that with your knowledge graph.
- 15:48
Depend on, on, on your user case, okay? If, if, uh, the, this slide show that the RAG and the KAG can be built with many, okay. I adopt that wisdom graph in red color.
- 15:59
Normally, you will see if client is just asking for a simple RAG that perform product information query, you can just use a simple Chroma DB with LLM agent. And if you start to ask so complicated questions like, "How can I beat my competition based on my current market share?"
- 16:15
Well, this will be able, the, the, uh, the, the, the thing that I will probably be adopting is knowledge graph here with, uh, graph DB plus Cypher query and it will create A and A, and also train my RAG to perform several loop of, uh, we call multi-hop query.
- 16:32
And this probably will give a very good answer.
- 16:35
So, uh, and then it come to the another question. When I was trying to extract my, uh... Oh, I think my time is, uh, is almost up. Okay. So anyway, this is like to say, uh, the first speaker talk about the extraction, right?
- 16:49
There's a very simple way to extract. On the right side is, like automated, totally automated LLM graph transformer. On the left is like manual. I would probably rec-recommend the center hybrid model, which is like after you use the LLM to extract your graph, you ask to interview the, the expert that you're gonna build, uh, to, to build
- 17:06
a taxonomy, right? To prune the graph. We call it pruning a graph. Remove a lot of relationship there. Then that, that will be okay. And, um, I will try to just highlight this.
- 17:15
This is the result of benchmark that we did. Okay. Anybody ask you, you know, why you want to use graph, right, or KAG? Okay. First is accuracy. I had achieved ninety-one percent because it's really good in extract structure.
- 17:26
Second is flexibility, eighty-five percent. Third is rebo-ducibility, reproducibility, deterministic. And then the fourth one, traceability. And finally, uh, most important is scalability. So in conclusion,
- 17:41
by leveraging structured nature of wisdom knowledge graph, we can significantly enhance the quantitative capability of KAG system and enable more accurate and insightful response to com-complex query. By using wisdom-driven system as highlighted, together we can build smarter AI system that can scale and store wisdom with the right framing, potentially surpass the, uh, intelligence of the initial expert
- 18:04
that we meant to serve. [audience applauding] So we, uh, talk to Jesus, you know. What do Jesus do? Talk to Jesus. He's in, uh, in, in a notebook. This is my good friend.
- 18:15
And, uh, anybody that want to build graph, we have a good, uh, so-called LLM GraphRAG, a stack on GitHub that, um, is sponsored by Neo4j. And out of the box, just spin up your Docker.
- 18:27
The next thing you know, your text is going to be converted to your graph, and you can start happy pruning your graph. Thank you. Thank you so much. [audience applauding] [outro music]