dsh-engramory-recall 0.12.3 → 0.12.4
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/CHANGELOG.md +15 -0
- package/README.md +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
本项目的所有重要变更都记在这里。格式参照 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
|
|
4
4
|
版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
5
5
|
|
|
6
|
+
## [0.12.4] — 2026-10-15
|
|
7
|
+
|
|
8
|
+
### 修复
|
|
9
|
+
|
|
10
|
+
- **`npm run bench:embed -- --real` 之前根本跑不起来**:生成的一次性提供方模块用了默认导入,
|
|
11
|
+
而参考提供方只有命名导出 ⇒ 每条查询都记成 `load-error`,质量列直接掉到 0。改成 namespace 导入。
|
|
12
|
+
(用本机假 embeddings 服务把 `--real` 那条完整路径跑通了才发现 —— 也就是说,**这条文档里写着的
|
|
13
|
+
一条命令,之前只有真去接端点的人才会撞上**。)
|
|
14
|
+
|
|
15
|
+
### 新增
|
|
16
|
+
|
|
17
|
+
- `bench:embed` 支持 `--timeout <ms>`(默认 20000):给端点的预算,**超时降级为词面结果而不是报错**。
|
|
18
|
+
实测:服务端每次慢 1.5 秒 + 预算 800 ms ⇒ 每次检索 p50 = 805 ms(预算被当真),
|
|
19
|
+
全列 `timeout×20`、质量退回词面基线。
|
|
20
|
+
|
|
6
21
|
## [0.12.3] — 2026-10-15
|
|
7
22
|
|
|
8
23
|
### 新增
|
package/README.md
CHANGED
|
@@ -758,6 +758,10 @@ export ENGRAMORY_EMBED_MODEL=text-embedding-3-small
|
|
|
758
758
|
真库那半边要显式加 `--store ~/memory/engramory` —— 加了就意味着**你的笔记片段会发给那个端点**,
|
|
759
759
|
所以默认不开。
|
|
760
760
|
|
|
761
|
+
`--timeout <ms>`(默认 20000)是给这条端点的预算:**超时即降级为词面结果**,不是报错。
|
|
762
|
+
拿本机慢服务自证过:服务端故意每次慢 1.5 秒、预算给 800 ms ⇒ 每次检索 p50 卡在 805 ms
|
|
763
|
+
(预算被当真了),结果全列 `超时/失败 = 20(timeout×20)`,质量列退回词面基线 —— 端点在抖也不会拖死检索。
|
|
764
|
+
|
|
761
765
|
假向量(哈希向量 = 最坏提供方)跑出来的两组数字,正好把上面那张融合表变成实测:
|
|
762
766
|
|
|
763
767
|
| 卷子 | 词面 hit@1 / hit@4 | 假向量 + `trust` | 假向量 + `rrf` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-engramory-recall",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Local BM25 auto-recall, fail-closed write guard, static doctor and a memory panel for the Engramory markdown store — no network, no model, no daemon.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|