-
Notifications
You must be signed in to change notification settings - Fork 395
Expose loaded documents list #623
-
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}");
}
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 4
Replies: 2 comments 1 reply
-
Do you want to see what documents have been indexed? I'm looking into this as well. Wondering if instead of exposing just the documents, we just make the ListAsync method accessible and then we could show all the memories and their associated documents.
Beta Was this translation helpful? Give feedback.
All reactions
-
I created a draft PR that would expose this via the list of memories, but not sure if this is the right approach or not.
Beta Was this translation helpful? Give feedback.
All reactions
-
The draft PR was #105 but it is closed
Beta Was this translation helpful? Give feedback.