Type alias VectorIndexConfigFlatCreateOptions

VectorIndexConfigFlatCreateOptions: {
    distanceMetric?: VectorDistance;
    quantizer?: BQConfigCreate;
    vectorCacheMaxObjects?: number;
}

Type declaration

  • Optional distanceMetric?: VectorDistance

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

  • Optional quantizer?: BQConfigCreate

    The quantizer configuration to use. Default is bq.

  • Optional vectorCacheMaxObjects?: number

    The maximum number of objects to cache in the vector cache. Default is 1000000000000.