future-house/paper-qa

High accuracy RAG for answering questions from scientific documents with citations

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 30 minutes ago
Added to GitGenius on September 7th, 2026
Created on February 5th, 2023
Open Issues & Pull Requests: 145 (+0)
GitHub issues: Enabled
Number of forks: 917
Total Stargazers: 9,170 (+0)
Total Subscribers: 67 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

PaperQA2 is a retrieval augmented generation tool for answering questions from scientific documents with citations.

The tool addresses the challenge of extracting accurate, cited answers from large collections of scientific literature. It works by ingesting PDFs, text files, Microsoft Office documents, and source code files, then building a full-text search index with cached embeddings. When a user poses a question, the system retrieves relevant document passages and uses an LLM agent to synthesize answers grounded in those sources, returning results with explicit citations. The approach emphasizes high accuracy on scientific tasks including question answering, summarization, and contradiction detection.

Developers should adopt this tool if they need to build applications that answer questions about scientific literature with verifiable sources. It suits projects where citation accuracy and traceability matter more than speed alone, and where the document collection is primarily scientific papers or technical documents. The README distinguishes the tool from LlamaIndex and LangChain by highlighting its specialized focus on scientific literature and its demonstrated superhuman performance on domain-specific tasks, though it does not provide detailed feature comparisons with those frameworks.

The project maintains active development with regular updates to its core algorithms and capabilities. The tool supports both agentic and manual workflows for document processing, allowing users to choose between automated agent-driven indexing or explicit control over the pipeline. Configuration is flexible, with bundled settings for common scenarios, customizable prompts, and support for multiple embedding models including locally hosted options. The system provides caching mechanisms for embeddings and external vector database integration, reducing redundant computation across queries.