Unique name for the index
32-byte encryption key as hex string
Index configuration object. Optional when using embedding_model (defaults to IVFFlat).
When provided, must contain:
type: Index type (ivfflat, ivfpq, ivfsq). ivf is also accepted but deprecated — use ivfflat instead.
dimension: Embedding dimension (optional)
pq_dim: Product quantization dimension (required for ivfpq)
pq_bits: Number of bits per sub-vector (required for ivfpq)
sq_bits: Number of bits per dimension for scalar quantization (required for ivfsq, default: 16)
See Index Types for details.
Distance metric to use for the index. Options: euclidean, cosine, squared_euclidean.
Defaults to euclidean
Optional sentence-transformers model for automatic embedding generation.
When specified, dimension in index_config becomes optional as it will be inferred from the model