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.
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1261 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
1261 1262 1263 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1261 def unknown @unknown end |