-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.json.example
More file actions
42 lines (35 loc) · 1.19 KB
/
Copy pathconfig.json.example
File metadata and controls
42 lines (35 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"_comment": "Copy this file to ~/.memex/config.json and customize. Only fields recognized by src/memex/config.py are honored — extras are silently ignored.",
"memex_path": "/path/to/your/memex",
"memo_generation": {
"min_messages": 5,
"min_human_tokens": 500
},
"embeddings": {
"enabled": true,
"provider": "google",
"model": "gemini-embedding-2",
"dimensions": 3072,
"api_key_env": "GEMINI_API_KEY"
},
"search": {
"default_mode": "hybrid",
"vector_weight": 0.7,
"bm25_weight": 0.3,
"chunk_max_tokens": 400,
"chunk_overlap_tokens": 80
},
"reranker": {
"enabled": false
},
"auto_memory": {
"enabled": true,
"exclude_projects": [],
"sync_volatile": true
},
"_comment_project_mappings": "Optional. Pattern → project-name mapping. If the resolved cwd path contains the pattern as a substring (no glob/regex), the named project wins and overrides git-remote / git-root / cwd detection. Auto-detection covers most cases; only set this when the default picks the wrong name.",
"project_mappings": {
"/Users/yourname/projects/my-app": "my-app",
"/Users/yourname/Documents/Apps/special": "special-project"
}
}