Interface TableVectorIndexOptions

Options aviailable for the vector index

interface TableVectorIndexOptions {
    metric?: "cosine" | "euclidean" | "dot_product";
    sourceModel?: string;
}

Properties

metric?: "cosine" | "euclidean" | "dot_product"

The similarity metric to use for the index.

sourceModel?: string

Enable certain vector optimizations on the index by specifying the source model for your vectors, such as (not exhaustive) 'openai_v3_large', 'openai_v3_small', 'ada002', 'gecko', 'bert', or 'other' (default).