Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RetrievalSignals.
Contains a set of signals used by the relevance filter.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#retrieval_sources
def retrieval_sources() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RetrievalSignals::RetrievalSource>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RetrievalSignals::RetrievalSource>) — Optional. Indicates how the result was retrieved.
#retrieval_sources=
def retrieval_sources=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RetrievalSignals::RetrievalSource>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RetrievalSignals::RetrievalSource>) — Optional. Indicates how the result was retrieved.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::SearchResult::RetrievalSignals::RetrievalSource>) — Optional. Indicates how the result was retrieved.
#semantic_relevance_score
def semantic_relevance_score() -> ::Float
Returns
- (::Float) — Optional. Relevance score used by the filter when semantic_relevance_threshold is set.
#semantic_relevance_score=
def semantic_relevance_score=(value) -> ::Float
Parameter
- value (::Float) — Optional. Relevance score used by the filter when semantic_relevance_threshold is set.
Returns
- (::Float) — Optional. Relevance score used by the filter when semantic_relevance_threshold is set.