Overview
ParallelDocQA processes large documents in parallel by splitting them into chunks, analyzing each chunk concurrently, and then synthesizing results using RAG retrieval.
Class Signature
How It Works
- Parse & Chunk: Documents are split into chunks (~1000 tokens each)
- Parallel Analysis: Multiple agents process chunks concurrently
- RAG Retrieval: Relevant content is retrieved from all responses
- Final Synthesis: Summary agent generates final answer