Skip to content

refactor(memory): replace truncation with parallel chunked extraction#111

Closed
shivamvishwakarm wants to merge 2 commits into
mainfrom
refactor/chunk-memory-extraction
Closed

refactor(memory): replace truncation with parallel chunked extraction#111
shivamvishwakarm wants to merge 2 commits into
mainfrom
refactor/chunk-memory-extraction

Conversation

@shivamvishwakarm

Copy link
Copy Markdown
Collaborator

Problem:
Currently we're using hard truncate for memory. If it's exclude certain number of character count. So, are directly ignoring all the content after that max boundary. So that problem with this approach is may be the relevant part of memory in the last so ignoring that would half memory and stale memory/wrong memory.

Soln:
Replace hard truncation with a sliding-window chunker that processes all content in parallel and merges deduplicated results. Adds sentence-boundary snapping and overlap to avoid losing context at seams.

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
neura-memory-ai Ready Ready Preview, Comment Jun 23, 2026 3:10pm

@shivamvishwakarm shivamvishwakarm deleted the refactor/chunk-memory-extraction branch June 24, 2026 14:51
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.

1 participant