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.
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1370 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
1370 1371 1372 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1370 def unknown @unknown end |