Skip to content

Add uploaded filenames and stub summary to Summary Store - #1

Merged
KyleZheng1284 merged 9 commits into
KyleZheng1284:codex/nemo-retriever-knowledge-layerfrom
peterychang:nrl_register_filenames
Aug 19, 2026
Merged

KyleZheng1284 merged 9 commits into
KyleZheng1284:codex/nemo-retriever-knowledge-layerfrom
peterychang:nrl_register_filenames

Conversation

@peterychang

@peterychang peterychang commented Aug 12, 2026 •

Copy link
Copy Markdown

I tried gating the logic behind the generate_summary flag, but I was having trouble getting the summary llm hooked in properly, The Knowledge Layer register function requires the llm if the flag is true, so I just bypassed it entirely.

Registering the filenames at minimum seems like the correct thing to do anyways, I might go ahead and make the change for the other subsystems on the main repo

TODO:

  • Remove deleted collections and files from summary store
  • Remove expired from summary store
  • Reconcile internal state with summary store/NRL on restart

Signed-off-by: Peter Chang <pechang@nvidia.com>
@peterychang

Copy link
Copy Markdown
Author

We need a way to delete or invalidate stale or deleted files.

Signed-off-by: Peter Chang <pechang@nvidia.com>
@peterychang

peterychang commented Aug 12, 2026 •

Copy link
Copy Markdown
Author

Deleted files and collections are now cleared from the store. Need to figure out the best way to remove expired files

Signed-off-by: Peter Chang <pechang@nvidia.com>
Signed-off-by: Peter Chang <pechang@nvidia.com>
Signed-off-by: Peter Chang <pechang@nvidia.com>
@peterychang

Copy link
Copy Markdown
Author

This PR is ready to review/merge

@KyleZheng1284
KyleZheng1284 self-requested a review August 19, 2026 00:01

@KyleZheng1284 KyleZheng1284 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks—the filename fallback direction makes sense. To keep this non-breaking, could we keep the first pass narrowly scoped: add the placeholder only when no real summary exists, and only reconcile or delete rows confirmed to belong to the current NRL scope and document?

The focused tests pass, but I could still reproduce an existing semantic summary being replaced and a summary from another scope being cleared. Tests covering those preservation cases would make this much safer.

Signed-off-by: Peter Chang <pechang@nvidia.com>
@KyleZheng1284
KyleZheng1284 merged commit 6e47a58 into KyleZheng1284:codex/nemo-retriever-knowledge-layer Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants