Skip to content

neo4j-graphacademy/genai-workshop

Repository files navigation

Neo4j GenAI Workshop

This repository accompanies the Neo4j Gen-AI - Hands-on Workshop on GraphAcademy.

For a complete walkthrough of this repository, enrol now.

Test

To run the solution tests:

  1. Create Neo4j instance with the recommendations dataset

  2. Run the Cypher to add embeddings and create the vector index.

  3. Create a virtual environment and install the requirements.

    pip install -r requirements.txt
  4. Install pytest

    pip install pytest
  5. Create a .env file in the root directory. Use .env.example as a template.

  6. Run the tests

    pytest 1-knowledge-graph-vectors/solutions
    pytest 2-llm-rag-python-langchain/solutions