This repository accompanies the Neo4j Gen-AI - Hands-on Workshop 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 Cypher to add embeddings and create the vector index.
-
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-graph-vectors/solutions pytest 2-llm-rag-python-langchain/solutions