DetailedSemanticSearchResult
Defined in: packages/memory-ltm/src/types.ts:148
Semantic search plus the one bit of provenance that SemanticSearchResult[]
alone cannot express: whether an empty array means “nothing matched” or “the
semantic path never ran”.
This distinction is the whole point. semanticSearch() collapses both cases
to [], so a caller cannot tell a genuinely empty corpus from a degraded
deployment. Callers that want to degrade gracefully use this variant and
branch on degraded.
Properties
Section titled “Properties”degraded
Section titled “degraded”degraded:
boolean
Defined in: packages/memory-ltm/src/types.ts:151
True when the semantic path could not run at all. Never true merely because zero memories matched.
reason?
Section titled “reason?”
optionalreason?:SemanticUnavailableReason
Defined in: packages/memory-ltm/src/types.ts:153
Present only when degraded is true.
results
Section titled “results”results:
SemanticSearchResult[]
Defined in: packages/memory-ltm/src/types.ts:149