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
Expression-Based Matching
Knowledge sets use expression trees to define when a set of items should be applied to a document. Expressions support logical operators for flexible feature matching.Expression Operators
| Operator | Behavior |
|---|---|
FEATURE | Leaf node — matches if the document has the referenced feature (by slug) |
AND | All child expressions must evaluate to true |
OR | At least one child expression must evaluate to true |
NOT | The child expression must evaluate to false |
Example
To match documents that have both the “10K” filing type and the “Acme Corp” vendor feature:How Assessment Works
When a document’s features change (e.g., a new feature is assigned via an intake, script step, or agent), the platform evaluates all knowledge sets against the document’s current feature set. The assessment produces four categories:| Category | Meaning |
|---|---|
| New Matches | Knowledge sets that now match but did not before |
| Still Matching | Knowledge sets that continue to match |
| No Longer Match | Knowledge sets that previously matched but no longer do |
| Snapshot Changed | Knowledge sets that still match but whose items have been updated |
Reference
For GitOps deployment of knowledge resources, see:- Metadata Sync - Deploy via
kdx sync - Resource Deployments - CI/CD integration
