move note search
This commit is contained in:
@@ -107,7 +107,7 @@ _这份文件记录持续性项目和重要状态,跨会话保留。_
|
|||||||
**状态**: 运行中
|
**状态**: 运行中
|
||||||
**创建**: 2026-04-03
|
**创建**: 2026-04-03
|
||||||
**配置**:
|
**配置**:
|
||||||
- 工具: `~/.openclaw/workspace/notesearch/`
|
- 工具: `~/.openclaw/workspace/skills/notesearch/`
|
||||||
- 笔记库: `/home/lyx/Documents/obsidian-yanxin`(Obsidian vault,独立 git 仓库)
|
- 笔记库: `/home/lyx/Documents/obsidian-yanxin`(Obsidian vault,独立 git 仓库)
|
||||||
- 嵌入模型: `qwen3-embedding:0.6b`(通过 Ollama)
|
- 嵌入模型: `qwen3-embedding:0.6b`(通过 Ollama)
|
||||||
- 索引: `<vault>/.index/`(gitignored)
|
- 索引: `<vault>/.index/`(gitignored)
|
||||||
@@ -129,7 +129,7 @@ _这份文件记录持续性项目和重要状态,跨会话保留。_
|
|||||||
| 日历/待办 | `~/.openclaw/workspace/skills/calendar/` |
|
| 日历/待办 | `~/.openclaw/workspace/skills/calendar/` |
|
||||||
| 日历数据 | `~/.openclaw/workspace/calendars/` (home=事件, tasks=待办) |
|
| 日历数据 | `~/.openclaw/workspace/calendars/` (home=事件, tasks=待办) |
|
||||||
| himalaya 包装器 | `~/.openclaw/workspace/scripts/himalaya.sh` |
|
| himalaya 包装器 | `~/.openclaw/workspace/scripts/himalaya.sh` |
|
||||||
| 笔记搜索 | `~/.openclaw/workspace/notesearch/` |
|
| 笔记搜索 | `~/.openclaw/workspace/skills/notesearch/` |
|
||||||
| Obsidian 笔记库 | `/home/lyx/Documents/obsidian-yanxin` |
|
| Obsidian 笔记库 | `/home/lyx/Documents/obsidian-yanxin` |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
6
TOOLS.md
6
TOOLS.md
@@ -186,14 +186,14 @@ $SKILL_DIR/scripts/calendar.sh todo check # 每日摘要(cron)
|
|||||||
|
|
||||||
### Notesearch 笔记搜索
|
### Notesearch 笔记搜索
|
||||||
|
|
||||||
**目录**: `~/.openclaw/workspace/notesearch/`
|
**目录**: `~/.openclaw/workspace/skills/notesearch/`
|
||||||
**配置**: `~/.openclaw/workspace/notesearch/config.json`
|
**配置**: `~/.openclaw/workspace/skills/notesearch/config.json`
|
||||||
**笔记库**: `/home/lyx/Documents/obsidian-yanxin`(Obsidian vault,git 管理)
|
**笔记库**: `/home/lyx/Documents/obsidian-yanxin`(Obsidian vault,git 管理)
|
||||||
|
|
||||||
基于向量搜索的笔记检索工具,使用 LlamaIndex + Ollama 嵌入模型索引 Obsidian 笔记。
|
基于向量搜索的笔记检索工具,使用 LlamaIndex + Ollama 嵌入模型索引 Obsidian 笔记。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
NOTESEARCH=~/.openclaw/workspace/notesearch/notesearch.sh
|
NOTESEARCH=~/.openclaw/workspace/skills/notesearch/notesearch.sh
|
||||||
|
|
||||||
# 搜索笔记(返回相关片段 + 文件路径 + 相关性分数)
|
# 搜索笔记(返回相关片段 + 文件路径 + 相关性分数)
|
||||||
$NOTESEARCH search "allergy shots"
|
$NOTESEARCH search "allergy shots"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Point it at an Obsidian vault (or any folder of `.md` files), build a vector ind
|
|||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd notesearch
|
cd ~/.openclaw/workspace/skills/notesearch
|
||||||
uv sync
|
uv sync
|
||||||
```
|
```
|
||||||
|
|
||||||
4
skills/notesearch/_meta.json
Normal file
4
skills/notesearch/_meta.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"slug": "notesearch",
|
||||||
|
"version": "0.1.0"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user