Const The configuration object.
Optional opts: VectorIndexConfigDynamicCreateOptionsThe options available for configuring the dynamic vector index.
Create a ModuleConfig<'flat', VectorIndexConfigFlatCreate | undefined> object when defining the configuration of the FLAT vector index.
Use this method when defining the options.vectorIndexConfig argument of the configure.vectors method.
The configuration object.
Optional opts: VectorIndexConfigFlatCreateOptionsThe options available for configuring the flat vector index.
Create a ModuleConfig<'hnsw', VectorIndexConfigHNSWCreate | undefined> object when defining the configuration of the HNSW vector index.
Use this method when defining the options.vectorIndexConfig argument of the configure.vectors method.
The configuration object.
Optional opts: VectorIndexConfigHNSWCreateOptionsThe options available for configuring the HNSW vector index.
Define the configuration for a multi-vector index.
Specify the encoding configuration for a multi-vector index.
Create an object of type MuveraEncodingConfigCreate to be used when defining the encoding configuration of a multi-vector index using MUVERA.
The object of type MuveraEncodingConfigCreate.
Optional options: { Optional dprojections?: numberThe number of projections to use. Default is undefined.
Optional ksim?: numberThe number of nearest neighbors to consider for similarity. Default is undefined.
Optional repetitions?: numberThe number of repetitions to use. Default is undefined.
Optional dprojections?: numberOptional ksim?: numberOptional repetitions?: numberOptional type?: "muvera"Create an object of type MultiVectorConfigCreate to be used when defining the configuration of a multi-vector index.
The object of type MultiVectorConfigCreate.
Optional options: { Optional aggregation?: stringThe aggregation method to use. Default is 'maxSim'.
Optional encoding?: { The encoding configuration for the multi-vector index. Default is undefined.
Optional dprojections?: numberOptional ksim?: numberOptional repetitions?: numberOptional type?: "muvera"Define the quantizer configuration to use when creating a vector index.
Create an object of type BQConfigCreate to be used when defining the quantizer configuration of a vector index.
The object of type BQConfigCreate.
Optional options: { Optional cache?: booleanWhether to cache the quantizer. Default is false.
Optional rescoreThe rescore limit. Default is 1000.
Create an object of type UncompressedConfig to be used when defining the quantizer configuration of a vector index.
This is useful for disabling the default quantization present in Weaviate>=1.33.0.
The object of type UncompressedConfig.
Create an object of type PQConfigCreate to be used when defining the quantizer configuration of a vector index.
The object of type PQConfigCreate.
Optional options: { Optional bitWhether to use bit compression.
Optional centroids?: numberThe number of centroids.
Optional encoder?: { Optional distribution?: PQEncoderDistributionOptional type?: PQEncoderTypeOptional segments?: numberThe number of segments.
Optional trainingThe training limit.
Create an object of type RQConfigCreate to be used when defining the quantizer configuration of a vector index.
The object of type RQConfigCreate.
Optional options: { Optional bits?: numberNumber of bits to user per vector element.
Optional rescoreThe rescore limit. Default is 1000.
Create an object of type SQConfigCreate to be used when defining the quantizer configuration of a vector index.
The object of type SQConfigCreate.
Optional options: { Optional rescoreThe rescore limit.
Optional trainingThe training limit.
Create a
ModuleConfig<'dynamic', VectorIndexConfigDynamicCreate | undefined>object when defining the configuration of the dynamic vector index.Use this method when defining the
options.vectorIndexConfigargument of theconfigure.vectorsmethod.