Query Generation properties
The properties included with Query Generation apply to segments. They define whether the record or indicator that is the basis for a segment has been recently used or changed.
These properties are available for Query Generation.
Note: To open the System Properties [sys_properties] table, enter sys_properties.list in the navigation filter.
| Property | Description |
|---|---|
| sn\_query\_gen.default\_source\_type | Fallback source type when the user request and conversation history do not determine whether to use table or indicator data. Accepted values: 'table' \(default\), 'indicator', or 'match\_found\_wins' \(indicator data if a match was found, otherwise table\). - Type: String - Default value: table - Location: System Property \[sys\_properties\] table |
| sn\_query\_gen.hidden\_insights.groupby.min\_fields | The target number of group-by fields for extended analysis in AI Data Explorer. These group-by fields are taken from the default list view of the relevant table. When this list view contains fewer eligible fields than the property value, the system looks for more eligible fields on the table to try to reach this count. - Type: Integer - Default value: 5 - Location: System Property \[sys\_properties\] table - Learn more: Extended analysis |
| sn\_query\_gen.indicator.feature\_enabled | If false, Query Generation does not use indicator data. All calls to Query Generation return only table data.- Type: Boolean \(true/false\) - Default value: true - Location: System Property \[sys\_properties\] table |
| sn\_query\_gen.indicator.search.enabled | Per-execution indicator search gate. If false, the indicator executor returns `INDICATOR_SEARCH_DISABLED`; combined-mode requests can fall back to table.- Type: Boolean \(true/false\) - Default value: true - Location: System Property \[sys\_properties\] table |
| sn\_query\_gen.segment\_enabled | When set to true, segments are created and used. When false, no segments are created, and all existing segments are excluded from AI Data Explorer search results. During the next Sync Segments Job, all segments are deactivated.- Type: Boolean \(true/false\) - Default value: true - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.disable.filter | When set to true, excludes all segments from sys\_filter from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table. - Type: Boolean \(true/false\) - Default value: false - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.disable.manual\_segment | When set to true, excludes all segments from sn_query_gen_segment_table_config (manual segments) from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table. Note: The ability to disable manual segments is intended for testing and troubleshooting purposes.
|
| sn\_query\_gen.segments.disable.pa\_cubes | When set to true, excludes all segments from indicator sources \(pa\_cubes\) from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table. - Type: Boolean \(true/false\) - Default value: false - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.disable.report | When set to true, excludes all segments from sys\_reports from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table. - Type: Boolean \(true/false\) - Default value: false - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.disable.report\_sources | When set to true, excludes all segments from sys\_report\_source from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table. - Type: Boolean \(true/false\) - Default value: false - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.disable.sys\_app\_module | When set to true, excludes all segments from sys\_app\_module from AI Data Explorer search results. During the next Sync Segments Job, all segments of that type are deactivated in the Segment table. - Type: Boolean \(true/false\) - Default value: false - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.ais\_batch\_fetch\_enabled | When set to true, enables batch AIS search where manual and automated segments are searched separately for better coverage. When disabled, manual and automated segments compete for the same result slots. - Type: Boolean \(true/false\) - Default value: true - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.indicator.inactivity\_threshold\_multiplier | Applies a multiplier to how long ago an indicator value can have changed for that indicator to be "recently changed." The \[Query Generation\] Sync Segments job deactivates segments based on indicators that have not recently changed. The value that is multiplied differs by indicator frequency \(see Segments in the Query Generation semantic layer\).- Type: Integer - Default value: 1 - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.manual\_segment\_scale\_factor | Multiplier applied to manual segments to give them a different weight than automatic segments when segments are scored.- Type: Number - Default value: 1.05 \(5% greater weight for manual segments\) - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments\_match\_threshold | Minimum semantic similarity score that a segment must meet to qualify to be chosen.- Type: Number - Default value: 0.70 - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.max\_filter\_length | The maximum number of characters a segment can contain. Segments of greater length are removed.- Type: Integer - Default value: 2000 - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments.reports.last\_viewed\_threshold\_days | Defines how many days ago a report can have run for that report to be considered "recently run." The \[Query Generation\] Sync Segments job deactivates segments based on reports that have not run recently. It also deactivates report sources whose reports have not run recently.- Type: Integer - Default value: 180 - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments\_search\_limit | The maximum number of results that can be requested from AI Search per search for segments.- Type: Integer - Default value: 12 - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
| sn\_query\_gen.segments\_result\_limit | The maximum number of segments that AI Search can return after filtering.- Type: Integer - Default value: 12 - Location: System Property \[sys\_properties\] table - Learn more: Segments in the Query Generation semantic layer |
Parent Topic:Query Generation reference