bluememo

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.

fielddefaulteffect
Embeddernonewithout 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
Modelnonerequired for settling (ErrNoLanguageModel)
Judgenonerequired for settling (ErrNoJudge)
Peoplenonewithout it, no names are resolved
Capacity10,000live memories kept before eviction starts
StaticShare0.2share of Capacity static memories may take
TombstoneCapacityCapacitytombstones kept
ColdGrace30 dayshow long a cold memory waits before it may be deleted
HalfLife30 daysretrievability half-life for a memory stored once
ClaimDuration10 minuteshow long a settling worker holds a group
LocationUTCthe time zone expiry periods end in
Loggerslog.Default()where rejected sentences and failed rehearsals are reported
Nowtime.Nowthe 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.