View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec (google_api_discovery_engine v0.27.0)

Specification to enable natural language understanding capabilities for search requests.

Attributes

  • filterExtractionCondition (type: String.t, default: nil) - The condition under which filter extraction should occur. Default to Condition.DISABLED.
  • geoSearchQueryDetectionFieldNames (type: list(String.t), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec{
    filterExtractionCondition: String.t() | nil,
    geoSearchQueryDetectionFieldNames: [String.t()] | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.