# Loci Configuration
# Copy to ~/.loci/config.toml and modify as needed.
# All values shown are defaults.
[]
= "stdio" # "stdio" | "sse" (SSE is M7+)
= "info" # "error" | "warn" | "info" | "debug" | "trace"
[]
= "~/.loci/memory.db" # Path to SQLite database
= "default" # Default memory group
[]
= "local" # "local" | "voyage" | "openai"
= "all-MiniLM-L6-v2" # ONNX embedding model name
= "~/.loci/models" # Directory for cached model files
[]
= 5 # Max results per recall_memory call
= 2000 # Token budget for preloaded context
= 4000 # Token budget for recall responses
= 60 # Reciprocal Rank Fusion k parameter
= 0.92 # Cosine similarity threshold for deduplication
[]
= false # Enable automatic maintenance (future M7)
= 7 # Days between maintenance cycles
= 0.95 # Confidence multiplier per cycle (episodic)
= 0.99 # Confidence multiplier per cycle (semantic/procedural/entity)
= 30 # Episodic memories older than this are compaction candidates
= 5 # Minimum memories in a week+group to trigger compaction
= 3 # Similar episodics needed to promote to semantic
= 0.88 # Cosine similarity threshold for promotion clustering
= 0.05 # Memories below this confidence are cleanup candidates
= 90 # Days without access before cleanup eligibility