PowercontextBuiltinArtifactsmemorymodels

MemoryHit

A fused retrieval result anchored to exact Memory content.

score_upper_bound is in-process fusion metadata used by the recall gate. It is excluded from serialization and is not part of the public Memory hit contract.

Attributes

attributememory_refArtifactRef
attributeentry_idstr
attributeentry_version_idstr
attributetextstr
attributescorefloat
attributematched_bytuple[MemoryMatchedBy, ...]
attributescore_upper_boundfloat | None
= Field(default=None, gt=0.0, allow_inf_nan=False, exclude=True)
attributerelevancefloat | None
= Field(default=None, ge=(-1.0), le=1.0, allow_inf_nan=False, exclude=True)

On this page