@wiscale/velesdb-wasm 0.6.0 → 0.8.5

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
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@wiscale/velesdb-wasm",
3
3
  "type": "module",
4
+ "collaborators": [
5
+ "VelesDB Team <contact@wiscale.fr>"
6
+ ],
4
7
  "description": "VelesDB for WebAssembly - Vector search in the browser",
5
- "version": "0.6.0",
6
- "license": "Elastic-2.0",
8
+ "version": "0.8.5",
9
+ "license": "SEE LICENSE IN ../../LICENSE",
7
10
  "repository": {
8
11
  "type": "git",
9
- "url": "https://github.com/cyberlife-coder/VelesDB"
12
+ "url": "https://github.com/cyberlife-coder/velesdb"
10
13
  },
11
14
  "files": [
12
15
  "velesdb_wasm_bg.wasm",
@@ -14,8 +17,16 @@
14
17
  "velesdb_wasm.d.ts"
15
18
  ],
16
19
  "main": "velesdb_wasm.js",
20
+ "homepage": "https://velesdb.com",
17
21
  "types": "velesdb_wasm.d.ts",
18
22
  "sideEffects": [
19
23
  "./snippets/*"
24
+ ],
25
+ "keywords": [
26
+ "vector-database",
27
+ "wasm",
28
+ "webassembly",
29
+ "browser",
30
+ "search"
20
31
  ]
21
32
  }
package/velesdb_wasm.d.ts CHANGED
@@ -55,6 +55,10 @@ export class VectorStore {
55
55
  * - `full`: Best recall, 4 bytes/dimension
56
56
  * - `sq8`: 4x compression, ~1% recall loss
57
57
  * - `binary`: 32x compression, ~5-10% recall loss
58
+ *
59
+ * # Errors
60
+ *
61
+ * Returns an error if the metric or storage mode is unknown.
58
62
  */
59
63
  static new_with_mode(dimension: number, metric: string, mode: string): VectorStore;
60
64
  /**
package/velesdb_wasm.js CHANGED
@@ -391,6 +391,10 @@ export class VectorStore {
391
391
  * - `full`: Best recall, 4 bytes/dimension
392
392
  * - `sq8`: 4x compression, ~1% recall loss
393
393
  * - `binary`: 32x compression, ~5-10% recall loss
394
+ *
395
+ * # Errors
396
+ *
397
+ * Returns an error if the metric or storage mode is unknown.
394
398
  * @param {number} dimension
395
399
  * @param {string} metric
396
400
  * @param {string} mode
Binary file