Skip to content

feat(memory): post-conversation extraction + relevance decay#2

Open
lucasven wants to merge 1 commit intoHanake0:mainfrom
lucasven:feat/memory-extraction
Open

feat(memory): post-conversation extraction + relevance decay#2
lucasven wants to merge 1 commit intoHanake0:mainfrom
lucasven:feat/memory-extraction

Conversation

@lucasven
Copy link
Copy Markdown

@lucasven lucasven commented Mar 23, 2026

What

Post-conversation memory extraction hook that automatically extracts 0-5 facts
from each conversation using a cheap LLM call (Haiku-class), then stores them
via the existing MemoryPlugin.

Features

  • Automatic extraction: Hook runs after each session ends
  • Relevance decay: Memories lose score over 30 days without access
  • Conservative: Extracts only high-confidence facts, skips if nothing useful
  • Cost-efficient: Uses smallest viable model for extraction

Files

  • Lis.Core/Memory/ — extraction service + decay logic
  • Integration with existing MemoryPlugin and ConversationService
  • Unit tests covering extraction, decay, and edge cases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lucasven lucasven changed the title feat(cron): IHostedService cron scheduler + /cron commands feat(memory): post-conversation extraction + relevance decay Mar 23, 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.

1 participant