View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec (google_api_discovery_engine v0.15.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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.