Class: Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec

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

Overview

The specification that uses customized query embedding vector to do semantic document retrieval.

Defined Under Namespace

Classes: EmbeddingVector

Instance Attribute Summary collapse

Instance Attribute Details

#embedding_vectors::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector>

Returns The embedding vector used for retrieval. Limit to 1.

Returns:



811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 811

class EmbeddingSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Embedding vector.
  # @!attribute [rw] field_path
  #   @return [::String]
  #     Embedding field path in schema.
  # @!attribute [rw] vector
  #   @return [::Array<::Float>]
  #     Query embedding vector.
  class EmbeddingVector
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end