Architecture of an on-premise RAG ingestion pipeline in Java: Word, PDF, email and ZIP files become heading-scoped Markdown chunks with source and parent lineage in JSON Lines....pipeline of six stages, each one a static method in RagChunksDemo... EML and ZIP inputs, writes one JSON object per chunk, and never...