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). Does not apply in agentic mode.
|
|
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.
|
|
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)
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
sn_query_gen.segments_match_threshold |
Minimum semantic similarity score that a segment must meet to qualify to be chosen.- Type: Number
|
|
sn_query_gen.segments.max_filter_length |
The maximum number of characters a segment can contain. Segments of greater length are removed.- Type: Integer
|
|
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
|
|
sn_query_gen.segments_search_limit |
The maximum number of results that can be requested from AI Search per search for segments.- Type: Integer
|
|
sn_query_gen.segments_result_limit |
The maximum number of segments that AI Search can return after filtering.- Type: Integer
|
--- title: Query Generation properties description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/now-intelligence/querygen-properties.html release: australia topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 6 breadcrumb: [Reference, Query Generation, ServiceNow Otto for Platform Analytics, Platform Analytics] --- # 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. <table id="table_v5w_l2h_23c"><thead><tr><th> Property </th><th> Description </th></tr></thead><tbody><tr><td> sn\_query\_gen.default\_source\_type </td><td> 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\). Does not apply in agentic mode. - Type: String - Default value: table - Location: System Property \[sys\_properties\] table </td></tr><tr><td> sn\_query\_gen.hidden\_insights.groupby.min\_fields </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/hidden-insights.md) </td></tr><tr><td> sn\_query\_gen.segment\_enabled </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.disable.filter </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.disable.manual\_segment </td><td> 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. - Type: Boolean \(true/false\) - Default value: false - Location: System Property \[sys\_properties\] table - Learn more: [Segments in the Query Generation semantic layer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.disable.pa\_cubes </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.disable.report </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.disable.report\_sources </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.disable.sys\_app\_module </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.ais\_batch\_fetch\_enabled </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.indicator.inactivity\_threshold\_multiplier </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md)\).- Type: Integer - Default value: 1 - Location: System Property \[sys\_properties\] table - Learn more: [Segments in the Query Generation semantic layer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.manual\_segment\_scale\_factor </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments\_match\_threshold </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.max\_filter\_length </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments.reports.last\_viewed\_threshold\_days </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments\_search\_limit </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr><tr><td> sn\_query\_gen.segments\_result\_limit </td><td> 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](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/querygen-segments.md) </td></tr></tbody> </table>**Parent Topic:**[Query Generation reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/query-generation-reference.md)
| title | Query Generation properties |
| description | 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. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/now-intelligence/querygen-properties.html |
| release | australia |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 6 |
| breadcrumb | ReferenceQuery GenerationServiceNow Otto for Platform AnalyticsPlatform Analytics |