MCPcopy Create free account
hub / github.com/diillson/chatcli / DefaultConfig

Function DefaultConfig

cli/workspace/memory/types.go:157–170  ·  view source on GitHub ↗

DefaultConfig returns sensible defaults.

()

Source from the content-addressed store, hash-verified

155
156// DefaultConfig returns sensible defaults.
157func DefaultConfig() Config {
158 return Config{
159 MaxMemoryMDSize: 32 * 1024,
160 DailyNoteRetention: 30,
161 MaxFactsCount: 500,
162 CompactionInterval: 24,
163 RetrievalBudget: 4000,
164 DecayHalfLifeDays: 30.0,
165 MinCosineScore: 0.25,
166 VectorTopK: 12,
167 BackfillBatchMax: 500,
168 RankWeights: DefaultRankWeights(),
169 }
170}
171
172// DailyNote represents a single day's note (same as parent package).
173type DailyNote struct {

Calls 1

DefaultRankWeightsFunction · 0.85