@zukhruf/vectors 0.8.33 → 0.8.35

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.
Files changed (2) hide show
  1. package/README.md +10 -9
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -230,15 +230,16 @@ Checked on 2026-11-18:
230
230
 
231
231
  The package is designed for its domain. Each program below moves onto it and drops its own copy.
232
232
 
233
- | Program | Its copy today | After |
234
- | ----------------------- | ------------------------------------------------------------------ | ---------------------------------------------- |
235
- | `@deepagents/retrieval` | `vectorToBlob` in `stores/sqlite/sqlite.ts` | `sqlite.toSql` |
236
- | `@zukhruf/embeddings` | `UnitVector` and `toBlob` in `src/vector.ts`, cosine in JavaScript | `UnitVector`, `sqlite.toSql`, `cosineDistance` |
237
- | `@eltjs/embedding` | `unitVector` in `src/embedding.ts` (#4118) | `UnitVector`, `sqlite.toSql` |
238
- | Context Compiler | through `@zukhruf/embeddings` | the same |
239
- | datahub | none | `sqlserver.toSql`, `sqlType` |
240
-
241
- The cache that embeds only changed text is not in this package ([ADR 0008](./docs/adr/0008-the-embedding-cache-decorates-the-model-and-lives-outside-this-package.md)).
233
+ | Program | Its copy today | After |
234
+ | ------------------------------ | ------------------------------------------------------------------ | ---------------------------------------------- |
235
+ | `@deepagents/retrieval` | `vectorToBlob` in `stores/sqlite/sqlite.ts` | `sqlite.toSql` |
236
+ | `@zukhruf/embeddings` | `UnitVector` and `toBlob` in `src/vector.ts`, cosine in JavaScript | `UnitVector`, `sqlite.toSql`, `cosineDistance` |
237
+ | `@eltjs/embedding` | `unitVector` in `src/embedding.ts` (#4118) | `UnitVector`, `sqlite.toSql` |
238
+ | Context Compiler | through `@zukhruf/embeddings` | the same |
239
+ | `@zukhruf/relevance-filtering` | a hand-written cosine in `src/similarity-scorer.ts` | `UnitVector`, `dot` |
240
+ | datahub | none | `sqlserver.toSql`, `sqlType` |
241
+
242
+ The cache that embeds only new text is its own package, `@zukhruf/embedding-cache` ([ADR 0008](./docs/adr/0008-the-embedding-cache-decorates-the-model-and-lives-outside-this-package.md)).
242
243
 
243
244
  ## Later
244
245
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zukhruf/vectors",
3
- "version": "0.8.33",
3
+ "version": "0.8.35",
4
4
  "description": "Vector types, their math, and the SQL form of each vector in SQLite, sqlite-vec and SQL Server, which a program composes into its own SQL. After the vector types of pgvector and the TensorPrimitives of .NET.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -55,8 +55,8 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/mssql": "^12.3.0",
58
- "@zukhruf/sqlite-open": "^0.8.33",
59
- "@zukhruf/testing": "^0.8.33",
58
+ "@zukhruf/sqlite-open": "^0.8.35",
59
+ "@zukhruf/testing": "^0.8.35",
60
60
  "mssql": "^12.7.14",
61
61
  "sqlite-vec": "^0.1.9"
62
62
  }