Enum MemoryImportance
Indicates the importance level of an extracted memory.
public enum MemoryImportance
Fields
Low = 0Low importance. Transient context or minor details that may be useful occasionally.
Examples: "User mentioned it was raining today", "User asked about a recipe".
Medium = 1Medium 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 = 2High 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
| Level | Typical Content |
|---|---|
| Low | Transient context, minor preferences, casual mentions. |
| Medium | Useful preferences, project details, recurring topics. |
| High | Core identity facts (name, role), critical preferences, key decisions. |