stratagate-dsh 0.2.34 → 0.2.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.
- package/CHANGELOG.md +6 -0
- package/README.md +7 -0
- package/dist/index.js +111 -10
- package/dist/index.js.map +1 -1
- package/docs/README.zh-CN.md +6 -0
- package/package.json +1 -1
package/docs/README.zh-CN.md
CHANGED
|
@@ -108,6 +108,12 @@ Block 时为 `null`;`no_blocks_in_namespace` 表示命名空间没有已封存
|
|
|
108
108
|
`scope` 过滤,因此可以用 `memory_get_blocks(scope=namespace)` 或 `memory_expand_block`
|
|
109
109
|
继续浏览 raw 命中的 `blockId`,不会再出现范围不明的空结果。
|
|
110
110
|
|
|
111
|
+
搜索默认返回紧凑卡片:Event 保留 `id`、标题、摘要、时间、状态/范围和 `sourceBlockId`;Graph
|
|
112
|
+
保留 `id`、名称、类型、别名、当前状态及可解释的 `matchedFields`/`matchReason`;Raw 保留消息
|
|
113
|
+
ID、`blockId`、角色、轮次和有界摘录。`narrative`、`quotes`、来源消息列表、完整 facts/edges
|
|
114
|
+
及邻近原文请通过对应 expand 工具获取。`rankScore` 仅是 BM25/RRF 排序指标,不是概率、置信度或
|
|
115
|
+
事实准确率。
|
|
116
|
+
|
|
111
117
|
旧 Element 工具名仅作为已有安装的兼容接口保留。
|
|
112
118
|
|
|
113
119
|
提示词协议要求模型在依赖检索证据前完成评估。仅搜索不会强化记忆。非空的 `memory_record_use` 只接受所选批次中被“证据充分”评估采纳的证据,并使用 DSH 工具调用 ID 作为幂等回执。严格顺序调用可省略 `batch_id`,此时兼容地选择最新批次;并行或交错检索必须显式传入。评估响应会列出未被采纳的 ref 及原因。
|