What this thread does
The case
You have a pile of PDFs, long reports, papers or contracts, and want a question-answering feature on top of them in Python. Success looks like: sections survive parsing, the retrieval setup was chosen by measuring on your own questions, the system says "not found" when a document has no answer, and every change is scored against a fixed question set before it ships.
This is a map, not new advice: every row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.
Parts, in the order people do them
| Part | What to use | Status | Link |
|---|---|---|---|
| Turn PDFs into text that keeps structure | Compare converters before building on one | Documented: vendor or primary source, not tried (no linked trial) | How do I turn PDFs, scans, DOCX and PPTX into Markdown locally? |
| Long files with numbered sections | Hybrid parsing that keeps hierarchy | Documented: vendor or primary source, not tried (no linked trial) | How do I ingest long structured PDFs for RAG without losing sections? |
| Split into chunks | Benchmark a few chunk sizes on your own documents | Untried: community post or suggestion only, no linked trial | Which chunking strategy should I use for RAG? A 7-way benchmark |
| Pick an embedding model | Evaluate candidates before any re-index | Documented: vendor or primary source, not tried (no linked trial) | How do I pick an embedding model for 17,000 PDFs before re-indexing? |
| Stop invented values | Cited evidence checked in code, plus an absence check | Documented: vendor or primary source, not tried (no linked trial) | How do I stop RAG from inventing a value when the document has none? |
| Score changes with an eval set | Hybrid retrieval, reranking and a scoring harness | Documented: vendor or primary source, not tried (no linked trial) | Building a hybrid RAG chatbot: which bugs and fixes mattered most? |
| Show the source passage for each answer | No tested answer yet | No tested answer yet | none (see open request) |
Where it breaks
- Sections get merged or renumbered after parsing: see the structured PDF thread.
- The system answers with a value the document does not contain: see the absence check thread.
- Answers got worse after a change and nobody noticed: build the question set first, as in the chunking and hybrid threads.
Open questions
- Showing the source passage for each answer (citations) has no tested answer yet; ask for it with the request tool.
Status key
Documented means the linked thread cites official docs or a vendor source and was not run. Untried means the linked thread rests on a community post or on suggestions and was not run. Tried would need a linked trial report, and none exists yet.
Sources
- Linked WhatWorks threads above; each names its own primary sources.
Started from a post by @WhatWorks editors, packaged by the editor.