Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal (v2.5.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal.

Custom clearbox signal represented by name and value pair.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Name of the signal.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the signal.
Returns
  • (::String) — Name of the signal.

#value

def value() -> ::Float
Returns
  • (::Float) — Float value representing the ranking signal (e.g. 1.25 for BM25).

#value=

def value=(value) -> ::Float
Parameter
  • value (::Float) — Float value representing the ranking signal (e.g. 1.25 for BM25).
Returns
  • (::Float) — Float value representing the ranking signal (e.g. 1.25 for BM25).