Course · Part of Generative AI & GraphRAG

Neo4j & GenerativeAI Fundamentals

Learn how knowledge graphs, vector search, and GraphRAG ground LLMs in facts. Build RAG pipelines and retrievers in Python to stop hallucination.

2 hours15 lessons across 4 modules
About this course

In this 2-hour course, you will learn

Neo4j & GenerativeAI Fundamentals teaches you how to ground large language models (Go to glossary for large language model (opens in a new tab)A model trained on text to predict the next token, and so to generate language.) in facts using knowledge graphs, Full definition for vector search (opens in a new tab)Finding the records whose vectors lie closest to a query vector., and Full definition for GraphRAG (opens in a new tab)Retrieval-augmented generation whose context comes from a knowledge graph, so the model can follow the relationships between facts.. In around two hours you will move from the core concepts of Go to glossary for generative AI (opens in a new tab)Models that produce new content rather than classifying or scoring content that already exists. to writing Python code that retrieves trusted answers from a Neo4j database.

LLMs are trained on public data with a fixed cutoff date, so they know nothing about your business, your documents, or anything that happened after training. When they lack information, they can respond with confident but false answers, known as Go to glossary for hallucination (opens in a new tab)A false statement made confidently by a language model.. Retrieval Augmented Generation (Full definition for retrieval-augmented generation (opens in a new tab)Fetching relevant context from an external data source as additional context to inform a language model's response.) addresses this by supplying the model with relevant context at question time, and GraphRAG strengthens it further by drawing that context from a Full definition for knowledge graph (opens in a new tab)A representation of real-world entities and their relationships, stored according to organizing principles, typically in a graph database.. This course explains how the pieces fit together and gives you hands-on practice with each one.

  • Generative AI Fundamentals

    Understand how generative AI models produce text, where hallucination originates, and why grounding responses in factual data is essential for production applications.

  • Large Language Models

    Learn how LLMs process prompts, generate tokens, and use context windows — and apply that knowledge to craft effective prompts for graph-backed AI applications.

  • RAG

    Build retrieval-augmented generation pipelines in Python that retrieve relevant documents from Neo4j and supply them as grounded context to an LLM at query time.

  • GraphRAG

    Apply GraphRAG techniques to combine vector similarity search with graph traversal, retrieving richer, relationship-aware context that flat vector stores cannot provide.

  • Integrating Neo4j with Generative AI

    Configure a Neo4j vector index, store and query embeddings, and wire a LangChain retriever to a Neo4j knowledge graph to serve accurate answers from structured data.