MemorySearchResult
Search hits together with the mode actually executed.
The last four fields are in-process only: they exist so the Runtime's recall gate can
account for what one search cost and admitted. They are exclude=True as
defence-in-depth so a future model_dump cannot leak a gate artefact into a response;
the HTTP projection is independently safe because search_response enumerates
MemorySearchPage's fields explicitly.
Attributes
attributemodeMemoryUsedSearchModeattributehitstuple[MemoryHit, ...]= ()attributererankMemoryRerankTrace | None= NoneattributeadmissionAdmissionCounts | None= Field(default=None, exclude=True)attributeembedding_callsint= Field(default=0, exclude=True)attributegeneration_callsint= Field(default=0, exclude=True)attributequery_embeddingMemoryQueryEmbedding | None= Field(default=None, exclude=True)
