3.4 · Lesson

Retriever

In this lesson, you will use the GraphCypherQAChain to add a text to 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. 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 the LangChain agent.

Open the genai_integration_langchain/cypher_retriever.py file and review the code: