-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmh.toml.example
More file actions
58 lines (48 loc) · 1.12 KB
/
Copy pathtmh.toml.example
File metadata and controls
58 lines (48 loc) · 1.12 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Team Memory Hub Configuration
# Copy this file to tmh.toml and adjust settings
[server]
host = "0.0.0.0"
port = 8000
debug = false
data_dir = "./data"
cors_origins = ["http://localhost:3000"]
[auth]
jwt_secret = "CHANGE-ME-IN-PRODUCTION"
jwt_algorithm = "HS256"
access_token_expire_minutes = 15
refresh_token_expire_days = 30
[database]
path = "./data/team_memory.db"
wal_mode = true
busy_timeout_ms = 10000
[storage]
memories_dir = "./data/memories"
specs_dir = "./data/specs"
chats_dir = "./data/chats"
[write_queue]
batch_timeout_ms = 100
batch_max_size = 50
[search]
engine = "hybrid"
semantic_weight = 0.7
keyword_weight = 0.3
candidate_multiplier = 3
score_normalization = "min_max"
[embedding]
provider = "openai_compatible"
dimensions = 384
[embedding.openai_compatible]
base_url = "http://localhost:11434"
model = "nomic-embed-text"
api_key = ""
[consolidation]
enabled = true
scan_schedule = "0 4 * * *"
scan_days = 30
cluster_threshold = 0.85
max_suggestions_per_scan = 20
auto_private = false
suggestion_retention_days = 30
[logging]
level = "INFO"
format = "json"