/** * This file contains functions for modifying embeddings to include importance. * Terminology is roughly: a "vector" is an "embedding" + importance. * Users pass in embeddings, the tables and vector search deal with vectors. */ /** * For a search, we need to add a 0 to the end of the embedding so we ignore * the weight value. */ export declare function searchVector(embedding: number[]): number[]; /** * For an importance of x (0 to 1): * @param embedding - The vector to modify with an importance weight. * @param importance - 0 - 1, where 0 is no importance and 1 is full importance. * @returns The vector with the importance added. */ export declare function vectorWithImportance(embedding: number[], importance: number): number[]; export declare function modifyImportance(vector: number[], importance: number): number[]; export declare function getImportance(vector: number[]): number; export declare function vectorWithImportanceDimension(dimensions: number): number; //# sourceMappingURL=importance.d.ts.map