This repository accompanies the Mastering Retrieval-Augmented Generation with the Neo4j GraphRAG Package on GraphAcademy.
For a complete walkthrough of this repository, enrol now.
To run the solution tests:
-
Create Neo4j instance with the
recommendations
dataset -
Run the following Cypher scripts:
-
Create a virtual environment and install the requirements.
pip install -r requirements.txt
-
Install
pytest
pip install pytest
-
Create a
.env
file in the root directory. Use.env.example
as a template. -
Run the tests
pytest 1-knowledge-graphs-vectors\solutions\ pytest 2-neo4j-graphrag\solutions\