GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec (google_api_discovery_engine v0.28.0)

View Source

The specification for returning the document relevance score.

Attributes

  • returnRelevanceScore (type: boolean(), default: nil) - Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec{
    returnRelevanceScore: boolean() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.