Skip to main content
Defines a list of sample queries that could be performed on the composite topic, which is used:
  • To present example queries when a composite topic is selected in the workbook or using the Omni Agent. To hide the query, set the hidden parameter to true.
  • By the Omni Agent to improve results. To exclude the query from the composite topic’s AI context, set the exclude_from_ai_context to true.
You can add a workbook query to this parameter using one of the following methods:
  • From the Model menu: Click Model > Save as sample query to topic in the workbook.
  • From the inspector: Click the near the bottom left corner of the page to open the workbook inspector. Click Copy query and visualization YAML in the inspector header to copy the query and visualization configuration in the sample query format, then paste it into your composite topic file in the model IDE.

Syntax

Properties

object
required
The name of the sample query (e.g., “Summary Stats”). Each query is defined as a key in the sample_queries object.

Examples