weaviate-client
    Preparing search index...

    Type Alias VectorIndexConfigDynamicCreateOptions

    type VectorIndexConfigDynamicCreateOptions = {
        distanceMetric?: VectorDistance;
        flat?:
            | ModuleConfig<"flat", VectorIndexConfigFlatCreate | undefined>
            | VectorIndexConfigFlatCreateOptions;
        hnsw?:
            | ModuleConfig<"hnsw", VectorIndexConfigHNSWCreate | undefined>
            | VectorIndexConfigHNSWCreateOptions;
        threshold?: number;
    }
    Index

    Properties

    distanceMetric?: VectorDistance

    The distance metric to use. Default is 'cosine'.

    The flat configuration of the dynamic index. Use configure.vectorIndex.flat to make one or supply the type directly.

    The HNSW configuration of the dynamic index. Use configure.vectorIndex.hnsw to make one or supply the type directly.

    threshold?: number

    The threshold at which to . Default is 0.