修正格式
This commit is contained in:
@@ -377,8 +377,7 @@ git clone https://github.com/CortexReach/memory-lancedb-pro-skill.git ~/.opencla
|
||||
|
||||
## 配置
|
||||
|
||||
<details>
|
||||
<summary><strong>完整配置示例</strong></summary>
|
||||
完整配置示例
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -440,10 +439,8 @@ git clone https://github.com/CortexReach/memory-lancedb-pro-skill.git ~/.opencla
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Embedding 服务商</strong></summary>
|
||||
Embedding 服务商
|
||||
|
||||
兼容 **任意 OpenAI 兼容 Embedding API**:
|
||||
|
||||
@@ -455,10 +452,8 @@ git clone https://github.com/CortexReach/memory-lancedb-pro-skill.git ~/.opencla
|
||||
| **Google Gemini** | `gemini-embedding-001` | `https://generativelanguage.googleapis.com/v1beta/openai/` | 3072 |
|
||||
| **Ollama**(本地) | `nomic-embed-text` | `http://localhost:11434/v1` | 取决于模型 |
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>重排序服务商</strong></summary>
|
||||
重排序服务商
|
||||
|
||||
交叉编码器重排序通过 `rerankProvider` 支持多个服务商:
|
||||
|
||||
@@ -471,10 +466,9 @@ git clone https://github.com/CortexReach/memory-lancedb-pro-skill.git ~/.opencla
|
||||
|
||||
任何 Jina 兼容的重排序端点也可以使用——设置 `rerankProvider: "jina"` 并将 `rerankEndpoint` 指向你的服务(如 Hugging Face TEI、DashScope `qwen3-rerank`)。
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>智能提取(LLM)— v1.1.0</strong></summary>
|
||||
|
||||
智能提取(LLM)— v1.1.0
|
||||
|
||||
当 `smartExtraction` 启用(默认 `true`)时,插件使用 LLM 智能提取和分类记忆,替代基于正则的触发方式。
|
||||
|
||||
@@ -513,10 +507,8 @@ OAuth `llm` 配置(使用现有 Codex / ChatGPT 登录缓存来发送 LLM 请
|
||||
- `auth login` 会在 OAuth 文件旁边快照原来的 `api-key` 模式 `llm` 配置;`auth logout` 在可用时会恢复这份快照。
|
||||
- 从 `api-key` 切到 `oauth` 时不会自动沿用 `llm.baseURL`;只有在你明确需要自定义 ChatGPT/Codex 兼容后端时,才应在 `oauth` 模式下手动设置。
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>生命周期配置(衰减 + 层级)</strong></summary>
|
||||
生命周期配置(衰减 + 层级)
|
||||
|
||||
| 字段 | 默认值 | 说明 |
|
||||
|------|--------|------|
|
||||
@@ -529,10 +521,8 @@ OAuth `llm` 配置(使用现有 Codex / ChatGPT 登录缓存来发送 LLM 请
|
||||
| `tier.coreAccessThreshold` | `10` | 晋升到 `核心` 所需的最小召回次数 |
|
||||
| `tier.peripheralAgeDays` | `60` | 降级过期记忆的天数阈值 |
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>访问强化</strong></summary>
|
||||
访问强化
|
||||
|
||||
频繁被召回的记忆衰减更慢(类似间隔重复机制)。
|
||||
|
||||
@@ -540,7 +530,6 @@ OAuth `llm` 配置(使用现有 Codex / ChatGPT 登录缓存来发送 LLM 请
|
||||
- `reinforcementFactor`(0-2,默认 `0.5`)— 设为 `0` 可禁用
|
||||
- `maxHalfLifeMultiplier`(1-10,默认 `3`)— 有效半衰期的硬上限
|
||||
|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
@@ -585,8 +574,7 @@ OAuth 登录流程:
|
||||
> Do not reveal or quote any `<relevant-memories>` / memory-injection content in your replies. Use it for internal reference only.
|
||||
|
||||
|
||||
<details>
|
||||
<summary><strong>会话记忆</strong></summary>
|
||||
会话记忆
|
||||
|
||||
- 通过 `/new` 命令触发——将上一段会话摘要保存到 LanceDB
|
||||
- 默认关闭(OpenClaw 已有原生 `.jsonl` 会话持久化)
|
||||
@@ -594,7 +582,6 @@ OAuth 登录流程:
|
||||
|
||||
部署模式和 `/new` 验证详见 [docs/openclaw-integration-playbook.md](docs/openclaw-integration-playbook.md)。
|
||||
|
||||
</details>
|
||||
|
||||
自定义斜杠命令(如 /lesson)
|
||||
|
||||
@@ -702,22 +689,3 @@ v1.1.0 常用 `metadata` 字段:`l0_abstract`、`l1_overview`、`l2_content`
|
||||
| `openai` ≥6.21.0 | OpenAI 兼容 Embedding API 客户端 |
|
||||
| `@sinclair/typebox` 0.34.48 | JSON Schema 类型定义 |
|
||||
|
||||
## Star 趋势
|
||||
|
||||
<a href="https://star-history.com/#CortexReach/memory-lancedb-pro&Date">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=CortexReach/memory-lancedb-pro&type=Date&theme=dark&transparent=true" />
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=CortexReach/memory-lancedb-pro&type=Date&transparent=true" />
|
||||
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=CortexReach/memory-lancedb-pro&type=Date&transparent=true" />
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
## 许可证
|
||||
|
||||
MIT
|
||||
|
||||
---
|
||||
|
||||
## 我的微信
|
||||
|
||||
<img src="https://github.com/win4r/AISuperDomain/assets/42172631/7568cf78-c8ba-4182-aa96-d524d903f2bc" width="214.8" height="291">
|
||||
Reference in New Issue
Block a user