This repository accompanies the Using Neo4j with LangChain course on GraphAcademy.
For a complete walkthrough of this repository, enrol now.
To run the solution tests:
-
Create Neo4j instance with the
recommendationsdataset -
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
pytestpip install pytest
-
Create a
.envfile in the root directory. Use.env.exampleas a template. -
Run the tests
pytest genai-integration-langchain/solutions