Skip to main content

Module memory

Module memory 

Source
Expand description

In-memory experiment store with cosine-similarity nearest-neighbour recall (ADR-260 §11–§12).

ExperimentMemory is the primary entry point. Call [remember] to store a finished experiment, then [nearest] to recall the most similar prior experiments by embedding.

Structs§

ExperimentMemory
In-memory store of ExperimentRecords supporting cosine-similarity nearest-neighbour search (ADR-260 §11–§12).
ExperimentRecord
A single stored experiment with its embedding, label, config, and receipt.
MaskSearchHit
A nearest-mask hit: lightweight result when only the mask is of interest.
NearestHit
A nearest-neighbour hit returned by ExperimentMemory::nearest.