Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Embedding vector.
Instance Attribute Summary collapse
-
#field_path ⇒ String
Embedding field path in schema.
-
#vector ⇒ Array<Float>
Query embedding vector.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector.
16067 16068 16069 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16067 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_path ⇒ String
Embedding field path in schema.
Corresponds to the JSON property fieldPath
16060 16061 16062 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16060 def field_path @field_path end |
#vector ⇒ Array<Float>
Query embedding vector.
Corresponds to the JSON property vector
16065 16066 16067 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16065 def vector @vector end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16072 16073 16074 16075 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16072 def update!(**args) @field_path = args[:field_path] if args.key?(:field_path) @vector = args[:vector] if args.key?(:vector) end |