View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult (google_api_discovery_engine v0.27.0)
RecommendationResult represents a generic recommendation result with associated metadata.
Attributes
-
document
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Document.t
, default:nil
) - Set ifreturnDocument
is set to true in RecommendRequest.params. -
id
(type:String.t
, default:nil
) - Resource ID of the recommended Document. -
metadata
(type:map()
, default:nil
) - Additional Document metadata or annotations. Possible values: *score
: Recommendation score in double value. Is set ifreturnScore
is set to true in RecommendRequest.params.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult{ document: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1Document.t() | nil, id: String.t() | nil, metadata: map() | nil }