This Python program runs Llama 3.2 3B in a local environment and creates a graph-based RAG database.
- graph_generation.py: Converts documents into graph data and saves it to a Neo4j graph database.
- graph_retrieval.py: Retrieves graph data related to the user's question and provides an answer.
- Start the Neo4j database:
docker compose up -d
- Generate the graph database:
python graph_generation.py
- Use the graph RAG:
python graph_retrieval.py