SearchVectorsInput
¶
Source code in docs_src/capo_dynamodb/types/search_vectors_input.py
expression_attribute_names
instance-attribute
¶
expression_attribute_names: NotRequired[ExpressionAttributeNameMap]
One or more substitution tokens for attribute names in an expression. Use the # character in an expression to dereference an attribute name.
expression_attribute_values
instance-attribute
¶
expression_attribute_values: NotRequired[ExpressionAttributeValueMap]
One or more values that can be substituted in an expression. Use the : character in an expression to dereference an attribute value.
index_name
instance-attribute
¶
index_name: IndexName
The name of the vector index to search. The index must be in the ACTIVE state.
projection_expression
instance-attribute
¶
projection_expression: NotRequired[ProjectionExpression]
A string that identifies one or more attributes to retrieve from the index. Separate attribute names with commas. If not specified, the operation returns all attributes projected into the vector index.
Only attributes projected into the vector index can be retrieved.
return_consumed_capacity
instance-attribute
¶
return_consumed_capacity: NotRequired[ReturnConsumedCapacity]
search_condition_expression
instance-attribute
¶
search_condition_expression: NotRequired[String]
A condition expression used to filter the vector search results. The expression can reference attributes defined in the vector index search schema, including HASH and INLINE_FILTER key elements.
Only the equality operator (=) is supported for HASH attributes. Comparison and range operators are supported for INLINE_FILTER attributes. Only top-level attributes from the search schema can be referenced.
search_vector
instance-attribute
¶
search_vector: SearchVectorList
The search vector to compare against the indexed vectors. Each element is a 32-bit IEEE-754 floating point number, provided in DynamoDB list format.
The number of dimensions must match the number of dimensions configured for the vector index.