Course · Part of Generative AI & GraphRAG
Constructing Knowledge Graphs with Neo4j GraphRAG for Python
Learn how to use Python and LLMs to convert unstructured data into knowledge graphs.
About this course
In this 2-hour course, you will learn
In this hands-on course, you will learn how to create knowledge graphs using Neo4j 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. for Python.
You will:
- Use the
neo4j_graphragPython package to build knowledge graphs from unstructured data. - Add structured data to the 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. to improve 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. responses.
- Create Full definition for retriever (opens in a new tab)A component that searches a data source and returns the information relevant to a query. Often used to provide context for a language model. to search the knowledge graph.
- Learn how you can customize the build process to suit your data and use case.
Finally, you will use what you have learned to build a knowledge graph from your data.
Prerequisites
This is an advanced course and you should:
- Understand graph and Neo4 fundamental concepts - Neo4j and Graph Fundamentals.
- Have an understanding of how 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., LLMs, and vector indexes are related to Neo4j - Neo4j & GenerativeAI Fundamentals.
- Be able to read and write simple Full definition for Cypher (opens in a new tab)Neo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. queries - Cypher Fundamentals.
- Understand how you can use an LLM to generate a knowledge graph - LLM Knowledge Graph Construction.
- Have experience with programming in Python.
Create a knowledge graph using Neo4j GraphRAG for Python
Model a knowledge graph of structured and unstructured data
Query a knowledge graph using retrievers
Customize the knowledge graph build process
Course content