Grounded RAG Ingestion

Chunk a document into provenance-carrying JSONL ready for embedding via the Nutrient Data Extraction API (`/extraction/parse`, spatial output). Every chunk carries element type, page index, bounding box, confidence, and reading order, traceable to a specific page region. Use for grounded or auditable RAG, cited retrieval, confidence-aware ingestion, or any pipeline that must prove which document region a retrieved answer came from. Triggers include grounded RAG, auditable RAG, RAG with provenance, chunk with bounding box, cite page, provenance-carrying chunks, confidence-aware chunking, or embedding pipeline. Not for cheap Markdown — use document-extraction-api with `--output-format markdown` for that. Not for known target fields — if the user wants specific fields ("invoice number and total", "map to my schema", "return these fields cited"), use document-extraction-api's `extract` (one cited call), not whole-document chunking.

pspdfkit-labs Updated

File contents

pspdfkit-labs/nutrient-skills/tree/main/plugins/nutrient-dws/skills/grounded-rag-ingestion commit 4387b91366

Frequently asked questions

npx skillmds@latest add pspdfkit-labs-nutrient-skills/grounded-rag-ingestion