Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::RankingRecord.
Record message for RankService.Rank method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String
Returns
#content=
def content=(value) -> ::String
Parameter
Returns
#id
def id() -> ::String
Returns
- (::String) — The unique ID to represent the record.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — The unique ID to represent the record.
Returns
- (::String) — The unique ID to represent the record.
#score
def score() -> ::Float
Returns
- (::Float) — The score of this record based on the given query and selected model.
#score=
def score=(value) -> ::Float
Parameter
- value (::Float) — The score of this record based on the given query and selected model.
Returns
- (::Float) — The score of this record based on the given query and selected model.
#title
def title() -> ::String
Returns
#title=
def title=(value) -> ::String
Parameter