This directory contains a complete RAG pipeline demo using LongTracer with ChromaDB + Ollama. It is NOT part of the published longtracer PyPI package.
- Python 3.10+
- Ollama running locally with
llama3.1model - PDF documents to ingest
# From the repo root
pip install -e ".[all]"
pip install pymupdf langchain-ollama langchain-text-splitters langchain-chroma langchain-huggingface
# Copy and edit the env file
cp examples/.env.example examples/.env
# Pull the Ollama model
ollama pull llama3.1cd examples
# Ingest PDFs
python demo_pipeline.py --ingest './your-pdfs/'
# Query with verification
python demo_pipeline.py --query 'What is the main contribution?'- PDF ingestion → ChromaDB vector store
- RAG retrieval + Ollama LLM generation
- LongTracer parallel verification pipeline
- Full trace report with claim-level results