← Evidence Lab

Evidence Lab release

v1.0.0

Evidence Lab is a free open source platform that provides a document pipeline, search, and AI-powered information discovery and evidence mining tools. Point it at a folder of PDFs, configure via a single config.json, and get a fully searchable, AI-enriched document collection.

Explore the hosted version at evidencelab.ai (opens in a new tab), populated with ~20,000 United Nations humanitarian evaluation reports.

Processing Pipeline

  • PDF/Word parsing with Docling — hierarchical structure detection, footnotes, images, and tables
  • Chunking & enrichment — footnote resolution, image association, hierarchical semantic chunking
  • AI summarization — map-reduce LLM summaries using document structure
  • AI tagging — section classification and configurable document-level taxonomies (e.g., SDGs)
  • Multi-vector indexing — dense (multilingual-e5-large, Azure text-embedding-3) + sparse (BM25) in Qdrant

Search & Discovery

  • Hybrid search with Reciprocal Rank Fusion (semantic + keyword)
  • Reranking via Cohere (Azure Foundry) and Jina (Huggingface)
  • Field boosting — detects countries/organizations in queries, promotes or filters matching results
  • Recency boosting — Gaussian decay to favor newer documents
  • AI search summaries — synthesized answers from top results
  • Heatmapper — experimental trend visualization across document dimensions
  • Semantic highlighting — cross-lingual phrase highlighting in results
  • PDF preview — in-document search with page-level deep linking
  • Translation — search result translation into 10+ languages

Administration

  • Documents dashboard — corpus breakdown by organization, year, type, language, country, format
  • Data grid — filterable document table with status tracking and direct PDF/web links
  • Chunk inspector — raw JSON, text, and vector content for debugging
  • TOC editor — inspect and adjust AI-inferred section classifications
  • Pipeline controls — re-trigger processing for individual documents
  • Error traceability — full error logs and stack traces

Technical Stack

  • Containerized — fully dockerized with Docker Compose
  • Frontend — React + TypeScript
  • Backend — FastAPI + LangChain + Qdrant + PostgreSQL
  • Model-agnostic — supports Huggingface and Azure Foundry models

Design Philosophy

  • Runs on a desktop — process 20,000 documents for less than $50
  • Configurable via a single config.json
  • Progressive complexity — start simple, layer on features without reprocessing
  • Observable — built-in monitoring and quality exploration tools

Getting Started

See the README (opens in a new tab) for setup instructions.

License

MIT