Optional
distanceOptional
flat?: ModuleConfig<"flat", VectorIndexConfigFlatCreate | undefined> | VectorIndexConfigFlatCreateOptionsThe flat configuration of the dynamic index. Use configure.vectorIndex.flat
to make one or supply the type directly.
Optional
hnsw?: ModuleConfig<"hnsw", VectorIndexConfigHNSWCreate | undefined> | VectorIndexConfigHNSWCreateOptionsThe HNSW configuration of the dynamic index. Use configure.vectorIndex.hnsw
to make one or supply the type directly.
Optional
threshold?: numberThe threshold at which to . Default is 0.
The distance metric to use. Default is 'cosine'.