Class: Aws::S3Vectors::Types::VectorData
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Vectors::Types::VectorData
- Defined in:
- gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb
Overview
Note:
VectorData is a union - when making an API calls you must set exactly one of the members.
Note:
VectorData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VectorData corresponding to the set member.
The vector data in different formats.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#float32 ⇒ Array<Float>
The vector data as 32-bit floating point numbers.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#float32 ⇒ Array<Float>
The vector data as 32-bit floating point numbers. The number of elements in this array must exactly match the dimension of the vector index where the operation is being performed.
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1382 class VectorData < Struct.new( :float32, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Float32 < VectorData; end class Unknown < VectorData; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1382 1383 1384 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1382 def unknown @unknown end |