ScoredMemory

Models & Types · AiDotNet.Agentic.Memory

A memory paired with its relevance score for a particular query, as returned by SearchAsync.

For Beginners

When the assistant searches its notes, each matching note comes back with a number saying how well it matched (higher = more relevant). This pairs the note with that number.

Constructors

Constructor Summary
ScoredMemory(AgentMemory memory, double score) Initializes a new scored memory.

Properties

Property Summary
AgentMemory Memory { get; } Gets the matched memory.
double Score { get; } Gets the relevance score (higher is more relevant).