Skip to content

VectorIndex

rboto-dynamodb==0.4.0 · Service index · Types

Public import: from rboto_dynamodb.types import VectorIndex.

Used in: input. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

VectorIndex = TypedDict(
    "VectorIndex",
    {
        "index_name": Required['str'],
        "vector_attribute": Required['VectorAttributeDefinition'],
        "search_schema": NotRequired['Sequence[SearchSchemaElement]'],
        "projection": Required['Projection'],
        "dimensions": Required['int'],
        "distance_function": Required['VectorDistanceFunction'],
    },
)

Projection, SearchSchemaElement, VectorAttributeDefinition, VectorDistanceFunction