How to Configure Marketplace Semantic Content
Use this procedure to choose the descriptor fields embedded for Products and Consumables. You need to have platform.settings-edit permission and access to Administration > Configuration > Marketplace > Semantic Content.
Before changing content in an active installation, schedule a full rebuild. Saving content changes makes new semantic searches unavailable until the rebuild completes successfully. Saving alone does not regenerate existing embeddings.
Follow the editing sections relevant to your changes; you do not need to complete every section. Always finish with Apply the content changes.
Set default content for Products and Consumables
-
Open Semantic Content and select the Product tab.
-
Edit the Default for Product definition. Enter a YAML recipe list. The following example embeds the Product's name and description:
- id: entityfields:name: self.namedescription: self.description -
To include another descriptor field, add it to the list before saving. When your descriptors contain
domain, the following example adds the Product's domain to the embedded name and description:- id: entityfields:name: self.namedescription: self.descriptiondomain: self.domain -
Select Save. On the Consumable tab, edit Default for Consumable and save the same list if both kinds should use these fields.
Use actual paths from your published descriptors. For syntax and allowed scopes, see Semantic content syntax.
Replace a type's content
-
Select the Product or Consumable tab for the type you want to customize.
-
Select Add override and choose the eligible Type. Use the definition's edit action for an existing override.
-
Replace the editor contents with the complete recipe list for that type. The following example embeds only the name and description for the selected type, replacing its inherited content definition:
- id: entityfields:name: self.namedescription: self.description -
Select Save. This type no longer inherits other fields or recipes from the kind default. Include every recipe you intend to retain.
-
To intentionally omit semantic content for this type, save
[]as its override. To restore the kind default instead, use Remove override and confirm the removal.
Include direct relationship context
Keep existing fields and recipes you still need. In the examples below, add the relationship field to your existing entity recipe rather than replacing the entire list. If no entity recipe exists, add the recipe shown below with a unique ID within your list.
-
To include the parent Product's description in the Consumable content, add
productDescription: parent.descriptionto the entity recipe'sfieldsin the Consumable default or a Consumable type override, then save. For example:- id: entityfields:name: self.namedescription: self.descriptionproductDescription: parent.description -
To include Consumable descriptions in Product content instead, add
consumableDescriptions: children.descriptionto the entity recipe'sfieldsin the Product default or a Product type override, then save. With multiple Consumables,children.descriptionincludes their non-empty descriptions together in the Product's semantic content; it does not create separate embeddings for each child. For example:- id: entityfields:name: self.namedescription: self.descriptionconsumableDescriptions: children.description -
Publish the related Product or Consumables in the same environment as the source. For scope restrictions and handling of unavailable context, see Semantic content syntax.
Embed individual collection elements
-
Identify an array in your source descriptor and an immutable, unique identifier on each element. For example, this descriptor fragment has a
columnsarray with a stableid:columns:- id: customer-idname: Customer identifierdescription: Stable identifier for a customer- id: order-totalname: Order totaldescription: Total amount of an order -
Edit the applicable default or type override. Keep the entity recipe and add one collection recipe:
- id: entityfields:name: self.namedescription: self.description- id: columncollection: columnsidentity: idfields:sourceName: self.namecolumnName: item.namecolumnDescription: item.description -
Replace
columnsandidwith your descriptor's array path and the identity path relative to each item. Do not prefix either path withselforitem. Useitemonly in field mappings. Keep recipe IDs unique within the list and stable across edits. -
Check the source data against the collection identity requirements and correct any missing or duplicate identities before publishing.
-
Select Save.
Apply the content changes
- Finish all default and override edits. If you changed source descriptors to add fields or stable identities, publish those changes to the intended environments.
- Run Rebuild embeddings to regenerate previously published content across all configured environments. Also rebuild after adding or removing a configured environment; configuration changes alone do not backfill it.
- Wait for Completed in Embeddings Progress. Return to Marketplace configuration and confirm that Enable Semantic Search is available. If semantic retrieval was off, turn it on. If the control is unavailable, resolve the readiness prerequisite it displays before enabling retrieval.