This commit is contained in:
2026-06-28 19:03:31 +09:00
commit cbae32a583
8 changed files with 255 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
---
title: LLM Wiki Pattern
created: 2026-06-28
updated: 2026-06-28
type: concept
tags: [wiki, knowledge-base, synthesis, agent, markdown]
sources: [raw/articles/karpathy-llm-wiki-2026.md]
confidence: medium
---
# LLM Wiki Pattern
LLM Wiki は、LLM が curated raw sources を読み、持続的な Markdown wiki に統合していく知識管理パターン。通常の [[rag-vs-compiled-wiki|RAG]] のように質問ごとに断片検索からやり直すのではなく、source ingest 時点で entity page、concept page、comparison、index、log を更新し、知識を「蓄積済みの synthesis」として残す。
このパターンの価値は compounding にある。cross-reference、矛盾、更新履歴、既存 synthesis が wiki 内に残るため、後続の query や ingest が過去の作業を再利用できる。[[wiki-maintenance-loop]] が回るほど、単なるファイル置き場ではなく、読みやすい中間知識層になる。
人間の役割は source selection、問いの設計、レビュー、方向づけ。LLM の役割は要約、相互リンク、既存ページ更新、矛盾検出、index/log 更新などの bookkeeping。閲覧・探索には [[obsidian]] のような wikilink 対応エディタが合う。
## Open Questions
- どの粒度でページを分けると、後から検索・更新しやすいか。
- チーム運用では、LLM 更新をどこまで自動化し、どこを人間レビューにするか。
- 小規模 wiki では index.md だけで十分か、いつ CLI/MCP search が必要になるか。
+26
View File
@@ -0,0 +1,26 @@
---
title: RAG vs Compiled Wiki
created: 2026-06-28
updated: 2026-06-28
type: concept
tags: [retrieval, wiki, comparison, synthesis]
sources: [raw/articles/karpathy-llm-wiki-2026.md]
confidence: medium
---
# RAG vs Compiled Wiki
RAG は query-time retrieval が中心で、質問ごとに raw documents から relevant chunks を探し、都度 synthesis する。これは手軽だが、過去の読み込み・統合・矛盾検出が artifact として残りにくい。
Compiled wiki 型の [[llm-wiki-pattern]] は ingest-time synthesis が中心。source を追加した時点で [[wiki-maintenance-loop]] に沿って wiki page、cross-reference、index、log を更新する。後の質問では raw source だけでなく、すでに整理された中間知識を読める。
## Comparison
| Dimension | RAG | LLM Wiki |
|---|---|---|
| Main timing | Query time | Ingest + query time |
| Persistence | Index/chunks are persistent, synthesis is often transient | Synthesis, links, contradictions, log are persistent |
| Human role | Upload/ask | Curate/review/direct |
| Best for | Fast Q&A over docs | Long-running research and compounding knowledge |
[[obsidian]] や git と組み合わせると、LLM Wiki は読む・編集する・差分を見る、という通常の Markdown workflow に乗せやすい。
+19
View File
@@ -0,0 +1,19 @@
---
title: Wiki Maintenance Loop
created: 2026-06-28
updated: 2026-06-28
type: concept
tags: [workflow, maintenance, wiki, agent]
sources: [raw/articles/karpathy-llm-wiki-2026.md]
confidence: medium
---
# Wiki Maintenance Loop
LLM Wiki の基本運用は ingest / query / lint のループ。
1. **Ingest**: raw source を保存し、既存の [[llm-wiki-pattern|wiki]] を読んで重複を避け、関連 entity/concept ページを作成・更新する。
2. **Query**: index と関連ページを読み、回答を synthesis する。価値のある回答は `queries/` や `comparisons/` に保存する。
3. **Lint**: broken links、orphan pages、古い主張、矛盾、frontmatter 不備、肥大化ページを点検する。
この loop によって、[[rag-vs-compiled-wiki|query-time retrieval]] だけでは残りにくい知識整理が継続的に蓄積される。[[obsidian]] の graph view や backlinks は、orphan や hub page を見つける補助になる。