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 Optional. Name of the signal.

Returns:

  • (::String)

    Optional. Name of the signal.



1488
1489
1490
1491
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1488

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

#value::Float

Returns Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).

Returns:

  • (::Float)

    Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).



1488
1489
1490
1491
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1488

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