How to Set Up Marketplace Semantic Search
Use this procedure to configure an independent Marketplace embedder, generate a compatible index and enable semantic retrieval.
The same provider configuration can optionally be synchronized with the Business Concept Map. Product Search and Business Concept search keep separate content and embedding indexes; only the provider settings and credential are shared. See How to Set Up Business Concept Semantic Search.
Before you start
- Use an account with the permissions
platform.settings-editand an installation licensed for Witty. - Have an Azure OpenAI embedding deployment, its resource endpoint, supported API version and API key available. Ensure the backend can reach the endpoint and the deployment has sufficient quota for the published content.
- Ensure pgvector is available on the PostgreSQL server hosting the Core database. The
vectorextension must be enabled in that database'spublicschema. At startup, Witboost attempts to enable it automatically when the database user has sufficient permissions. Otherwise, have your database administrator enable it. Restart Witboost after correcting a missing prerequisite. - Ensure the intended environments are configured.
- Review Marketplace Search Configuration for installation settings, limits and change effects. Apply required Helm overrides before continuing.
Configure the embedding provider
- Open Administration > Configuration > Marketplace.
- Under Product Search, leave Enable Semantic Search off during initial setup.
- Open Embedding Provider & Model. The supported provider is Azure OpenAI.
- Enter the Endpoint, API version and Deployment. The API version is the Azure OpenAI API version, not the model version. Choose a version supported by your Azure OpenAI resource for embeddings. Use the embedding deployment name, not the base model name. The endpoint must be an HTTPS URL without credentials, query parameters or a fragment.
- Select Replace API key and enter the credential in the password field. For later edits to the same provider and endpoint, select Retain existing API key only when retaining that credential is intended. Changing the provider or endpoint requires a replacement key.
- Select Save.
Saving checks the configuration format. It does not test provider connectivity, credential validity or deployment availability. Complete the rebuild below to verify that the configured provider can generate embeddings.
Choose the semantic content
- Open Semantic Content from the same Marketplace configuration tab.
- Keep the Product and Consumable defaults for name and description, or follow How to Configure Marketplace Semantic Content to change the recipe lists.
- Finish provider, content and environment changes before starting the rebuild.
Rebuild embeddings
Use this procedure for the initial index, after incompatible configuration changes, to backfill existing content, or to recover from a failed or interrupted rebuild.
Create Embeddings performs a full rebuild across all configured environments and eligible Product/Consumable types, not just the currently selected environment. Only one rebuild can run at a time. Schedule the interruption and provider load accordingly.
Semantic retrieval is unavailable during the rebuild, even if the enable switch remains on. For a better user experience, we recommend turning off Enable Semantic Search beforehand and re-enabling it after successful completion, once the control is available. Keyword search, details and Product Map's graph remain available; semantic requests do not automatically fall back to keyword.
- Confirm that the provider configuration is saved and no other rebuild is active. Keep the provider, content recipes and configured environment set unchanged until completion.
- In Administration > Configuration > Marketplace, select Create Embeddings under Embeddings. This starts the asynchronous full rebuild and opens Embeddings Progress.
- Monitor the phase, elapsed time, Sources indexed, Empty sources, Failures, and recent events. Use View Progress to reopen an unfinished or failed operation after closing the dialog. Closing the dialog does not stop processing.
- Wait for Completed. Starting the job does not mean the rebuild has finished. Empty sources can be expected when recipes have no usable content.
- Confirm that Enable Semantic Search is available to turn on. If configuration changed after the rebuild, another rebuild may be required. Resolve any prerequisite shown by the control.
Recover a failed or interrupted rebuild
- Inspect the outcome in Embeddings Progress. Correct the indicated provider, quota, storage or configuration problem. For provider changes, return to Embedding Provider & Model; for content changes, use Semantic Content.
- Wait until the previous job is no longer active, then repeat the full Rebuild embeddings procedure. A backend restart interrupts an unfinished rebuild; it does not resume automatically.
- Wait for Completed and confirm that Enable Semantic Search is available before enabling retrieval. Search may become available again using an earlier compatible index after a failed rebuild; this does not mean the latest changes have been applied.
Enable semantic search
- Return to Administration > Configuration > Marketplace after the rebuild completes.
- Turn on Enable Semantic Search. If the control is unavailable, resolve its displayed readiness prerequisite before trying again.
To suspend semantic retrieval later, turn off Enable Semantic Search. Automatic embedding maintenance continues while retrieval is disabled. A rebuild never enables retrieval automatically; an already enabled switch is not reset by a rebuild.