Class NaturalLanguageQueryUnderstandingSpec (0.12.0)

NaturalLanguageQueryUnderstandingSpec(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Specification to enable natural language understanding capabilities for search requests.

Attributes

Name Description
filter_extraction_condition google.cloud.discoveryengine_v1beta.types.SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition
The condition under which filter extraction should occur. Default to [Condition.DISABLED][].
geo_search_query_detection_field_names MutableSequence[str]
Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to ENABLED. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names.

Classes

FilterExtractionCondition

FilterExtractionCondition(value)

Enum describing under which condition filter extraction should occur.