MemoryAugmentationOptions

Options & Configuration · AiDotNet.Agentic.Memory

Settings for MemoryAugmentedAgent: how many memories to recall, the minimum relevance to include, and the heading used when injecting them into the conversation.

For Beginners

These control how the assistant uses its long-term notes before answering: how many of the most relevant notes to pull in (TopK), how relevant a note must be to bother including it (MinScore), and the little title that introduces them.

Constructors

Constructor Summary
MemoryAugmentationOptions()

Properties

Property Summary
double? MinScore { get; set; } Gets or sets the minimum relevance score a memory must reach to be injected.
int? TopK { get; set; } Gets or sets the maximum number of memories to recall and inject.
string Header { get; set; } Gets or sets the heading prepended to the recalled memories.

Fields

Field Summary
int DefaultTopK The default number of memories to recall per turn.
string DefaultHeader The default heading prepended to recalled memories.