Table of Contents

Enum MemoryImportance

Namespace
LMKit.Agents.Memory
Assembly
LM-Kit.NET.dll

Indicates the importance level of an extracted memory.

public enum MemoryImportance

Fields

Low = 0

Low importance. Transient context or minor details that may be useful occasionally.

Examples: "User mentioned it was raining today", "User asked about a recipe".

Medium = 1

Medium importance. Useful context that is likely to be relevant in future conversations.

Examples: "User is working on a web application project", "User prefers Python over Java".

High = 2

High importance. Critical information that should almost always be recalled when relevant.

Examples: "User's name is David", "User is a senior software engineer", "User's company uses .NET 8".

Remarks

Importance levels help prioritize which memories are most valuable for future recall. The LMKit.Agents.Memory.MemoryExtractor assigns an importance level to each extracted fact based on how useful it would be in future conversations.

Importance Guidelines

LevelTypical Content
LowTransient context, minor preferences, casual mentions.
MediumUseful preferences, project details, recurring topics.
HighCore identity facts (name, role), critical preferences, key decisions.