How to Set Up Business Concept Semantic Search
Use this procedure to configure the embedding model used by Ask in the Business Concept Map, create its semantic index, and enable semantic retrieval.
The Business Concept Map is backed by the Knowledge Graph Manager (KGM), which ingests business knowledge and provides concept search. Semantic search adds retrieval by meaning over those concepts.
The Business Concept Map can use an independent Azure OpenAI embedding configuration or securely synchronize the provider configuration already used by Product Search.
Before you start
- Use an account with the
platform.settings-editpermission and an installation licensed for Witty. - Enable the KGM service and configure its connectivity as described in KGM configuration.
- Enable and populate the Business Concept Map, including ingestion and an active Business Concept Model, as described in How to populate the Business Concept Map.
- Ensure pgvector (PostgreSQL extension
vector) is enabled in thepublicschema of the KGM PostgreSQL database. KGM uses text-only search when the vector prerequisite cannot be prepared. - If you plan to synchronize with Product Search, configure its embedding provider first.
For the static KGM limits, retry policy, and encryption settings, see KGM Search configuration.
Understand what synchronization shares
The Sync with Marketplace semantic search model option shares only the embedding provider configuration:
- Azure OpenAI endpoint;
- API version;
- embedding deployment name;
- API key, transferred only between backend services.
Product Search and the Business Concept Map still have separate semantic content, indexes, embedding builds, enablement settings, and search results. Synchronization does not copy Product or Consumable embeddings into KGM.
The browser never receives the Product Search API key. The Marketplace backend reads and decrypts it server-side, sends it to KGM, and KGM encrypts its own stored copy with the KGM encryption key and IV.
Configure the embedding provider
- Open Administration > Configuration > Marketplace.
- Under Business Concepts Settings, open Embedding Provider & Model.
- Choose one configuration mode.
Synchronize with Product Search
- Turn on Sync with Marketplace semantic search model.
- Confirm that the form displays the endpoint, API version, and deployment from the Product Search configuration. These fields are read-only while synchronization is enabled.
- Select Save.
Saving immediately copies the current Product Search embedder configuration to KGM. While Business Concept semantic search and synchronization remain enabled, later saves to the Product Search embedding configuration automatically update the KGM model as well.
If the UI reports that Marketplace semantic search is not configured, configure the Product Search embedding provider before enabling synchronization.
Configure an independent model
- Leave Sync with Marketplace semantic search model off.
- Enter the Azure OpenAI Endpoint, API version, and Deployment. Use the embedding deployment name, not the base model name.
- Select Replace API key and enter the Azure OpenAI credential for the initial configuration.
- Select Save.
For later changes that keep the same provider and endpoint, select Retain existing API key only when the stored credential should remain unchanged. Changing the endpoint requires Replace API key.
Saving validates the configuration format but does not prove that the endpoint, credential, deployment, quota, or network path works. Creating embeddings is the operational verification.
Changes to the endpoint, deployment, or API version make existing embeddings outdated. Rotating only the API key does not make them outdated.
Enable semantic operations
After saving the embedding provider, turn on Enable Semantic Search under Business Concepts Settings.
This setting enables semantic queries, manual embedding creation, automatic embedding builds, and automatic Product Search model synchronization. Turning it off preserves the model and existing embeddings, but Ask and build operations remain unavailable until it is enabled again.
Create embeddings
- Under Business Concepts Settings > Embeddings, select Create Embeddings.
- Keep the Embeddings Progress dialog open, or close it and use View Progress later. Closing the dialog does not stop the build.
- Monitor the build status, elapsed time, IRIs indexed, failures, and recent build events.
- Wait for Embeddings creation completed before validating Ask in the Business Concept Map.
The request starts an asynchronous full build. KGM snapshots the effective search type and predicate registries when it queues the job:
- types come from the active model's
rootConcept.type,concept.type, andpropertyConcept.typefields, and decide which resources are admitted; - predicates come from the active model's
labelPredicate,descriptionPredicate, andsynonymsPredicatefields, and decide which literal values form the embedding content.
KGM creates a separate semantic document for each populated resource and predicate pair, while progress remains counted by resource IRI. Only one build can be queued or running at a time. If ingestion or another reindex starts a build before the manual request, the UI opens the active build instead of starting a duplicate.
During a rebuild, the previous completed generation remains searchable. KGM activates the new generation only after successful completion. A failed build records a sanitized outcome and leaves the previous generation available.
Keep embeddings current
KGM automatically requests a semantic build after a successful full text reindex while semantic search is enabled. This covers source ingestion, manual reindexing, and search registry changes.
The Marketplace backend automatically synchronizes the search registries when you activate a Business Concept Model or save the currently active model. The resulting reindex and semantic build use the model's configured types and label, description, and synonym predicates.
Use Create Embeddings for an explicit full regeneration, including after:
- changing the embedding endpoint, deployment, or API version;
- recovering from a failed build;
- changing searchable content when no successful automatic build has completed;
- enabling semantic search for the first time.
Troubleshooting
The synchronization option cannot be saved
Confirm that Product Search has a configured embedding provider and credential. The synchronization option does not configure Product Search on your behalf.
Create Embeddings is not visible
Save a valid embedding provider configuration and turn on Enable Semantic Search. The build control is shown only while Business Concept semantic search is enabled.
The build fails
Open View Progress and inspect the recent events and sanitized outcome. Verify Azure OpenAI connectivity, deployment name, API version, credential, quota, and that pgvector is enabled in the KGM database's public schema. Correct the problem, then start Create Embeddings again after the previous build is no longer active.
Ask is unavailable after saving the model
Saving the provider does not create embeddings. Enable semantic search, run Create Embeddings, and wait for successful completion. Also verify that the active Business Concept Model contributes the expected search predicates and resource types.