closevector-hnswlib-wasm
Version:
typescript and wasm bindings for Hnswlib
23 lines (19 loc) • 763 B
text/typescript
/***************** GENERATED FILE ********************/
export const defaultParams = {
/**
* Default parameters for the HNSW index.
* @param {number} m The maximum number of outgoing connections on the graph (default: 16).
* @param {number} efConstruction The parameter that controls speed/accuracy trade-off during the index construction (default: 200).
* @param {number} randomSeed The seed value of random number generator (default: 100).
*/
initIndex: [32, 128, 100],
} as const;
export type defaultParamtersTypes = keyof typeof defaultParams;
export const hnswParamsForAda = {
m: 32,
efSearch: 128,
efConstruction: 128,
numNeighbors: 8,
dimensions: 1538,
} as const;
/***************** GENERATED FILE ********************/