Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec.
The specification that uses customized query embedding vector to do semantic document retrieval.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#embedding_vectors
def embedding_vectors() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector>) — The embedding vector used for retrieval. Limit to 1.
#embedding_vectors=
def embedding_vectors=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector>) — The embedding vector used for retrieval. Limit to 1.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector>) — The embedding vector used for retrieval. Limit to 1.