Class: Aws::S3Vectors::Types::QueryOutputVector

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb

Overview

Amazon S3 Vectors is in preview release for Amazon S3 and is subject to change.

The attributes of a vector in the approximate nearest neighbor search.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataTypes::VectorData

The vector data associated with the vector, if requested.

Returns:



1014
1015
1016
1017
1018
1019
1020
1021
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1014

class QueryOutputVector < Struct.new(
  :key,
  :data,
  :metadata,
  :distance)
  SENSITIVE = []
  include Aws::Structure
end

#distanceFloat

The measure of similarity between the vector in the response and the query vector.

Returns:

  • (Float)


1014
1015
1016
1017
1018
1019
1020
1021
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1014

class QueryOutputVector < Struct.new(
  :key,
  :data,
  :metadata,
  :distance)
  SENSITIVE = []
  include Aws::Structure
end

#keyString

The key of the vector in the approximate nearest neighbor search.

Returns:

  • (String)


1014
1015
1016
1017
1018
1019
1020
1021
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1014

class QueryOutputVector < Struct.new(
  :key,
  :data,
  :metadata,
  :distance)
  SENSITIVE = []
  include Aws::Structure
end

#metadataHash, ...

The metadata associated with the vector, if requested.

Returns:

  • (Hash, Array, String, Numeric, Boolean)


1014
1015
1016
1017
1018
1019
1020
1021
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1014

class QueryOutputVector < Struct.new(
  :key,
  :data,
  :metadata,
  :distance)
  SENSITIVE = []
  include Aws::Structure
end