Configuration
Every field of Configuration, and what happens when it is left empty.
Every field of Configuration, and what happens when it is left empty.
| field | default | effect |
|---|---|---|
Embedder | none | without it, recall answers from text only and settling fails with ErrNoEmbedder |
EmbeddingModel | "" | the name stamped on every vector; vectors with another name do not rank |
Model | none | required for settling (ErrNoLanguageModel) |
Judge | none | required for settling (ErrNoJudge) |
People | none | without it, no names are resolved |
Capacity | 10,000 | live memories kept before eviction starts |
StaticShare | 0.2 | share of Capacity static memories may take |
TombstoneCapacity | Capacity | tombstones kept |
ColdGrace | 30 days | how long a cold memory waits before it may be deleted |
HalfLife | 30 days | retrievability half-life for a memory stored once |
ClaimDuration | 10 minutes | how long a settling worker holds a group |
Location | UTC | the time zone expiry periods end in |
Logger | slog.Default() | where rejected sentences and failed rehearsals are reported |
Now | time.Now | the clock, replaceable in tests |
The numeric defaults are starting points. Nothing has measured them yet.
Measured on an Apple-silicon laptop with 1,024-dimension vectors, a recall over 10,000 memories takes about 85 ms, and settling one sentence against that many costs about 30 ms before the judge's model calls.