> ## Documentation Index
> Fetch the complete documentation index at: https://project-brain.rocheaiops.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Document ingestion

> Accepted Phase 6 source-preserving document knowledge and grounded retrieval.

<a href="/assets/visuals/document-ingestion-overview.svg" target="_blank" rel="noreferrer" aria-label="Open full-size diagram: Document ingestion"><img src="https://mintcdn.com/roche-ai-ops/zV65QLx2v4-e7KNO/assets/visuals/document-ingestion-overview.svg?fit=max&auto=format&n=zV65QLx2v4-e7KNO&q=85&s=6129c808c8074d8273a66d48f6e0db92" alt="Document ingestion" noZoom width="1440" height="740" data-path="assets/visuals/document-ingestion-overview.svg" /><span className="sr-only">Open full-size diagram: Document ingestion</span></a>

Supported sources are extractable PDF, DOCX, Markdown, and UTF-8 text. The service retains original bytes, SHA-256 metadata, normalized sections, parser/version metadata, versions, chunks, and model-tagged 768-dimensional Gemini embeddings. PDF citations retain real pages; DOCX citations use actual paragraph/section locations rather than fabricated pages.

Re-ingestion creates later document versions. Index rebuild recreates derived chunks/vectors from normalized content. Invalidation excludes a document from current retrieval but retains source and historical version data. Corrupt input is retained with a visible failure state. An owner correction may cite a verified chunk without altering the source.

OCR/scanned PDFs, spreadsheets, crawling, advanced multimodal parsing, graph storage, and external parser frameworks remain deferred.
