Class: Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RankSignals::CustomSignal

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/search_service.rb

Overview

Custom clearbox signal represented by name and value pair.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Name of the signal.

Returns:

  • (::String)

    Name of the signal.



1324
1325
1326
1327
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1324

class CustomSignal
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::Float

Returns 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).



1324
1325
1326
1327
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1324

class CustomSignal
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end