@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 CHANGED
@@ -5,7 +5,7 @@
5
5
  "Julien Lange <contact@wiscale.fr>"
6
6
  ],
7
7
  "description": "VelesDB for WebAssembly - Vector search in the browser",
8
- "version": "1.7.1",
8
+ "version": "1.8.0",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
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
  /**
Binary file