Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentResponseEmbedding
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentResponseEmbedding
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
A list of floats representing an embedding.
Instance Attribute Summary collapse
-
#values ⇒ Array<Float>
Embedding vector values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1EmbedContentResponseEmbedding
constructor
A new instance of GoogleCloudAiplatformV1EmbedContentResponseEmbedding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1EmbedContentResponseEmbedding
Returns a new instance of GoogleCloudAiplatformV1EmbedContentResponseEmbedding.
8276 8277 8278 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Array<Float>
Embedding vector values.
Corresponds to the JSON property values
8274 8275 8276 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8274 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8281 8282 8283 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8281 def update!(**args) @values = args[:values] if args.key?(:values) end |