Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector (v0.16.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::EmbeddingSpec::EmbeddingVector.

Embedding vector.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#field_path

def field_path() -> ::String
Returns
  • (::String) — Embedding field path in schema.

#field_path=

def field_path=(value) -> ::String
Parameter
  • value (::String) — Embedding field path in schema.
Returns
  • (::String) — Embedding field path in schema.

#vector

def vector() -> ::Array<::Float>
Returns
  • (::Array<::Float>) — Query embedding vector.

#vector=

def vector=(value) -> ::Array<::Float>
Parameter
  • value (::Array<::Float>) — Query embedding vector.
Returns
  • (::Array<::Float>) — Query embedding vector.