Table of Contents

Property EntryCount

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

EntryCount

Gets the total number of memory entries stored across all data sources.

public int EntryCount { get; }

Property Value

int

The sum of section counts across all data sources. Each call to SaveInformationAsync(string, string, string, MetadataCollection, CancellationToken) creates one entry.

Examples

Example: Checking memory usage

Console.WriteLine($"Memory usage: {memory.EntryCount} / {memory.MaxMemoryEntries}");