SearchIndexKnowledgeSourceFilterHint interface

A hint that identifies a field and exhaustive grounding values the query planner can use when constructing a filter.

Properties

autoConfiguration

Configures the service to resolve grounding values from the field's facets. Its presence enables auto-configuration. The field must be filterable and facetable. Not supported when the target index has document-level permissions or Purview sensitivity labels enabled; this restriction is validated at knowledge source create/update and knowledge base retrieval time. Mutually exclusive with fieldValues. Supported only in a knowledge source's stored queryHints, not in request-time queryHintOverrides.

field

The name of the filterable search index field.

fieldValues

The exhaustive set of values for the field. At most 160 values, with a maximum of 128 characters per value and 2048 characters combined. In versions supporting autoConfiguration, required unless autoConfiguration is specified, and mutually exclusive with it.

filterInstructions

Natural-language instructions that explain when and how to filter on the field.

Property Details

autoConfiguration

Configures the service to resolve grounding values from the field's facets. Its presence enables auto-configuration. The field must be filterable and facetable. Not supported when the target index has document-level permissions or Purview sensitivity labels enabled; this restriction is validated at knowledge source create/update and knowledge base retrieval time. Mutually exclusive with fieldValues. Supported only in a knowledge source's stored queryHints, not in request-time queryHintOverrides.

autoConfiguration?: SearchIndexKnowledgeSourceFilterHintAutoConfiguration

Property Value

field

The name of the filterable search index field.

field: string

Property Value

string

fieldValues

The exhaustive set of values for the field. At most 160 values, with a maximum of 128 characters per value and 2048 characters combined. In versions supporting autoConfiguration, required unless autoConfiguration is specified, and mutually exclusive with it.

fieldValues?: string[]

Property Value

string[]

filterInstructions

Natural-language instructions that explain when and how to filter on the field.

filterInstructions?: string

Property Value

string