generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / opensearch_vectorindex / VectorIndexProps

Interface: VectorIndexProps

Properties for the VectorIndex.

Properties

analyzer?

readonly optional analyzer: Analyzer

The analyzer to use.

Default

- No analyzer.

collection

readonly collection: VectorCollection

The OpenSearch Vector Collection.


indexName

readonly indexName: string

The name of the index.


mappings

readonly mappings: MetadataManagementFieldProps[]

The metadata management fields.


vectorDimensions

readonly vectorDimensions: number

The number of dimensions in the vector.


vectorField

readonly vectorField: string

The name of the vector field.