kernel-memory icon indicating copy to clipboard operation
kernel-memory copied to clipboard

Expose loaded documents list

Open TomaszGrzmilas opened this issue 9 months ago • 2 comments

Hi,

It should be possible to list all documents that are loaded into memory:

var memory = new MemoryClientBuilder() .WithOpenAIDefaults("ssdsd1234") .Build();

foreach (var doc in memory .GetLoadedDocuments()) { Console.WriteLine($" * {doc .SourceName} -- {doc ..LastUpdate:D}"); }

TomaszGrzmilas avatar Sep 28 '23 18:09 TomaszGrzmilas