@@ -74,10 +69,8 @@ Knowhere does not make perfect element-by-element extraction a prerequisite for
-- **Route by format**. PDF and PowerPoint use page-aware parsing, Office and text formats use native structure, and audio and video use speech transcription. Their output shares a chunk and metadata schema.
-- **Progressive ingestion**. Send `ingestion_mode: "progressive"` to `POST /v2/jobs` for a searchable baseline. The baseline can include coarse page sections, one table per sheet, or timestamped transcript segments. Enrichment can add detail after publication. Full ingestion is the default. [Progressive ingestion guide](https://docs.knowhereto.ai/concepts/progressive-ingestion)
-- **Recall without brittle reconstruction**: Pages can be indexed and searched through summaries, entities, source text (if any), and hierarchy even when OCR or layout extraction cannot reliably recover every component.
-- **One navigable memory**: Text sections and vision pages become compatible hierarchy nodes with source evidence, linked assets, and cross-document relationships.
+- **Searchable initial results.** For [supported formats](https://docs.knowhereto.ai/concepts/supported-formats), send `ingestion_mode: "progressive"` to `POST /v2/jobs`. The initial result can contain page groups, a table per sheet, or timestamped transcript segments.
+- **Format-specific enrichment.** Later reads can request more detail for supported formats. Full ingestion is the default and prepares the full parse before initial publication.
## How it Works
@@ -85,111 +78,86 @@ Knowhere runs in two steps: build memory from documents, then let agents retriev
### Step 1: Parse and Build Memory
-- **Route**: Select vision parsing or native parsing according to the document format.
-- **Understand**: Preserve native text structure where it is reliable, or understand complex pages holistically with a vision model.
-- **Publish**: Publish a readable baseline first for progressive jobs, or publish once parsing completes for full jobs.
-- **Build Memory**: Normalize everything into hierarchy-native chunks and store navigation trees, linked assets, citations, and cross-document relationships as agent-ready context.
+Parse the input with the format-specific parser, then publish chunks and index them for retrieval. Depending on the input, chunks can include source locations, links to assets, or a place in the document outline.
### Step 2: Agentic Retrieval
-Knowhere provides the document-memory substrate; the agent decides how to explore it.
+Query a collection of published documents or let an agent navigate it directly with search and reading tools.
-
+
-- **Route per query**. When `use_agentic` is omitted, the query router chooses classic or agent retrieval. Set it to `false` for classic retrieval or `true` for agent retrieval.
-- **Provide the substrate**: Knowhere exposes one corpus schema and the `corpus.*` tools for exact search, fuzzy recall, outlines, full reading, table queries, and assets.
-- **Let the agent explore**: Instead of forcing every query through a fixed navigation pipeline, the agent chooses which tools to call, in what order, and how deeply to traverse.
-- **Stay agent-neutral**: External agents call the same tools directly through MCP or `POST /v2/retrieval/tools/invoke`, without running Knowhere's own retrieval agent. Whichever agent explores the memory, Knowhere resolves its references into traceable documents, sections, pages, and linked assets.
-- **Use structured evidence**. Retrieval returns ordered text and image parts in `evidence`, with source locations in `referenced_chunks`. Citations can include page numbers or transcript time ranges. [Retrieval API reference](https://docs.knowhereto.ai/api-reference/retrieval-query)
+- **Choose a retrieval mode.** Set `use_agentic` to `false` for classic retrieval or `true` for agent retrieval. If the field is omitted, Knowhere chooses the route.
+- **Call tools directly.** External agents can use `POST /v2/retrieval/tools/invoke` to search, inspect outlines, read sections, query tables, or resolve assets. The [MCP integration](https://docs.knowhereto.ai/mcp) also provides tools for navigating published documents.
+- **Read the evidence.** The `evidence` array contains ordered text and image parts. The `referenced_chunks` array contains source citations, which can include page numbers or transcript time ranges. [Retrieval API reference](https://docs.knowhereto.ai/api-reference/retrieval-query)
## FAQ
**Q: What is Knowhere's relationship with MinerU?**
-A: PDF and PowerPoint use vision parsing: Knowhere renders source pages, combines visual interpretation with document profiling and the native hierarchy, and assembles page-grounded hierarchy nodes. MinerU is an optional fine-stage page-text extractor and is off by default. Knowhere does not treat parser-generated Markdown as the source of truth.
+A: Knowhere uses page rendering and document structure for PDF and PowerPoint parsing. MinerU can be enabled to extract page text during detailed parsing. It is off by default.
-**Q: What LLM / VLM dependencies does Knowhere have?**
+**Q: Which models should I configure?**
-A: We recommend [`deepseek-flash`](https://api-docs.deepseek.com/guides/vision/) as a unified model for both Text and Vision workloads. It accepts text and image input, so the same model can handle summarization, hierarchy reasoning, page understanding, and asset descriptions. Knowhere remains model-agnostic: you can use another modelβor separate Text and Vision modelsβfrom OpenAI, Qwen, GLM, Volcengine, or any compatible provider.
+A: Configure a text model for tasks such as summarization and a vision-capable model for tasks that use page images. See the [worker environment example](apps/worker/.env.example) for provider settings. The worker uses DashScope Fun-ASR for speech transcription by default.
-**Q: How is Agentic Retrieval different from traditional RAG?**
+**Q: What does agent retrieval do?**
-A: Traditional RAG does a flat vector lookup and returns isolated snippets. Knowhere's agents navigate the document's section tree and cross-document graph, drilling into the most relevant regions the way a human reader would, returning traceable, well-contextualized evidence.
+A: Agent retrieval uses search and reading tools to find relevant sections and assemble evidence with source references. Applications can use that evidence to build their own answers.
**Q: Does it handle images and tables?**
-A: Yes. Knowhere extracts images and tables, runs them through VLM-assisted summarization and feature extraction, and links them back to their source section nodes. Vision parsing also retains rendered page citations, so agents can return both structured context and the visual source evidence.
+A: Depending on the format, Knowhere can extract images and tables, describe them, and link them to related sections. PDF and PowerPoint results can also include rendered page or slide images.
## Performance Benchmark
-Agents using Knowhere outperform those working from raw documents, Markitdown, Unstructured, or MinerU output on real-world tasks: searching, modifying, and answering questions.
+This figure reports an internal evaluation of agents on search, editing, and question-answering tasks. The measurements apply to the tasks and baselines shown.
-
+
-> **We're not developing the next MinerU β we're building document memory infrastructure that agents can effectively consume.**
-
-### Key Advantages
-
-- **Accuracy**: +36% first-try accuracy and +11% recall over raw documents.
-- **Reliability**: 79% accuracy with feedback, vs. a ~53% ceiling on raw docs.
-- **Efficiency**: Fewer loops, fewer tokens, less time. Agents navigate a structured graph instead of reading monolithic text.
-
-*(Internal evaluation across identical agentic RAG tasks. Baselines: raw documents and parser output fed directly to agents.)*
-
-> [!NOTE]
-> **π Benchmarks are actively expanding.** More parsers and retrieval baselines coming soon.
+[Benchmark figure sources](docs/assets/source/README.md)
## Ecosystem
| Repository | Description |
|---|---|
| [knowhere](https://github.com/Ontos-AI/knowhere) | **This repo.** Backend API and worker: document ingestion, parsing, graph construction, and retrieval. |
-| [knowhere-api-docs](https://docs.knowhereto.ai/) | Public API reference and integration guides. |
| π₯οΈ [knowhere-dashboard](https://github.com/Ontos-AI/knowhere-dashboard) | The web UI. Connects to the API for the full product experience. |
| π³ [knowhere-self-hosted](https://github.com/Ontos-AI/knowhere-self-hosted) | Docker Compose stack for self-hosted deployments. Packages the API, worker, and dashboard together. |
| π [knowhere-python-sdk](https://github.com/Ontos-AI/knowhere-python-sdk) | Official Python SDK for the Knowhere Cloud API. |
| π¦ [knowhere-node-sdk](https://github.com/Ontos-AI/knowhere-node-sdk) | Official Node.js SDK for the Knowhere Cloud API. |
+The [public documentation site](https://docs.knowhereto.ai/) has the API reference and integration guides.
+
## Features
-- **Progressive Ingestion**: Jobs with `ingestion_mode=progressive` publish a usable baseline before background enrichment completes.
-- **Format-aware Parsing**: Vision and native parsing handle different document conditions while producing the same downstream schema.
-- **Vision Parsing**: Frontier vision models make complex PDF and PowerPoint content recallable without requiring perfect element-by-element OCR or layout reconstruction.
-- **Speech Transcription**. Standalone audio and video produce searchable speaker-labeled transcripts. PowerPoint recordings remain linked to the slides that contain them.
-- **Hierarchy-native Memory**: Section nodes preserve document paths, page ranges, summaries, entities, and linked assets instead of returning disconnected chunks.
-- **Cross-document Memory Graph**: Page-derived typed entities and keywords connect related documents across a namespace.
-- **Agent-native Retrieval**: Built-in and MCP-connected agents explore the same corpus schema and hierarchy-aware tools; classic retrieval remains available for deterministic top-K search.
-- **Page-grounded Citations**: Results retain source documents, section paths, page numbers, and rendered visual evidence.
+- **Document outlines** organize chunks by section where the parser can recover document structure.
+- **Linked assets** connect extracted tables, images, and embedded recordings to their source content when available.
+- **Source citations** can include document identifiers, section paths, page or slide numbers, and recording time ranges.
## Supported Formats
-**β Supported**
-
-- [x] `.pdf` `.pptx` β vision parsing (`.pptx` also transcribes embedded audio and video)
-- [x] `.doc` `.docx` `.xls` `.xlsx` `.csv` `.tsv`
-- [x] `.jpg` `.jpeg` `.png` `.gif` `.webp` `.bmp` `.tif` `.tiff` `.heic` `.heif`
-- [x] `.md` `.txt` `.html` `.htm`
-- [x] `.mp3` `.wav` `.m4a` `.aac` `.flac` `.ogg` `.opus` `.mp4` `.mov` `.webm` `.mkv` β speech transcription with speakers, chapters, and time-range citations (video: audio track only)
-
-**β³ Coming Soon**
-
-- [ ] `.epub` `.xml`
-- [ ] `.srt` `.vtt`
-- [ ] `.skills.md`
-
-Want to see a new format supported? Adding a parser is a great first contribution. Check out [CONTRIBUTING.md](CONTRIBUTING.md) to get started.
+| Format | Extensions |
+|---|---|
+| Pages and slides | `.pdf`, `.pptx` |
+| Word and spreadsheets | `.doc`, `.docx`, `.xls`, `.xlsx`, `.csv`, `.tsv` |
+| Images | `.jpg`, `.jpeg`, `.png`, `.gif`, `.webp`, `.bmp`, `.tif`, `.tiff`, `.heic`, `.heif` |
+| Text and HTML | `.md`, `.txt`, `.html`, `.htm` |
+| Audio | `.mp3`, `.wav`, `.m4a`, `.aac`, `.flac`, `.ogg`, `.opus` |
+| Video (speech from the audio track) | `.mp4`, `.mov`, `.webm`, `.mkv` |
+
+See [supported formats](https://docs.knowhereto.ai/concepts/supported-formats) for details by format and [limits](https://docs.knowhereto.ai/pricing#file-and-format-limits) for Knowhere Cloud. To request another format, [open an issue](https://github.com/Ontos-AI/knowhere/issues) with an example you can share.
## Prerequisites