10 Commits
v1.2.0 ... main

Author SHA1 Message Date
mtayfur
cd2890e395 docs(memory_system): clarify memory operation definitions and update processing guidelines
Refine CREATE, UPDATE, DELETE, and SKIP operation descriptions to emphasize
lasting relevance, entity resolution, and stricter criteria for updates and skips.
Remove redundant guideline on retroactive enrichment and clarify when to use
each operation, improving precision and selectivity in memory handling.
2025-12-02 21:19:29 +03:00
mtayfur
879ea8a28d refactor(memory_system): remove skip state cache and threshold from retrieval, unify skip logic for inlet and outlet
Skip state caching is eliminated to simplify state management, and skip logic is now handled directly in both inlet and outlet, improving clarity and reducing redundant cache usage; retrieval threshold is no longer returned in API responses, and skip reasons are separated for retrieval and consolidation to provide more precise status messaging.
2025-11-29 12:41:37 +03:00
mtayfur
e97137bb4c feat(memory_system): enhance memory consolidation with multi-message context and semantic deduplication optimizations
Add support for using recent conversation context to resolve pronouns and ambiguous references during memory consolidation, improve semantic deduplication by precomputing embeddings, and cache user memories for efficiency; these changes increase accuracy and performance in extracting and managing user memories, especially in multi-turn conversations.
2025-11-29 10:30:22 +03:00
mtayfur
5bf5f775f4 feat(memory_system): refine memory limits, prompt guidelines, and skip detection for improved clarity and relevance
Increase MAX_MESSAGE_CHARS to 3000 and add MAX_MEMORY_SENTENCES to better control memory granularity, update prompt instructions for conciseness and entity resolution, clarify and expand skip detection for personal formatting and instructional requests, and enhance personal category descriptions for more accurate memory classification and filtering. These changes improve memory quality, user guidance, and system selectivity.
2025-11-26 20:58:27 +03:00
mtayfur
308cf1285e refactor(SkipDetector): optimize line structure handling and reduce redundant splits
Refactors the skip detection logic to precompute and reuse line splits and non-empty line lists, reducing repeated operations and improving efficiency and readability, while also fixing edge cases for empty messages and ensuring more robust pattern detection.
2025-11-26 16:59:54 +03:00
mtayfur
59ff55d662 docs(memory_system): clarify example outputs and explanations for memory operations
Improves clarity in example 3 by specifying the origin city in the CREATE
operation for more complete context, and updates example 6 to better reflect
the distinction between technical requests and personal statements, ensuring
the documentation accurately guides memory handling logic.

refactor(memory_system): rewrite category descriptions for clarity and conciseness

Category descriptions in NON_PERSONAL_CATEGORY_DESCRIPTIONS and
PERSONAL_CATEGORY_DESCRIPTIONS are rewritten to be more concise,
generalized, and easier to parse, reducing verbosity and removing
example-heavy phrasing. This improves maintainability, readability,
and consistency, making the intent of each category clearer for
future development and review.

docs: expand and clarify examples of personal information categories

Additional examples are added to better illustrate the types of
personal information covered, improving clarity for users and
developers about what constitutes sensitive data in various contexts.
2025-11-26 16:45:07 +03:00
mtayfur
75e460c548 style(memory_system): add emoji to log messages and improve docstrings for clarity
Emojis are added to log messages for better visual distinction and quick scanning in logs, and several docstrings are introduced or improved to clarify method purposes, enhancing code readability and maintainability. Unused parameters are removed for cleaner function signatures.
2025-11-26 16:02:25 +03:00
mtayfur
7055eb42f2 refactor(memory_system): unify status level constants, improve log clarity, and adjust thresholds for better maintainability and diagnostics
Status level constants are consolidated into a single STATUS_LEVEL dict for easier access and reduced redundancy, log messages are clarified and made more concise for better diagnostics, and threshold multipliers are adjusted to fine-tune memory retrieval and reranking behavior. These changes improve code maintainability, readability, and operational transparency.
2025-11-26 15:55:29 +03:00
mtayfur
0c87a815fc refactor(memory_system): streamline memory deduplication, logging, and message extraction logic
Refactors deduplication to batch embedding generation for efficiency, consolidates user message extraction into a helper for reuse, replaces statistics.median with numpy for consistency, simplifies memory operation execution, and removes redundant logging and unused imports to improve maintainability and performance.
2025-11-26 10:47:16 +03:00
mtayfur
cdedeee6ba fix(memory_system): improve content extraction, hash handling, and memory filtering
Updates content extraction logic for robustness, ensures all hash operations
handle non-string input safely, filters out empty memory content, and bumps
required Open WebUI version for compatibility. These changes address edge
cases in content processing, prevent potential errors, and ensure only valid
memories are processed and embedded.
2025-11-26 01:04:48 +03:00

File diff suppressed because it is too large Load Diff