Knowledge System
The Knowledge System is how Kodexa captures information about documents and uses that information to customize processing. It connects what you know about documents to what you do with them.The Two Sides of Knowledge
”What We Know” - Document Metadata
| Concept | Purpose | Example |
|---|---|---|
| Knowledge Feature Type | Template defining a category of metadata | ”Vendor”, “Document Type”, “Language” |
| Knowledge Feature | Reusable instance (shared across documents) | “Acme Corp”, “10K”, “English” |
”What We Do” - Configurable Behaviors
| Concept | Purpose | Example |
|---|---|---|
| Knowledge Item Type | Template defining a configurable capability | ”Prompt Override”, “Validation Rule” |
| Knowledge Item | Specific configured behavior | ”Use SEC prompt for revenue extraction” |
The Bridge - Knowledge Sets
| Concept | Purpose | Example |
|---|---|---|
| Knowledge Set | Connects features to items | ”When Document Type = 10K, use SEC extraction prompts” |
When Do You Need This?
Track Document Metadata
Track which vendor invoices came from, classify document types, identify languages
Customize Extraction
Use different extraction prompts for different document types
Apply Validation Rules
Apply specific validation rules based on document characteristics
Automate Configuration
Let agents propose knowledge configurations for human approval
Quick Example: Vendor Tracking
Goal: Track which vendor each invoice comes from. Step 1: Create a Feature Type- Search for all documents from a specific vendor
- See which vendor a document belongs to
- Trigger different processing based on vendor
Quick Example: Customizing Extraction
Goal: Use different extraction prompts for 10K vs 10Q documents. Step 1: Create Feature Type + FeaturesDetailed Guides
Knowledge Feature Types
Define categories of document metadata with natural keys and display properties
Knowledge Item Types
Define configurable capabilities like prompt overrides and validation rules
Customizing Extraction
End-to-end guide: different prompts for different document types
Adding Validation Rules
End-to-end guide: conditional validation based on document features
Knowledge and Agents
How agents build and consume knowledge with human-in-the-loop approval
Reference
For GitOps deployment of knowledge resources, see:- Metadata Sync - Deploy via
kdx sync - Resource Deployments - CI/CD integration
