Using Neo4j with LangChain
Learn how to use Neo4j in your GenAI applications with LangChain
In this 1-hour course, you will learn
In this course, you will learn how to integrate Neo4j into your LangChain applications, enabling you to leverage the power of graph databases in your 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. workflows.
You will learn how to:
- Use the
langchain_neo4jpackage to interact with Neo4j through a LangChain application. - Create 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. 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. 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..
- Implement and customize a text-to-Cypher retriever.
- Create a simple LangChain agent that interacts with Neo4j.
This course uses models from OpenAI, although you can use the model and supplier of your choice.
Prerequisites
Before taking this course, you should have:
- A basic understanding of Graph Databases and Neo4j
- Knowledge of Python and basic familiarity with LangChain
We recommend taking the following courses:
If you are new to LangChain, we recommend completing the LangChain Build a simple LLM application and Build a Chatbot tutorials.
To complete the practical tasks within this course, you will need an OpenAI API key.
Integrating Neo4j using LangChain
GraphRAG
Vectors
Text to Cypher