-
Notifications
You must be signed in to change notification settings - Fork 15
Adaptive Summarization System + Memory Pipeline Integration #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
basnijholt
wants to merge
42
commits into
main
Choose a base branch
from
poc/aijournal
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
1bb5e80
update docs/architecture/memory.md
basnijholt d79831a
Turn off ChromaDB telemetry
basnijholt 9f3d6be
feat(memory): add output validation with ModelRetry for reconciliation
basnijholt fb1dde8
feat(memory): use PromptedOutput (JSON mode) for reconciliation
basnijholt 62bafc3
feat(memory): add self-model features to AI journal POC
basnijholt aede425
docs: add detailed comparison between AI journal POC and aijournal
basnijholt 70cf955
feat(memory): add adaptive summarization with hierarchical storage
basnijholt 6bb6058
refactor(summarizer): improve code quality and add Letta-style features
basnijholt df000c0
refactor(summarizer): replace class with functional API
basnijholt cd4378e
refactor(summarizer): make internal modules private and simplify publ…
basnijholt 023a714
refactor(memory): wire AdaptiveSummarizer into memory pipeline
basnijholt 7f5aff3
docs: add summarizer spec and update memory docs for hierarchical sum…
basnijholt c35bc13
Add example script
basnijholt 3e5fb4e
refactor(summarizer): YAGNI cleanup and fix prior_context bug
basnijholt 01c67aa
feat(cli): add summarize command for adaptive hierarchical summarization
basnijholt 2e7642a
refactor(memory): remove dead parent_group field and bundle metadata …
basnijholt 2c5bf41
perf: lazy imports for pydantic_ai, sounddevice, and numpy
basnijholt 18d02bd
refactor: reduce duplication in memory store and summarizer
basnijholt f18b366
refactor: simplify docstrings and remove unused upsert_hierarchical_s…
basnijholt 1845640
fix(summarizer): strip special tokens from LLM output
basnijholt b3b1941
docs: correct Mem0 attribution in summarizer documentation
basnijholt 734b43f
fix(memory): summarize raw conversation turns, not extracted facts
basnijholt f4d6b69
docs: clarify research foundations vs original design in summarizer
basnijholt 484523f
refactor(summarizer): simplify to NONE/BRIEF/MAP_REDUCE levels
basnijholt 6eff2f6
refactor(summarizer): consolidate shared code to reduce duplication
basnijholt ad376e3
refactor(summarizer): remove redundant _summarize_text and safety guard
basnijholt 83390a3
refactor(summarizer): remove redundant exception re-wrapping
basnijholt 4d25071
refactor(summarizer): remove defensive guards for impossible conditions
basnijholt f3f3c3b
feat(scripts): add summarizer comparison script with needle-in-haysta…
basnijholt 527d06b
docs(summarizer): update architecture doc to reflect current implemen…
basnijholt e0262f4
docs: update memory.md for 3-level summarizer
basnijholt ca33813
refactor(summarizer): rename STANDARD_SUMMARY_PROMPT to GENERAL_SUMMA…
basnijholt ee4fea6
docs: clarify prompt comments to avoid confusion with level names
basnijholt 5a26f01
Chunk memories
basnijholt c387cfa
Merge origin/main into poc/aijournal
basnijholt 2a8085a
refactor(summarizer): remove dead code and reorganize models
basnijholt 39a7703
refactor(memory): remove defensive code for impossible UPDATE/DELETE …
basnijholt effcd61
Merge remote-tracking branch 'origin/main' into poc/aijournal
basnijholt c701cdf
Merge remote-tracking branch 'origin/main' into poc/aijournal
basnijholt 4a69cd4
Merge remote-tracking branch 'origin/main' into poc/aijournal
basnijholt 9cae5b0
refactor(summarizer): simplify API with target_tokens/target_ratio pa…
basnijholt 5c632b8
chore(summarizer): remove dead code
basnijholt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this even happen still?