class
Amazonite::DynamoDB::SearchVectorsOutput
- Amazonite::DynamoDB::SearchVectorsOutput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
dynamodb/search_vectors_output.crConstructors
- .new(pull : JSON::PullParser)
- .new(consumed_capacity : VectorCapacity | Nil = nil, search_results : Array(SearchResultItem) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#consumed_capacity : VectorCapacity | Nil
The capacity units consumed by the
SearchVectorsoperation. -
#consumed_capacity=(consumed_capacity : VectorCapacity | Nil)
The capacity units consumed by the
SearchVectorsoperation. -
#hash(hasher)
See
Object#hash(hasher) -
#search_results : Array(SearchResultItem) | Nil
A list of items returned by the vector similarity search, sorted by similarity with the most similar item first.
-
#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.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The capacity units consumed by the SearchVectors operation. Contains
VectorSearchRequestBytes, which represents the vector search capacity consumed.
The capacity units consumed by the SearchVectors operation. Contains
VectorSearchRequestBytes, which represents the vector search capacity consumed.
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.
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.