View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult (google_api_discovery_engine v0.7.0)

Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results.

Attributes

  • followUpQuestions (type: list(String.t), default: nil) - Suggested follow-up questions.
  • refinementAttributes (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute.t), default: nil) - A list of ranked refinement attributes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult{
    followUpQuestions: [String.t()] | nil,
    refinementAttributes:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.