Document Splitter & Indexer
Splits policies, SOPs, and documents into clean searchable chunks with source tracking.
Agents have to cram huge raw PDFs into prompts or search unindexed blobs.
Documents are cleanly chunked, scope-tagged, indexed, and tracked back to their source version.
What It Does (In Plain English)
Ingestion takes your source documents, splits them into overlapping chunks with exact provenance metadata and tenant access scopes, indexes them into index@1, and publishes source.changed whenever a document updates so caches and lineage stay fresh.
Real-World Example
- 1You ingest your 40-page Refund Policy SOP tagged with scope
dept:finance. - 2Ingestion splits it into indexed chunks linked to document version
v3. - 3When
v4is uploaded, Ingestion emitssource.changedto clear stale caches automatically.
When Should You Turn It On?
Add at Level 1 (review) whenever agents need to search SOPs, playbooks, or company documents.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-ingestion@0.1.0"
kitConfigs:
ingestion:
defaultChunkSize: 800
defaultChunkOverlap: 120Kits It Works With
Technical Details & Configuration Options (2 settings)
| Package | @neusym/kit-ingestion |
|---|---|
| Provides Ports | ingestion@1 |
| Requires Ports | scopes@1search-index@1 |
| Optional Ports | None |
| Publishes Events | source.changed |
| Owned DB Collections | source_docssource_chunks |
Configuration Options (kitConfigs.ingestion)
| Setting | Type | Default | Description |
|---|---|---|---|
defaultChunkSize | integer | 1000 | — |
defaultChunkOverlap | integer | 100 | — |