@tecet/ollm 0.1.4-b → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/README.md +3 -410
- package/package.json +2 -2
- package/docs/Context/CheckpointFlowDiagram.md +0 -673
- package/docs/Context/ContextArchitecture.md +0 -898
- package/docs/Context/ContextCompression.md +0 -1102
- package/docs/Context/ContextManagment.md +0 -750
- package/docs/Context/Index.md +0 -209
- package/docs/Context/README.md +0 -390
- package/docs/DevelopmentRoadmap/Index.md +0 -238
- package/docs/DevelopmentRoadmap/OLLM-CLI_Releases.md +0 -419
- package/docs/DevelopmentRoadmap/PlanedFeatures.md +0 -448
- package/docs/DevelopmentRoadmap/README.md +0 -174
- package/docs/DevelopmentRoadmap/Roadmap.md +0 -572
- package/docs/DevelopmentRoadmap/RoadmapVisual.md +0 -372
- package/docs/Hooks/Architecture.md +0 -885
- package/docs/Hooks/Index.md +0 -244
- package/docs/Hooks/KeyboardShortcuts.md +0 -248
- package/docs/Hooks/Protocol.md +0 -817
- package/docs/Hooks/README.md +0 -403
- package/docs/Hooks/UserGuide.md +0 -1483
- package/docs/Hooks/VisualGuide.md +0 -598
- package/docs/Index.md +0 -506
- package/docs/Installation.md +0 -586
- package/docs/Introduction.md +0 -367
- package/docs/LLM Models/Index.md +0 -239
- package/docs/LLM Models/LLM_GettingStarted.md +0 -748
- package/docs/LLM Models/LLM_Index.md +0 -701
- package/docs/LLM Models/LLM_MemorySystem.md +0 -337
- package/docs/LLM Models/LLM_ModelCompatibility.md +0 -499
- package/docs/LLM Models/LLM_ModelsArchitecture.md +0 -933
- package/docs/LLM Models/LLM_ModelsCommands.md +0 -839
- package/docs/LLM Models/LLM_ModelsConfiguration.md +0 -1094
- package/docs/LLM Models/LLM_ModelsList.md +0 -1071
- package/docs/LLM Models/LLM_ModelsList.md.backup +0 -400
- package/docs/LLM Models/README.md +0 -355
- package/docs/MCP/MCP_Architecture.md +0 -1086
- package/docs/MCP/MCP_Commands.md +0 -1111
- package/docs/MCP/MCP_GettingStarted.md +0 -590
- package/docs/MCP/MCP_Index.md +0 -524
- package/docs/MCP/MCP_Integration.md +0 -866
- package/docs/MCP/MCP_Marketplace.md +0 -160
- package/docs/MCP/README.md +0 -415
- package/docs/Prompts System/Architecture.md +0 -760
- package/docs/Prompts System/Index.md +0 -223
- package/docs/Prompts System/PromptsRouting.md +0 -1047
- package/docs/Prompts System/PromptsTemplates.md +0 -1102
- package/docs/Prompts System/README.md +0 -389
- package/docs/Prompts System/SystemPrompts.md +0 -856
- package/docs/Quickstart.md +0 -535
- package/docs/Tools/Architecture.md +0 -884
- package/docs/Tools/GettingStarted.md +0 -624
- package/docs/Tools/Index.md +0 -216
- package/docs/Tools/ManifestReference.md +0 -141
- package/docs/Tools/README.md +0 -440
- package/docs/Tools/UserGuide.md +0 -773
- package/docs/Troubleshooting.md +0 -1265
- package/docs/UI&Settings/Architecture.md +0 -729
- package/docs/UI&Settings/ColorASCII.md +0 -34
- package/docs/UI&Settings/Commands.md +0 -755
- package/docs/UI&Settings/Configuration.md +0 -872
- package/docs/UI&Settings/Index.md +0 -293
- package/docs/UI&Settings/Keybinds.md +0 -372
- package/docs/UI&Settings/README.md +0 -278
- package/docs/UI&Settings/Terminal.md +0 -637
- package/docs/UI&Settings/Themes.md +0 -604
- package/docs/UI&Settings/UIGuide.md +0 -550
|
@@ -1,337 +0,0 @@
|
|
|
1
|
-
# Memory System - User Guide
|
|
2
|
-
|
|
3
|
-
**Using Persistent Memory**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Table of Contents
|
|
8
|
-
|
|
9
|
-
1. [Introduction](#introduction)
|
|
10
|
-
2. [Basic Operations](#basic-operations)
|
|
11
|
-
3. [Categories](#categories)
|
|
12
|
-
4. [System Prompt Injection](#system-prompt-injection)
|
|
13
|
-
5. [LLM Integration](#llm-integration)
|
|
14
|
-
6. [Best Practices](#best-practices)
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Introduction
|
|
19
|
-
|
|
20
|
-
The Memory System lets you store information that persists across sessions. The model automatically has access to your memories, providing context without you having to repeat yourself.
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Basic Operations
|
|
25
|
-
|
|
26
|
-
### Add Memory
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
/memory add key value
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
**Examples:**
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
/memory add user_name Alice
|
|
36
|
-
/memory add project_name my-web-app
|
|
37
|
-
/memory add preferred_style "functional programming"
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Recall Memory
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
/memory recall key
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
**Examples:**
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
/memory recall user_name
|
|
50
|
-
# Returns: Alice
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Search Memories
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
/memory search query
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
**Examples:**
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
/memory search project
|
|
63
|
-
# Returns all memories with "project" in key or value
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### List All Memories
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
/memory list
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
**Output:**
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
user_name: Alice (fact, accessed 5 times)
|
|
76
|
-
project_name: my-web-app (context, accessed 3 times)
|
|
77
|
-
preferred_style: functional programming (preference, accessed 2 times)
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### Forget Memory
|
|
81
|
-
|
|
82
|
-
```bash
|
|
83
|
-
/memory forget key
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
**Examples:**
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
/memory forget old_preference
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### Clear All Memories
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
/memory clear
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
**Warning:** This deletes all memories permanently!
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## Categories
|
|
103
|
-
|
|
104
|
-
### Fact Category
|
|
105
|
-
|
|
106
|
-
**Purpose:** Objective information
|
|
107
|
-
|
|
108
|
-
**Examples:**
|
|
109
|
-
|
|
110
|
-
```bash
|
|
111
|
-
/memory add user_name Alice --category fact
|
|
112
|
-
/memory add birth_year 1990 --category fact
|
|
113
|
-
/memory add company_name "Acme Corp" --category fact
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Preference Category
|
|
117
|
-
|
|
118
|
-
**Purpose:** User preferences and choices
|
|
119
|
-
|
|
120
|
-
**Examples:**
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
/memory add preferred_language TypeScript --category preference
|
|
124
|
-
/memory add code_style "functional" --category preference
|
|
125
|
-
/memory add editor VSCode --category preference
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### Context Category
|
|
129
|
-
|
|
130
|
-
**Purpose:** Current work and temporary information
|
|
131
|
-
|
|
132
|
-
**Examples:**
|
|
133
|
-
|
|
134
|
-
```bash
|
|
135
|
-
/memory add working_on "authentication system" --category context
|
|
136
|
-
/memory add current_task "fix login bug" --category context
|
|
137
|
-
/memory add deadline "2026-01-20" --category context
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
## System Prompt Injection
|
|
143
|
-
|
|
144
|
-
Memories are automatically injected into the system prompt:
|
|
145
|
-
|
|
146
|
-
**Configuration:**
|
|
147
|
-
|
|
148
|
-
```yaml
|
|
149
|
-
memory:
|
|
150
|
-
enabled: true
|
|
151
|
-
system_prompt_budget: 500 # tokens
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
**How it works:**
|
|
155
|
-
|
|
156
|
-
1. Memories sorted by priority (access count + recency)
|
|
157
|
-
2. Highest priority memories included first
|
|
158
|
-
3. Stops when token budget reached
|
|
159
|
-
|
|
160
|
-
**Example injection:**
|
|
161
|
-
|
|
162
|
-
```
|
|
163
|
-
user_name: Alice
|
|
164
|
-
preferred_language: TypeScript
|
|
165
|
-
project_name: my-web-app
|
|
166
|
-
working_on: authentication system
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## LLM Integration
|
|
172
|
-
|
|
173
|
-
The model can remember things for you:
|
|
174
|
-
|
|
175
|
-
**Example conversation:**
|
|
176
|
-
|
|
177
|
-
```
|
|
178
|
-
You: My name is Alice
|
|
179
|
-
Model: Nice to meet you, Alice! I'll remember that.
|
|
180
|
-
[Model automatically calls /remember tool]
|
|
181
|
-
|
|
182
|
-
You: What's my name?
|
|
183
|
-
Model: Your name is Alice.
|
|
184
|
-
[Model recalls from memory]
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
**How it works:**
|
|
188
|
-
|
|
189
|
-
- Model has access to `/remember` tool
|
|
190
|
-
- Can store memories during conversation
|
|
191
|
-
- Memories marked with source='llm'
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
## Best Practices
|
|
196
|
-
|
|
197
|
-
### 1. Use Descriptive Keys
|
|
198
|
-
|
|
199
|
-
**Good:**
|
|
200
|
-
|
|
201
|
-
```bash
|
|
202
|
-
/memory add user_preferred_language TypeScript
|
|
203
|
-
/memory add project_main_framework React
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
**Bad:**
|
|
207
|
-
|
|
208
|
-
```bash
|
|
209
|
-
/memory add lang TS
|
|
210
|
-
/memory add fw R
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
### 2. Categorize Appropriately
|
|
214
|
-
|
|
215
|
-
**Facts:** Objective, unchanging information
|
|
216
|
-
**Preferences:** User choices and styles
|
|
217
|
-
**Context:** Current work, temporary info
|
|
218
|
-
|
|
219
|
-
### 3. Keep Values Concise
|
|
220
|
-
|
|
221
|
-
**Good:**
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
/memory add preferred_style "functional programming"
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
**Bad:**
|
|
228
|
-
|
|
229
|
-
```bash
|
|
230
|
-
/memory add preferred_style "I prefer functional programming because it's more maintainable and easier to test and..."
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
### 4. Update Context Regularly
|
|
234
|
-
|
|
235
|
-
```bash
|
|
236
|
-
# Start of day
|
|
237
|
-
/memory add working_on "authentication system"
|
|
238
|
-
|
|
239
|
-
# End of day
|
|
240
|
-
/memory add working_on "user profile page"
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
### 5. Clean Up Old Memories
|
|
244
|
-
|
|
245
|
-
```bash
|
|
246
|
-
# Remove completed tasks
|
|
247
|
-
/memory forget old_task
|
|
248
|
-
|
|
249
|
-
# Remove outdated context
|
|
250
|
-
/memory forget previous_project
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
---
|
|
254
|
-
|
|
255
|
-
## Examples
|
|
256
|
-
|
|
257
|
-
### Example 1: Personal Information
|
|
258
|
-
|
|
259
|
-
```bash
|
|
260
|
-
/memory add user_name Alice --category fact
|
|
261
|
-
/memory add user_role "Senior Developer" --category fact
|
|
262
|
-
/memory add user_company "Acme Corp" --category fact
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
### Example 2: Project Context
|
|
266
|
-
|
|
267
|
-
```bash
|
|
268
|
-
/memory add project_name my-web-app --category context
|
|
269
|
-
/memory add project_tech "React + TypeScript" --category context
|
|
270
|
-
/memory add project_status "in development" --category context
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
### Example 3: Preferences
|
|
274
|
-
|
|
275
|
-
```bash
|
|
276
|
-
/memory add code_style functional --category preference
|
|
277
|
-
/memory add test_framework Jest --category preference
|
|
278
|
-
/memory add naming_convention camelCase --category preference
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
---
|
|
282
|
-
|
|
283
|
-
## Troubleshooting
|
|
284
|
-
|
|
285
|
-
### Memories Not Injected
|
|
286
|
-
|
|
287
|
-
**Problem:** Model doesn't seem to know memories
|
|
288
|
-
|
|
289
|
-
**Solution 1:** Check if enabled
|
|
290
|
-
|
|
291
|
-
```yaml
|
|
292
|
-
memory:
|
|
293
|
-
enabled: true
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
**Solution 2:** Increase budget
|
|
297
|
-
|
|
298
|
-
```yaml
|
|
299
|
-
memory:
|
|
300
|
-
system_prompt_budget: 1000
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### Too Many Memories
|
|
304
|
-
|
|
305
|
-
**Problem:** Token budget exceeded, some memories not included
|
|
306
|
-
|
|
307
|
-
**Solution:** Remove less important memories
|
|
308
|
-
|
|
309
|
-
```bash
|
|
310
|
-
/memory forget old_memory
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
### Memory File Corrupted
|
|
314
|
-
|
|
315
|
-
**Problem:** Can't load memories
|
|
316
|
-
|
|
317
|
-
**Solution:** Check file at `~/.ollm/memory.json`
|
|
318
|
-
|
|
319
|
-
```bash
|
|
320
|
-
# Backup
|
|
321
|
-
cp ~/.ollm/memory.json ~/.ollm/memory.json.backup
|
|
322
|
-
|
|
323
|
-
# Fix or recreate
|
|
324
|
-
```
|
|
325
|
-
|
|
326
|
-
---
|
|
327
|
-
|
|
328
|
-
## See Also
|
|
329
|
-
|
|
330
|
-
- [Memory API Reference](api-reference.md)
|
|
331
|
-
- [Configuration](Models_configuration.md)
|
|
332
|
-
- [Commands Reference](Models_commands.md)
|
|
333
|
-
|
|
334
|
-
---
|
|
335
|
-
|
|
336
|
-
**Document Version:** 1.0
|
|
337
|
-
**Last Updated:** 2026-01-16
|