View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec (google_api_discovery_engine v0.27.0)

Describes the specification of the evaluation.

Attributes

  • querySetSpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec.t, default: nil) - Required. The specification of the query set.
  • searchRequest (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequest.t, default: nil) - Required. The search request that is used to perform the evaluation. Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned: SearchRequest.serving_config SearchRequest.branch SearchRequest.canonical_filter SearchRequest.query_expansion_spec SearchRequest.spell_correction_spec SearchRequest.content_search_spec * SearchRequest.user_pseudo_id

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec{
    querySetSpec:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec.t()
      | nil,
    searchRequest:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequest.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.