class Amazonite::DynamoDB::SearchVectorsOutput

Included Modules

Defined in:

dynamodb/search_vectors_output.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(consumed_capacity : VectorCapacity | Nil = nil, search_results : Array(SearchResultItem) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def consumed_capacity : VectorCapacity | Nil #

The capacity units consumed by the SearchVectors operation. Contains VectorSearchRequestBytes, which represents the vector search capacity consumed.


[View source]
def consumed_capacity=(consumed_capacity : VectorCapacity | Nil) #

The capacity units consumed by the SearchVectors operation. Contains VectorSearchRequestBytes, which represents the vector search capacity consumed.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def search_results : Array(SearchResultItem) | Nil #

A list of items returned by the vector similarity search, sorted by similarity with the most similar item first. Each item contains the projected attributes and a similarity score.


[View source]
def search_results=(search_results : Array(SearchResultItem) | Nil) #

A list of items returned by the vector similarity search, sorted by similarity with the most similar item first. Each item contains the projected attributes and a similarity score.


[View source]
def validate! : Nil #

[View source]