Member Junction
    Preparing search index...

    Interface CreateVectorIndexOptions

    interface CreateVectorIndexOptions {
        dimension: number;
        metric?: "cosine" | "euclidean" | "dotproduct";
        name: string;
        timeoutMs?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    dimension: number

    Number of dimensions for vectors in this index

    metric?: "cosine" | "euclidean" | "dotproduct"

    Distance metric: cosine, euclidean, or dotproduct

    name: string

    Name of the index to create

    timeoutMs?: number

    Timeout in milliseconds for the operation