GENAI 102
M06 · L04
Grounding, Revisited

More Than One Way to Ground

Vector search is the famous option, but it isn’t the only one. The right representation of your knowledge depends on your data and the questions people will ask of it.

01 / 08
GENAI 102
M06 · L04
The Menu

Three Representations

Each stores knowledge in a different shape, and each answers a different kind of question well.

  • Vector index — search by meaning and similarity
  • Knowledge graph — entities and the relationships between them
  • Semantic layer — a structured view over your database or records
02 / 08
GENAI 102
M06 · L04
When Vectors Win

Reach for a Vector Index

Use it when your data is unstructured text and the query is essentially “find me passages that are similar to this.”

Good fit
Documents, notes, articles — where meaning matters more than exact fields, and “find similar” is the whole job.
03 / 08
GENAI 102
M06 · L04
When Structure Wins

Reach for a Graph or Layer

Use these when the answer needs to be exact and relational, not a fuzzy similarity match.

  • Knowledge graph — connected facts: who reports to whom, which task links to which note
  • Semantic layer — structured records you query precisely, the way you would query a database
04 / 08
GENAI 102
M06 · L04
In Practice

Real Systems Mix Them

You rarely pick one and stop. A serious system often runs several representations at once — vector search over the prose, a structured query over the records. Pick per query type, not per fashion.

05 / 08
GENAI 102
Build It
Choosing for Your Data

Build It

How to implement: classify your data. Is a typical question “find similar text,” “traverse relationships,” or “query structured records”? That answer picks the representation for you.

  • Weekly AI Tasks tracker — tasks and notes are structured records with links, so a semantic layer over the database fits better than pure vectors, plus light vector search on note text.
  • Personal brand site — mostly a small set of documents, so a simple vector index — or even including them directly — is enough.
06 / 08
GENAI 102
Knowledge Check

Check what stuck

Three questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

07 / 08
GENAI 102
Summary
Recap

What you learned

Three representations — vector index, knowledge graph, semantic layer. Vectors for similar text, graphs and layers for exact relational answers, and real systems mix them by query type.

08 / 08