Skip to content

Comment on KAG – Knowledge Graph RAG Frameworkparent

Comments

There are lots of ways to go about RAG, many do not require graphs at all.

I recommend looking at some simple spark queries to get an idea of what’s happening.

What I’ve seen is using LLMs to identify what possible relationships some information may have by comparing it to the kinds of relationships in your database.

Then when building the spark query it uses those relationships to query relevant data.

The llm never digests the graph. The system around the llm uses the capabilities of graph data stores to find relevant context for the llm.

What you’ll find with most RAG systems is that the LLM plays a smaller part than you’d think.

It reveals semantic information (such as conceptual relationships) and generates final responses. The system around it is where the far more interesting work happens imo.

i'm talking about a knowledge graph that explicitly stores data (=knowledge) as a graph and the question is how this solution establishes the connection to the llm. so that the llm uses the data ... anyway, never mind :)

You’re not reading my comments…

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.