CmdID / aws / aws dynamodb
aws dynamodb search-vectors
Performs a vector similarity search on a vector index associated with an Amazon DynamoDB table, and returns the most similar items sorted by similarity score based on the distance function configured for the index. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--expression-attribute-namesOne or more substitution tokens for attribute names in an expression.--expression-attribute-valuesOne or more values that can be substituted in an expression.--index-nameThe name of the vector index to search.--projection-expressionA string that identifies one or more attributes to retrieve from the index.--return-consumed-capacityDetermines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response: INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.--search-condition-expressionA condition expression used to filter the vector search results.--search-vectorThe search vector to compare against the indexed vectors.--table-nameThe name or Amazon Resource Name (ARN) of the table containing the vector index.--top-kThe number of most similar results to return.