Turn scans, photos, PDFs and Office files into trustworthy structured data — Markdown, a classified document type and schema-defined fields — and find it again by wording or meaning. A self-hostable suite of ABP Framework modules for .NET (ABP 11, .NET 11, Angular 22), licensed under LGPL-3.0-only.
Dignite Vault hands what it produces to downstream RAG platforms, business systems and AI clients over REST, an MCP server and distributed events. It is infrastructure, not an end-product: it holds no business logic. Contracts, invoices and HR records belong to the systems that consume it.
For the architecture, the rules whose violation breaks something, and the security rules for LLM call paths, see CLAUDE.md. Everything operational lives in docs/.
| Product | What it does | Distributed as |
|---|---|---|
| Vault Parse | Text extraction. Reads PDFs, images, Office files and more into a document tree (sections, tables, figures, source pages) and renders it as Markdown. The OCR and digital engines (Vision-LLM, PaddleOCR, Azure Document Intelligence, PDF, OpenXML, MarkItDown) are Microsoft.Extensions.DocumentExtraction clients behind one routing client. |
Dignite.Vault.Parse* NuGet packages (ship with 0.7.0) |
| Vault Extract | The channel. Upload, classification by the document types you define, field extraction by the schemas you define (with validation rules), sub-document splitting, an operator review queue, and the egress. | Dignite.Vault.Extract.* NuGet packages, @dignite/ng.vault-extract on npm |
| Vault Index | Retrieval. Chunks, vectors and a full-text index over every released document; hybrid search, outline and read within each caller's read scope. It returns evidence (passages with their source and pages), never a generated answer. | Not published as packages yet. This repository's host includes it |
Dependencies run one way: Index uses Extract's contracts, Extract uses Parse, never the reverse. CI checks it.
scans · photos · PDFs · Office files content a caller already processed
│ │ (submit)
▼ │
Vault Parse: document tree → Markdown │
│ │
▼ ▼
Vault Extract: classification → field extraction → review gate → Ready
│
├─► REST · MCP server · distributed events · CSV / XLSX download
│ ├─► RAG platforms, business systems (finance / CLM / HR / ERP)
│ └─► AI clients (Claude Desktop, Cursor, any MCP client)
│
└─► Vault Index: chunks + vectors + full-text → search · outline · read (REST, MCP)
- Markdown first. Every document becomes Markdown, the one text payload of every egress. Headings and tables survive, so downstream chunkers and LLMs can use them.
- You define the schema. Dignite Vault ships no document types and no business fields. Administrators define types and fields per layer: the Host, and each tenant separately.
- A trusted signal. A document is published as Ready only when nothing needs review: a confirmed type, no suspected duplicate, no unresolved field problem. Everything else waits in the review queue.
- Providers are host configuration. The LLM and OCR providers and their keys belong to whoever deploys the host, never to end users.
- Evidence, not answers. Vault Index finds passages. RAG question answering, chat, approval workflows and business records are out of scope.
vault/
├── modules/
│ ├── vault.parse/ # Vault Parse: the text-extraction library, engines on Microsoft.Extensions.DocumentExtraction
│ ├── vault.extract/ # Vault Extract: ABP layers (Abstractions … Mcp) and angular/ (@dignite/ng.vault-extract)
│ └── vault.index/ # Vault Index: ABP layers and angular/ (@dignite/ng.vault-index, the index status page)
├── src/
│ ├── Dignite.Vault.Extract.Host/ # Host application: wires the modules and the LLM / OCR providers
│ └── Dignite.Vault.AppHost/ # Aspire AppHost for local development
├── angular/ # Host SPA (operator UI); compiles the module libraries from source
├── etc/ # Scripts, run profiles, the SQL Server full-text image, the PaddleOCR sidecar
└── docs/ # Documentation: setup, configuration, egress contracts, deployment
Business modules (contract management, invoice management, HR records and the like) are not in this repo. They belong on the downstream consumer side.
The server side is the Dignite.Vault.Extract.* NuGet packages plus the Dignite.Vault.Parse* engines they read documents with; the Angular operator UI is @dignite/ng.vault-extract. Vault Index is not published as packages yet, so you get it only by running this repository's host (src/Dignite.Vault.Extract.Host/), which references the Index projects directly. To add Parse and Extract to an ABP application of your own, see Installation.
| Requirement | Version |
|---|---|
| .NET SDK | 11.0 |
| Node.js | ^22.22.3 or ^24.15.0 (Angular 22) |
| SQL Server | 2025 for the AppHost (it runs one in a container). Extract alone runs on 2022+ or LocalDB; Vault Index needs 2025 for its vector column, and full-text search for keyword search |
| ABP CLI | matching ABP 11.0 |
| An LLM provider | mandatory — any OpenAI-compatible endpoint; a local Ollama works |
| Docker Desktop | for the AppHost's SQL Server container; also the optional PaddleOCR sidecar |
1. Configure the LLM provider. Create src/Dignite.Vault.Extract.Host/appsettings.secrets.json. It is git-ignored and never published; do not put credentials in the committed appsettings.json or appsettings.Development.json.
{
"Vault": {
"Extract": {
"Endpoint": "https://api.openai.com/v1",
"ApiKey": "sk-...",
"ChatModelId": "gpt-6-luna",
"VisionOcrModelId": "gpt-6-luna",
"ReasoningEffort": "None"
}
}
}The host fails fast at startup while ApiKey is still the committed placeholder, because classification and field extraction have no non-LLM fallback. VisionOcrModelId must name a vision-capable model: the host's default OCR provider is Vision-LLM. Vault Index asks the same endpoint for the embedding model text-embedding-3-small; set Vault:Index:EmbeddingModelId for a provider without it. See AI Provider.
2. Run everything. One command starts SQL Server 2025 with full-text search in a container, migrates and seeds both databases, then starts the host and the SPA:
npm install # once, at the repo root: one install for every Angular workspace
cd src/Dignite.Vault.Extract.Host && abp install-libs && cd ../..
dotnet run --project src/Dignite.Vault.AppHostAPI: https://localhost:44348 (Swagger at /swagger). SPA: http://localhost:4200, signed in with admin / 1q2w3E*. The Aspire dashboard, with every resource's logs, traces and metrics, is at https://localhost:17188.
Without Docker, or against a database of your own, run the host and the SPA by hand. The full walkthrough — database connection, sidecars, proxy regeneration, tests, troubleshooting — is in Local Development.
Start at the documentation index.
| You want to… | Read |
|---|---|
| Run this repository on your machine | Local Development |
| Add the modules to your own ABP application | Installation |
| Define what gets extracted | Document Types and Fields |
| Choose an OCR provider | Text Extraction |
| Send content you already processed | Submitting Content |
| Integrate a downstream system | Integration Events, REST API |
| Connect an AI client | MCP Server |
| Search the text of documents | Index Search, Index Status and Evaluation |
| Deploy to production | Deployment, Deployment Checklist |
Release notes, including breaking changes and their migrations, are in CHANGELOG.md. To contribute, see CONTRIBUTING.md; to report a vulnerability, see SECURITY.md.
External references:
- ABP Framework Documentation
- Application (Single Layer) Startup Template
- Microsoft.Extensions.DocumentExtraction, the abstraction Vault Parse's engines implement
- Dignite abp-modules: FlexFields, the shared MCP server, Notifications and Blob Management, which Dignite Vault builds on
Dignite Vault is licensed under the GNU Lesser General Public License v3.0.