GitHub - Signorf/llm-chatbot-python: https://graphacademy.neo4j.com/courses/llm-chatbot-python/

Build an Neo4j-backed Chatbot using Python

For a complete walkthrough of this repository, enrol now.

Open in GitHub Codespaces

Running the application

To run the application, you must install the libraries listed in requirements.txt.

pip install -r requirements.txt

Tests

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

  5. Create a secrets.toml file in the .streamlit directory. Use secrets.toml.example as a template.

  6. Run the tests