Class SearchVectorUtils
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.SearchVectorUtils
Utilities for marshalling search vectors to the low-level DynamoDB API.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<AttributeValue> toSearchVector(float[] searchVector) Converts afloat[]embedding into theList<AttributeValue>shape expected bySearchVectorsRequest.searchVector().static List<AttributeValue> toSearchVector(List<Float> searchVector) Converts aList<Float>embedding into theList<AttributeValue>shape expected bySearchVectorsRequest.searchVector().
-
Method Details
-
toSearchVector
Converts afloat[]embedding into theList<AttributeValue>shape expected bySearchVectorsRequest.searchVector(). -
toSearchVector
Converts aList<Float>embedding into theList<AttributeValue>shape expected bySearchVectorsRequest.searchVector().
-