Skip to main content
A Knowledge Feature Type is a template that defines a category of metadata you want to capture and track across documents. Once defined, you create reusable Knowledge Features of that type, which can be linked to multiple documents.

When Do You Need Feature Types?

Create a Knowledge Feature Type when you want to:
  • Track which vendor invoices came from
  • Classify documents by type (10K, 10Q, Contract, etc.)
  • Identify document language
  • Group documents by customer, region, or business unit

How Feature Types Work

  1. Define the Type - Create a Knowledge Feature Type (e.g., “Vendor”)
  2. Create Features - Create reusable features of that type (e.g., “Acme Corp”, “Globex Inc”)
  3. Link to Documents - Associate features with documents as they’re processed

Feature Type Structure

Options vs Extended Options

Options define the natural key - the unique identifier for each feature:
Extended Options define presentation properties - additional info for display:
When you create a feature, the options values become properties (the key), and extendedOptions values become extendedProperties (for display).

Creating a Feature Type

Via YAML (GitOps)

Create a file in kodexa-resources/knowledge-feature-types/:
Add to your manifest:
Deploy:

Via API

Via Kodexa UI

  1. Navigate to Knowledge in the sidebar
  2. Click Feature Types
  3. Click Create Feature Type
  4. Fill in the form with name, slug, description
  5. Add options for natural keys
  6. Add extended options for display properties
  7. Save

Creating Features

Once you have a Feature Type, create features of that type:

Via YAML

Via API

Linking Features to Documents

Features are linked to document families. See the Document Families API for details on attaching features during processing.

Common Feature Type Examples

Document Type Classification

Language Detection

Customer Identification

Next Steps