Loading...
Loading...
Compare original and translation side by side
~/.obsidian-wiki/configOBSIDIAN_VAULT_PATH.env$OBSIDIAN_VAULT_PATH/index.md~/.obsidian-wiki/configOBSIDIAN_VAULT_PATH.env$OBSIDIAN_VAULT_PATH/index.mdllm-wiki/SKILL.mdllm-wiki/SKILL.mdindex.mdindex.mdindex.mdGrep^(title|tags|aliases|summary):.mdindex.mdsummary:index.mdindex.mdGrep.md^(title|tags|aliases|summary):index.mdsummary:index.mdQMD_WIKI_COLLECTION.env.envQMD_WIKI_COLLECTION$QMD_WIKI_COLLECTIONNo QMD? Skip to Step 3 and usedirectly on the vault. QMD is faster and concept-aware but the grep path is fully functional. SeeGrepfor setup..env.example
QMD_WIKI_COLLECTIONGrepmcp__qmd__query:
collection: <QMD_WIKI_COLLECTION> # e.g. "knowledge-base-wiki"
intent: <the user's question>
searches:
- type: lex # keyword match — good for exact names, file paths, error messages
query: <key terms>
- type: vec # semantic match — good for concepts, patterns, "what is X like"
query: <question rephrased as a description>papers_raw/QMD_PAPERS_COLLECTION$QMD_WIKI_COLLECTION没有QMD? 跳至步骤3直接对知识库使用即可。QMD速度更快且具备概念感知能力,但grep路径也可完全正常运行,查看Grep了解配置方法。.env.example
QMD_WIKI_COLLECTIONGrepmcp__qmd__query:
collection: <QMD_WIKI_COLLECTION> # e.g. "knowledge-base-wiki"
intent: <the user's question>
searches:
- type: lex # keyword match — good for exact names, file paths, error messages
query: <key terms>
- type: vec # semantic match — good for concepts, patterns, "what is X like"
query: <question rephrased as a description>_raw/papersQMD_PAPERS_COLLECTIONGrep -A 10 -B 2 "<query-term>" <candidate-file>Grep -A 10 -B 2 "<query-term>" <candidate-file>Read[[wikilinks]]Read[[wikilinks]][[page-name]][[page-name]]log.md- [TIMESTAMP] QUERY query="the user's question" result_pages=N mode=normal|index_only escalated=true|falselog.md- [TIMESTAMP] QUERY query="the user's question" result_pages=N mode=normal|index_only escalated=true|falseBased on the wiki:[Your synthesized answer with [[wikilinks]] to source pages]Pages consulted: [[page-a]], [[page-b]], [[page-c]]Gaps: [What the wiki doesn't cover that might be relevant]
基于wiki内容:[你整合后的回答,附带指向源页面的[[wikilinks]]]参考页面: [[page-a]], [[page-b]], [[page-c]]内容缺口: [wiki未覆盖的可能相关内容]