@wiscale/velesdb-wasm 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/velesdb_wasm.d.ts +6 -0
- package/velesdb_wasm.js +7 -1
- package/velesdb_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/velesdb_wasm.d.ts
CHANGED
|
@@ -536,6 +536,12 @@ export enum StorageMode {
|
|
|
536
536
|
* fallback. For true PQ, use the native `velesdb-core` crate.
|
|
537
537
|
*/
|
|
538
538
|
ProductQuantization = 3,
|
|
539
|
+
/**
|
|
540
|
+
* `RaBitQ`: 1-bit with rotation + scalar correction (32x compression).
|
|
541
|
+
* **WASM limitation**: training requires `ndarray`/`persistence`. Falls back
|
|
542
|
+
* to Full precision in WASM builds.
|
|
543
|
+
*/
|
|
544
|
+
RaBitQ = 4,
|
|
539
545
|
}
|
|
540
546
|
|
|
541
547
|
/**
|
package/velesdb_wasm.js
CHANGED
|
@@ -1350,7 +1350,7 @@ if (Symbol.dispose) SparseIndex.prototype[Symbol.dispose] = SparseIndex.prototyp
|
|
|
1350
1350
|
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Storage mode for vector quantization.
|
|
1353
|
-
* @enum {0 | 1 | 2 | 3}
|
|
1353
|
+
* @enum {0 | 1 | 2 | 3 | 4}
|
|
1354
1354
|
*/
|
|
1355
1355
|
export const StorageMode = Object.freeze({
|
|
1356
1356
|
/**
|
|
@@ -1371,6 +1371,12 @@ export const StorageMode = Object.freeze({
|
|
|
1371
1371
|
* fallback. For true PQ, use the native `velesdb-core` crate.
|
|
1372
1372
|
*/
|
|
1373
1373
|
ProductQuantization: 3, "3": "ProductQuantization",
|
|
1374
|
+
/**
|
|
1375
|
+
* `RaBitQ`: 1-bit with rotation + scalar correction (32x compression).
|
|
1376
|
+
* **WASM limitation**: training requires `ndarray`/`persistence`. Falls back
|
|
1377
|
+
* to Full precision in WASM builds.
|
|
1378
|
+
*/
|
|
1379
|
+
RaBitQ: 4, "4": "RaBitQ",
|
|
1374
1380
|
});
|
|
1375
1381
|
|
|
1376
1382
|
/**
|
package/velesdb_wasm_bg.wasm
CHANGED
|
Binary file
|