Gen AI Leadership Forum · Development Bootcamp
From RAG to GraphRAG

Building Production-Ready Knowledge Systems

Pure RAG breaks the moment a query needs logic — multi-hop, numerical, relational. In 8 hands-on hours, build production-grade GraphRAG in TypeScript: semantic search fused with knowledge-graph reasoning, a full 6-step ingestion pipeline, and a 4-level fallback chain. Three codebases you keep. Zero notebooks.

Format
8-Hour Intensive
Level
Intermediate–Advanced
Language
TypeScript / Node.js
Deliverables
3 Working Codebases
5
critical RAG failure modes directly solved
6
step ingestion pipeline built end-to-end
3
production codebases to take home
5
learning blocks, zero skill gaps

Why pure RAG isn't enough

No Logical Reasoning

Multi-hop queries like “Who is the CEO of the company that acquired John’s startup?” fail completely.

Weak Numerical Context

Financial queries such as “revenue growth above 20% in Q3” produce unreliable, untrustworthy results.

Poor Temporal Logic

Deadline and trend queries lack the precision needed for accurate business decisions.

Fragmented Knowledge

Answers requiring four or more documents are incomplete and cannot be synthesised reliably.

No Relationship Traversal

“Which products depend on this failing service?” returns nothing useful from a flat vector store.

Five progressive learning blocks

Block 01 · 1 hr 45 min

Foundations: From RAG to GraphRAG

Understand why RAG fails on complex queries and how knowledge graphs solve logical, numerical, and relational gaps.

RAG limitationsKAG componentsKnowledge graph fundamentals
Block 02 · 1 hr 30 min

GraphRAG Architecture & Hybrid Pipeline

Implement the full 6-step ingestion pipeline — from raw document to a queryable, mutually indexed knowledge graph in TypeScript.

MilvusNeo4jBERT NERMutual indexing
Block 03 · 1 hr

Intelligent Query Processing

Build a smart query planner that routes to the right retrieval strategy and fuses vector and graph results optimally.

Query routingSemantic vs structural60/40 result fusion
Block 04 · 2 hrs

Three Production Use Cases + Labs

Build three real-world systems — academic research, legal case law, and customer support — each powered by hybrid GraphRAG.

Research assistantLegal searchCustomer support
Block 05 · 1 hr

Production, Performance & Best Practices

Optimise, harden, and monitor your GraphRAG system with resilience patterns, tuning, and production-grade observability.

HNSW tuning4-level fallbackCircuit breakerp50/p95/p99
Wrap-Up · 15 min

Architecture Decisions & Next Steps

Leave with a clear decision framework for when to use each approach and curated next projects to consolidate skills.

Pure RAG vs KAG vs GraphRAGDecision matrixCommunity resources

The 6-step ingestion pipeline

01

Chunk

Split into 512-token sentence-boundary chunks with 64-token overlap for context continuity.

02

Embed

Generate text-embedding-3-large vectors → store in Milvus with HNSW indexing.

03

Extract Entities

Run BERT NER: PERSON, ORG, LOCATION, PRODUCT, DATE, MONEY entity types identified.

04

Extract Relationships

LLM identifies WORKS_AT, FOUNDED, ACQUIRED, CITES, SOLVED_BY typed relationship edges.

05

Build Graph

MERGE entities and relationships into Neo4j with typed nodes, edges, and Cypher properties.

06

Mutual Index

Bidirectional MENTIONED_IN edges link graph entities ↔ text chunks for hybrid retrieval.

Three deliverables you leave with

01

Research Assistant

Academic research · ~40 min — paper ingestion → citation network → hybrid search across author, topic, and citation graph. Influence scoring via PageRank.

Neo4j PageRankCypher multi-hopBERT NER
02

Legal Document Search

Legal / case law · ~40 min — case-law processor → precedent-chain traversal → overruled-case detection across 20 ingested cases.

Cypher CITES*1..NCitation regexLLM disambiguation
03

Intelligent Support System

Customer support · ~40 min — 500-ticket knowledge graph → solution recommender → auto-linking at 0.85 confidence threshold.

Effectiveness scoringSIMILAR_TO edges

The 4-level fallback chain

Level 01

Full hybrid query

30-second timeout — vector + graph in parallel via Promise.all().

Level 02

Vector-only semantic search

10-second timeout — Milvus HNSW search only.

Level 03

Redis cached result

Subgraph cache lookup — near-instant if warm.

Level 04

Structured default response

Graceful degradation — always returns something useful.

Built differently from day one

01

Failure-mode driven

Curriculum starts from RAG's real limitations — every KAG concept feels necessary, not theoretical.

02

TypeScript-first

All implementation in real, deployable TypeScript — not Python notebooks or pseudo-code.

03

Architecture-first

Every choice — HNSW params, fusion weights, chunk strategy — explained with the reasoning behind it.

04

3 complete deliverables

Working codebases across three industries — not exercises. Adaptable to real enterprise problems.

05

Production resilience

Circuit breakers, 4-level fallback chains, Redis caching, and p95 monitoring built in from day one.

06

Full modern stack

Milvus, Neo4j, OpenAI embeddings, BERT NER, Redis, Docker — one cohesive stack in a single day.

Full day at a glance

08:30

Registration & Environment Setup

30 min — Docker Compose spin-up for Milvus and Neo4j, .env config, API-key validation.

09:00

Block 1 — Foundations: From RAG to GraphRAG

1 hr 45 min — RAG limitations, KAG components, knowledge graph fundamentals.

10:45

Break

11:00

Block 2 — GraphRAG Architecture & Hybrid Pipeline

1 hr 30 min — Full 6-step ingestion pipeline, Milvus HNSW, Neo4j, BERT NER, mutual indexing.

12:30

Block 3 — Intelligent Query Processing

1 hr — Semantic / structural / hybrid routing, parallel search, 60/40 fusion.

13:15

Lunch Break

14:00

Block 4 — Three Production Use Cases + Labs

2 hrs — Research assistant, legal document search, intelligent support system.

16:00

Block 5 — Production, Performance & Best Practices

1 hr — HNSW tuning, 4-level fallback chain, circuit breakers, p50/p95/p99 monitoring.

17:00

Wrap-Up, Architecture Decisions & Next Steps

15 min — Decision matrix, project ideas, community resources.

What you'll work with

Language
TypeScript / Node.js
Vector DB
Milvus (HNSW)
Graph DB
Neo4j + Cypher
LLM
OpenAI gpt-4o
Embeddings
text-embedding-3-large
NER
@xenova/transformers
Containers
Docker Compose
Validation
Zod
Caching
Redis

Move beyond flat retrieval.

Eight hours, five blocks, three GraphRAG codebases in TypeScript. October 21, 2026 · OTEAcademy Athens.