move note search

This commit is contained in:
Yanxin Lu
2026-04-03 15:44:25 -07:00
parent f410df3e7a
commit acc42c4381
14 changed files with 10 additions and 6 deletions

View File

@@ -107,7 +107,7 @@ _这份文件记录持续性项目和重要状态跨会话保留。_
**状态**: 运行中
**创建**: 2026-04-03
**配置**:
- 工具: `~/.openclaw/workspace/notesearch/`
- 工具: `~/.openclaw/workspace/skills/notesearch/`
- 笔记库: `/home/lyx/Documents/obsidian-yanxin`Obsidian vault独立 git 仓库)
- 嵌入模型: `qwen3-embedding:0.6b`(通过 Ollama
- 索引: `<vault>/.index/`gitignored
@@ -129,7 +129,7 @@ _这份文件记录持续性项目和重要状态跨会话保留。_
| 日历/待办 | `~/.openclaw/workspace/skills/calendar/` |
| 日历数据 | `~/.openclaw/workspace/calendars/` (home=事件, tasks=待办) |
| himalaya 包装器 | `~/.openclaw/workspace/scripts/himalaya.sh` |
| 笔记搜索 | `~/.openclaw/workspace/notesearch/` |
| 笔记搜索 | `~/.openclaw/workspace/skills/notesearch/` |
| Obsidian 笔记库 | `/home/lyx/Documents/obsidian-yanxin` |
---

View File

@@ -186,14 +186,14 @@ $SKILL_DIR/scripts/calendar.sh todo check # 每日摘要cron
### Notesearch 笔记搜索
**目录**: `~/.openclaw/workspace/notesearch/`
**配置**: `~/.openclaw/workspace/notesearch/config.json`
**目录**: `~/.openclaw/workspace/skills/notesearch/`
**配置**: `~/.openclaw/workspace/skills/notesearch/config.json`
**笔记库**: `/home/lyx/Documents/obsidian-yanxin`Obsidian vaultgit 管理)
基于向量搜索的笔记检索工具,使用 LlamaIndex + Ollama 嵌入模型索引 Obsidian 笔记。
```bash
NOTESEARCH=~/.openclaw/workspace/notesearch/notesearch.sh
NOTESEARCH=~/.openclaw/workspace/skills/notesearch/notesearch.sh
# 搜索笔记(返回相关片段 + 文件路径 + 相关性分数)
$NOTESEARCH search "allergy shots"

View File

@@ -7,7 +7,7 @@ Point it at an Obsidian vault (or any folder of `.md` files), build a vector ind
## Setup
```bash
cd notesearch
cd ~/.openclaw/workspace/skills/notesearch
uv sync
```

View File

@@ -0,0 +1,4 @@
{
"slug": "notesearch",
"version": "0.1.0"
}