Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Expose loaded documents list #623

TomaszGrzmilas started this conversation in Feature requests
Discussion options

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}");
}

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

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.

You must be logged in to vote
0 replies
Comment options

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.

You must be logged in to vote
1 reply
Comment options

The draft PR was #105 but it is closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #69 on June 05, 2024 03:32.

AltStyle によって変換されたページ (->オリジナル) /