Knowledge Graph Manager (KGM) Configuration
KGM backs the Business Concept Map by collecting knowledge supplied through Source Adapters. Platform Teams use these settings to configure ingestion, search indexing, and adapter connectivity.
Static configurations to be set under the kgm key in the values.yaml file of the Witboost Helm chart.
KGM is disabled by default. To enable it set the enabled property to true.
References
Application configuration
Configuration overrides to be defined under configOverride.
kgm:
enabled: true
configOverride:
# application configurations
kgm:
# many app configurations must be defined under this 'kgm' key
Most application configurations must be defined under the kgm.configOverride.kgm key.
Be careful not to confuse this with the root-level kgm key.
Sources and Adapters
Every KGM Source must be configured under the kgm.sources list.
Example
# kgm.configOverride
kgm:
sources:
- id: first-source
name: First Source
baseUrl: 'http://my-source-adapter:8080'
modes:
ingest:
enabled: true
schedule: '0 0 12 ? * * *'
# ...
- id: second-source
name: Second Source
# ...
When a Source Adapter is unregistered (removed from the KGM configuration), all triples previously ingested from that source are automatically removed from KGM.
| Key | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
id | string | Yes | Unique source identifier | my-source | |
name | string | Yes | Source display name | My Source | |
baseUrl | string | Yes | Base URL of the Source Adapter. Make sure it is reachable from the KGM service | http://my-source-adapter:8080 | |
modes | object | No | Ingestion settings for this source | ||
mtls.enabled | boolean | No | false | Enables mutual TLS for this specific Source Adapter. When set to true, KGM uses the globally configured client certificate for all requests made to this adapter (see mTLS configs). mTLS is ignored for HTTP adapters because TLS cannot be performed over plain HTTP | true |
Modes
To setup an Ingestion Source, fill modes.ingest:
| Key | Type | Required | Description | Example |
|---|---|---|---|---|
enabled | boolean | Yes | Ingestion mode is enabled for this source | true |
schedule | string | Cron expression in Quartz format. Defines how often KGM triggers ingestion from this source | 0 0 12 ? * * * |
Search
The active Business Concept Model dynamically configures its label, description, and synonym predicates and concept types. Activating a model or editing the active model synchronizes these fields automatically; changes to the indexed fields or types request a background reindex. Do not duplicate model-managed predicates in Helm configuration.
Reindexing rebuilds the search index from already ingested knowledge; it does not fetch fresh knowledge from Source Adapters.
Example
# kgm.configOverride
kgm:
search:
fullReindex:
schedule: '0 0 0/12 * * ?'
semantic:
threshold: 0.3
candidateLimit: 1000
batchSize: 200
maxAttempts: 4
attemptTimeout: 30s
retryDelay: 2s
credentialEncryptionKey: ${KGM_SEMANTIC_CREDENTIAL_ENCRYPTION_KEY}
credentialEncryptionIv: ${KGM_SEMANTIC_CREDENTIAL_ENCRYPTION_IV}
Key: kgm.search
| Key | Type | Required | Default | Description |
|---|---|---|---|---|
fullReindex.schedule | string | No | 0 0 0/12 * * ? 1 | Cron expression in Quartz format for rebuilding the full text index. When semantic search is enabled, a successful full reindex also requests a semantic build. |
semantic.threshold | number | No | 0.4 | Minimum cosine similarity retained by semantic search. Tune it for the configured embedding model and content. |
semantic.candidateLimit | integer | No | 1000 | Maximum nearest predicate vectors considered before results are grouped by resource IRI. Higher values can improve recall and deep pagination at the cost of query latency. The maximum supported value is 1000. |
semantic.batchSize | integer | No | 200 | Number of resource IRIs processed in each semantic build batch. |
semantic.maxAttempts | integer | No | 4 | Total semantic provider attempts, including the first attempt. |
semantic.attemptTimeout | duration | No | 30s | Timeout for one semantic provider attempt. |
semantic.retryDelay | duration | No | 2s | Initial delay used by the semantic build retry policy. |
semantic.credentialEncryptionKey | string | Yes 2 | Hex-encoded 32-byte key used by KGM to encrypt the persisted embedding provider credential. | |
semantic.credentialEncryptionIv | string | Yes 2 | Hex-encoded 16-byte initialization vector used with the encryption key. |
The embedding provider, endpoint, deployment, API version, credential, semantic enablement, and Product Search synchronization are runtime settings managed through the KGM semantic APIs and Administration > Configuration > Marketplace > Business Concepts Settings. They are not static kgm.search.semantic properties. Follow How to Set Up Business Concept Semantic Search to configure the model and create embeddings.
Semantic builds are asynchronous. KGM keeps the previous completed generation searchable while a new generation is queued or running, then activates the new generation only after it succeeds. Model, predicate, or type changes can make embeddings outdated and require a new build.
Advanced: Static Search Predicates
No additional predicate configuration is normally required for the Business Concept Map. Use the active Business Concept Model to choose its searchable fields.
The optional kgm.configOverride.kgm.search.predicates setting defines a baseline of RDF predicates whose literal values are indexed alongside the model-managed fields. These baseline predicates remain indexed when the active model changes, so search can match fields not defined in that model.
Type: string list.
Default: ["http://schema.org/description", "http://schema.org/name", "http://www.w3.org/2004/02/skos/core#prefLabel", "http://www.w3.org/2004/02/skos/core#altLabel"]
Security
mTLS
Key: kgm.security.mtls
| Key | Type | Required | Default | Description |
|---|---|---|---|---|
client.certificate.path | string | No | file:/opt/docker/etc/tls/client.p12 | Filesystem path to the PKCS#12 archive containing the client certificate and private key used by KGM when establishing mTLS connections with HTTPS Source Adapters |
client.certificate.password | string | No | KGM_MTLS_CLIENT_CERTIFICATE_PASSWORD | Password used to decrypt the PKCS#12 (.p12) archive. Must match the export password set when the certificate was generated |
client.bypassCAFiltering | boolean | No | false | If true, it ignores the server-provided list of acceptable issuers when acting as a TLS client. This is useful in mutual TLS scenarios where the server provides a restricted list of acceptable certificate authorities (via the "certificate_authorities" TLS extension), but the client holds a certificate issued by a different (e.g., internal or private) CA. By ignoring the issuers list, the client can still present its certificate even if it is not trusted by the server |