Discovery Engine v1beta API - Class SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec (1.0.0-beta17)

public sealed class SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec : IMessage<SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec>, IEquatable<SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec>, IDeepCloneable<SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.

Specification to enable natural language understanding capabilities for search requests.

Inheritance

object > SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

NaturalLanguageQueryUnderstandingSpec()

public NaturalLanguageQueryUnderstandingSpec()

NaturalLanguageQueryUnderstandingSpec(NaturalLanguageQueryUnderstandingSpec)

public NaturalLanguageQueryUnderstandingSpec(SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec other)
Parameter
Name Description
other SearchRequestTypesNaturalLanguageQueryUnderstandingSpec

Properties

FilterExtractionCondition

public SearchRequest.Types.NaturalLanguageQueryUnderstandingSpec.Types.FilterExtractionCondition FilterExtractionCondition { get; set; }

The condition under which filter extraction should occur. Default to [Condition.DISABLED][].

Property Value
Type Description
SearchRequestTypesNaturalLanguageQueryUnderstandingSpecTypesFilterExtractionCondition

GeoSearchQueryDetectionFieldNames

public RepeatedField<string> GeoSearchQueryDetectionFieldNames { get; }

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][google.cloud.discoveryengine.v1beta.ServingConfig.geo_search_query_detection_field_names].

Property Value
Type Description
RepeatedFieldstring