gitwtfhub

wtf is epstein_files_rag?

abhisumatk/epstein_files_rag — explained in plain English

Analysis updated 2026-05-18

34PythonAudience · researcherComplexity · 3/5LicenseSetup · moderate

TL;DR

A local web app that lets you search and ask questions about the unsealed Epstein court documents using AI.

Mindmap

mindmap
  root((Epstein_Files_RAG))
    What it does
      Search court documents
      Answer questions with AI
      Retrieval augmented generation
    Tech stack
      Python
      LangChain
      ChromaDB
      Streamlit
    Use cases
      Explore unsealed documents
      Ask investigative questions
      Run locally or via cloud API
    Audience
      Researchers and journalists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Ask natural-language questions about the unsealed Epstein court documents and get answers grounded in the source text.

REASON 2

Download and index a chunk of the Hugging Face document dataset into a local vector database.

REASON 3

Run the AI model fully locally with Ollama or connect to a fast cloud provider like Groq for answers.

What's in the stack?

PythonLangChainChromaDBStreamlit

How it stacks up

abhisumatk/epstein_files_ragasdfo123/forgewmchrishuber1/kustoforge
Stars343434
LanguagePythonPythonPython
Setup difficultymoderatehardeasy
Complexity3/55/52/5
Audienceresearcherresearcherops devops

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires Python 3.10+, an API key (Groq or OpenRouter) or a running local Ollama instance, and a multi-gigabyte document download.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

Epstein Files RAG Explorer is a Python application that lets you search and ask questions about the unsealed Jeffrey Epstein court documents. It uses a technique called Retrieval-Augmented Generation, where an AI model reads relevant passages from a large document collection and uses those passages to answer your questions, rather than relying on general knowledge. The interface is a web dashboard you run on your own computer. The document dataset comes from a public collection on Hugging Face and is stored in a format called Parquet. Because the full dataset is over 200 GB, the setup script by default downloads only the first 0.5 GB chunk, which is enough for testing. You can increase that amount by changing one number in the ingestion script. Once downloaded, the documents are indexed into ChromaDB, a local vector database that makes it fast to find relevant passages given a question. For the AI model that generates answers, the app supports two options: running a model locally on your own machine using a tool called Ollama, or connecting to a cloud inference service like Groq or OpenRouter using an API key. The README notes that Groq in particular is fast. The app is built with LangChain to coordinate the retrieval and generation steps, and Streamlit to provide the browser-based interface. A key design choice is that the assistant is restricted to the Epstein documents. System prompts are configured to refuse questions outside that scope, so the tool stays focused on the investigative context rather than acting as a general-purpose chatbot. The project is open-source under the MIT license.

Yoink these prompts

Prompt 1
Explain how this app retrieves relevant document passages before generating an answer.
Prompt 2
Walk me through setting up Ollama or a Groq API key to run this project.
Prompt 3
How do I increase the amount of document data the ingestion script downloads and indexes?
Prompt 4
What guardrails keep this assistant restricted to the Epstein documents only?

Frequently asked questions

wtf is epstein_files_rag?

A local web app that lets you search and ask questions about the unsealed Epstein court documents using AI.

What language is epstein_files_rag written in?

Mainly Python. The stack also includes Python, LangChain, ChromaDB.

What license does epstein_files_rag use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is epstein_files_rag to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is epstein_files_rag for?

Mainly researcher.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.