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

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#distanceFloat

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

Returns:

  • (Float)


1064
1065
1066
1067
1068
1069
1070
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1064

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

#keyString

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

Returns:

  • (String)


1064
1065
1066
1067
1068
1069
1070
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1064

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

#metadataHash, ...

The metadata associated with the vector, if requested.

Returns:

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


1064
1065
1066
1067
1068
1069
1070
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/types.rb', line 1064

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