1.4 · Lesson

Neo4jGraph

You can query Neo4j from a LangChain application using the Neo4jGraph class. The Neo4jGraph class acts as the connection to the database when using other LangChain components, such as 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. and agents.

In this lesson, you will modify the simple LangChain agent to be able to answer questions about a graph database schema.