Initial commit: Obsidian KDB with templates
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
# LLM Memory System
|
||||
|
||||
This is an **Obsidian vault** for maintaining persistent knowledge that helps the LLM understand your context, preferences, and ongoing work.
|
||||
|
||||
## Quick Start
|
||||
|
||||
1. **Open in Obsidian:**
|
||||
```bash
|
||||
obsidian /home/tr/.qwen/projects/-home-tr-work-kdb/memory
|
||||
```
|
||||
|
||||
2. **Install recommended community plugins:**
|
||||
- **Smart Connections** — Vector search across memories
|
||||
- **ObsidianLLM** — Generate notes with AI
|
||||
- **Templater** — Enhanced templates
|
||||
|
||||
## Structure
|
||||
|
||||
```
|
||||
memory/
|
||||
├── .obsidian/ # Obsidian config (hidden)
|
||||
├── MEMORY.md # Main index
|
||||
├── README.md # This file
|
||||
├── templates/ # Note templates
|
||||
│ ├── user.md
|
||||
│ ├── feedback.md
|
||||
│ ├── project.md
|
||||
│ └── reference.md
|
||||
├── memories/ # Core memory files
|
||||
│ ├── user/ # Your role, goals, expertise
|
||||
│ ├── feedback/ # What to avoid/keep doing
|
||||
│ ├── project/ # Ongoing work, decisions
|
||||
│ └── reference/ # External resources
|
||||
├── research/ # Research collections
|
||||
├── daily/ # Daily notes
|
||||
└── attachments/ # Images, files
|
||||
```
|
||||
|
||||
## Memory Types
|
||||
|
||||
| Type | Location | Purpose |
|
||||
|------|----------|---------|
|
||||
| **user** | `memories/user/` | Your role, goals, expertise |
|
||||
| **feedback** | `memories/feedback/` | What to avoid, what to keep doing |
|
||||
| **project** | `memories/project/` | Ongoing work, decisions, deadlines |
|
||||
| **reference** | `memories/reference/` | External resources, tools, links |
|
||||
|
||||
## Creating New Memories
|
||||
|
||||
1. Use **Ctrl/Cmd + N** to create a new note
|
||||
2. Choose the appropriate template (Ctrl/Cmd + P → Templates)
|
||||
3. Fill in the frontmatter metadata
|
||||
4. Add bi-directional links with `[[link]]`
|
||||
|
||||
## Bi-directional Linking
|
||||
|
||||
Link related memories using double brackets:
|
||||
|
||||
```markdown
|
||||
See also: [[tier2-setup-retro]], [[bumakopania-research]]
|
||||
Related feedback: [[no-summary-responses]]
|
||||
```
|
||||
|
||||
## Tags
|
||||
|
||||
Use tags for filtering:
|
||||
- `#type/user`
|
||||
- `#type/feedback`
|
||||
- `#type/project`
|
||||
- `#type/reference`
|
||||
- `#status/active`
|
||||
- `#status/completed`
|
||||
|
||||
## Sync & Backup
|
||||
|
||||
This vault lives in your project directory. Options:
|
||||
- **Git** — Version control (recommended)
|
||||
- **Obsidian Sync** — Paid official sync
|
||||
- **Syncthing** — Free, self-hosted sync
|
||||
- **Manual** — Copy files as needed
|
||||
|
||||
## Recommended Workflow
|
||||
|
||||
1. **After each session:** Add feedback memories for corrections
|
||||
2. **When starting new work:** Create project memories
|
||||
3. **When learning about you:** Add user memories
|
||||
4. **When finding resources:** Add reference memories
|
||||
|
||||
## LLM Integration
|
||||
|
||||
The LLM automatically loads `MEMORY.md` and all `.md` files in this directory. For advanced search:
|
||||
|
||||
- Install **Smart Connections** plugin for vector search
|
||||
- Use **Command Palette** (Ctrl/Cmd + P) → "Smart Connections: Open Panel"
|
||||
- Search naturally: "What did we decide about docset hosting?"
|
||||
|
||||
---
|
||||
|
||||
**Open in Obsidian:** `obsidian /home/tr/.qwen/projects/-home-tr-work-kdb/memory`
|
||||
Reference in New Issue
Block a user