Course

Neo4j and Generative AI Workshop

Build a GraphRAG pipeline in this Neo4j GenAI workshop: extract a knowledge graph from PDFs, add vector search, and create retrievers with Python.

2 hours17 lessons across 4 modules
About this workshop

In this 2-hour workshop, you will learn

The Neo4j and 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. Workshop is a hands-on Neo4j workshop in which you build a complete 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. pipeline: you construct 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. from unstructured PDF documents, enrich it with structured data, add Full definition for vector search (opens in a new tab)Finding the records whose vectors lie closest to a query vector., and finish with a conversational agent built with Python and LangChain.

The course accompanies an instructor-led GraphAcademy session, but nothing about it requires one - you can work through the whole workshop at your own pace, with every exercise running against your own Neo4j instance.

  • The Fundamentals of Generative AI and Large Language Models (LLMs)

    Understand how LLMs generate text, what tokens and embeddings are, and how model parameters influence output quality and relevance.

  • What Retrieval-Augmented Generation (RAG) Is and Why It Is Important

    Learn how RAG grounds LLM responses in external data sources, reducing hallucinations and keeping answers accurate and up to date.

  • How GraphRAG Can Improve the Quality of LLM-Generated Content

    Explore how connecting a knowledge graph to a retrieval pipeline supplies richer, relationship-aware context that plain vector search cannot provide.

  • How to Build Knowledge Graphs from Unstructured PDF Documents

    Apply entity extraction and relationship mapping techniques to convert raw PDF content into a structured Neo4j knowledge graph using Python.

  • How to Enrich Knowledge Graphs with Structured Data

    Merge structured datasets into an existing knowledge graph, linking entities to extend coverage and improve retrieval accuracy.

  • How to Use Vectors in Neo4j for Similarity Search

    Configure vector indexes in Neo4j and write queries that retrieve semantically similar nodes using embedding-based cosine similarity.

  • How to Build Retrievers with the neo4j-graphrag Python Package

    Build vector, keyword, and hybrid retrievers using the neo4j-graphrag library, then connect them to an LLM for grounded response generation.

  • How to Build a Conversational Agent with Neo4j, Python, and LangChain

    Construct a multi-turn conversational agent that queries a Neo4j knowledge graph via LangChain tools to answer user questions accurately.

Before you start

What you need to take part.

  • A GraphAcademy account

    The workshop is delivered here on GraphAcademy, so you need to be signed in to work through the lessons and keep your progress. Creating an account is free.

    Sign in or create an account

  • A GitHub account, or Git on your own machine

    You write code against the workshop-genai repository. The quickest route is a GitHub Codespace, an online editor that clones the code and installs everything for you — that needs a GitHub account.

    If you would rather work locally, clone the repository with Git and run it in your own editor instead. No GitHub account is needed for that.