Conversation
- Added session models including Session, SessionStatus, Entity, and SessionFact. - Introduced SessionManager for managing sessions, including creation, updating, tracking messages, and extracting facts/entities. - Integrated session management into MemoryClient, allowing for session creation, retrieval, and updates. - Implemented session boundary detection and auto-summarization features. - Enhanced session search capabilities based on semantic similarity. - Added methods for retrieving user sessions and child sessions. - Updated logging for session-related operations.
- Updated Groq model from llama-3.1-70b-versatile to llama-3.3-70b-versatile in documentation and code. - Added GroqLLM adapter for OpenAI-compatible API integration. - Introduced EnhancedMemoryClient and OptimizedMemoryClient for improved memory management and performance. - Enhanced MemoryExtractor with better heuristic patterns and robust JSON parsing. - Improved ImportanceScorer with LLM-based scoring and refined heuristics. - Added support for batch operations and async processing in optimized client.
- Added `SmartMemoryUpdater` class for intelligent memory management, including merge, update, skip decisions, and conflict resolution. - Introduced `SemanticCategorizer` class for automatic memory clustering, dynamic tag suggestion, and category assignment. - Developed methods for reconciling user memories and detecting topic shifts in conversations. - Created tests for smart memory updates and semantic clustering functionalities to ensure reliability and correctness. - Enhanced existing `EnhancedMemoryClient` and `OptimizedMemoryClient` classes with new methods for memory reconciliation, clustering, and tagging suggestions. - Added new modules for semantic clustering and smart updating logic.
- Added EnhancedMemoryClient and OptimizedMemoryClient methods for agent creation, retrieval, and memory management. - Introduced Agent, Run, AgentPermission, and MemoryTransfer models for structured agent data handling. - Developed MultiAgentManager to manage agents, runs, permissions, and memory transfers. - Implemented memory visibility levels (private, shared, public) for enhanced access control. - Created comprehensive tests for agent management, permission handling, and memory access control.
- Improved category detection in semantic_clustering.py by refining regex patterns for goals and preferences. - Enhanced LLM integration for category assignment, allowing for fallback options if LLM fails. - Introduced semantic keyword groups for better similarity matching in find_similar_memories. - Added temporal.py module for temporal reasoning, including time-based queries, event extraction, and timeline creation. - Implemented scheduled memory functionality with recurrence options in temporal.py. - Updated conflict detection logic in smart_updater.py to better identify contradictions using negation and sentiment analysis. - Added test fixtures in conftest.py for MemoryClient and user ID generation to facilitate testing.
- Implemented a fact extraction pipeline for structured knowledge extraction, including entity and relationship extraction, temporal information extraction, and confidence scoring. - Developed a summarization module for session summarization, key points extraction, action item detection, and sentiment analysis. - Created integration tests for fact extraction, entity recognition, relationship extraction, conversation summarization, and knowledge graph operations. - Ensured that all intelligence features are properly integrated into the MemoryClient.
- Reorganized import statements in summarization.py for clarity. - Standardized string formatting and regex patterns across multiple files. - Enhanced logging messages for better traceability. - Simplified function signatures and argument handling in session_manager.py and temporal.py. - Cleaned up test files for better readability and consistency in formatting. - Updated validation script for improved output formatting and clarity.
…emetry integration
…aits for Qdrant and Ollama services
…rant health checks
…collection deletion loop
…ance Ruff linting steps
…riables and adjusting Qdrant readiness checks
- Use exception handling (EAFP) instead of preemptive checks in search() and scroll() - Eliminates extra network call (collection_exists) in common case - Avoid race conditions in _ensure_collections using try-except - More Pythonic and efficient approach - Improves performance by removing unnecessary checks
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Fix: Prevent Qdrant 404 errors in CI by handling missing collections gracefully
…andling in memory service and Redis store; add integration test for memory management features
- Implemented UnifiedMemoryClient to facilitate seamless switching between local and remote modes. - Created example scripts demonstrating usage in both modes. - Introduced backend abstraction layer with BaseBackend, LocalBackend, and RemoteBackend. - Enhanced API with batch operations for memory management. - Added health check and analytics endpoints to the remote API. - Updated __init__.py to include UnifiedMemoryClient in the public API.
- Created a comprehensive usage guide for HippocampAI in `docs/archive/USAGE.md`. - Added a validation summary document detailing the validation of intelligence features in `docs/archive/VALIDATION_SUMMARY.md`. - Updated API routes in `celery_routes.py` and `intelligence_routes.py` for improved clarity and consistency. - Enhanced entity recognition and fact extraction pipelines for better performance and readability. - Refactored memory management tasks in `tasks.py` to improve logging and error handling. - Improved code formatting and consistency across various modules, including `retriever.py`, `relationship_mapping.py`, and `temporal_analytics.py`. - Added type hints and improved type safety in several areas, including memory creation and retrieval. - Updated test scripts to reflect changes in the API and ensure comprehensive coverage of new features.
Backup/2025 10 29 1400
There was a problem hiding this comment.
We failed to fetch the diff for pull request #18
You can try again by commenting this pull request with @sourcery-ai review, or contact us for help.
PR Compliance Guide 🔍(Compliance updated until commit c82aec9)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit 6a845eb
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||||||||||||
- Simplified conditional checks in MemoryClient and MemoryManagementService. - Updated type hints for better clarity and consistency in client_extensions and embedder. - Enhanced error handling in AsyncRedisKVStore for better robustness. - Improved logging and telemetry integration in various methods. - Streamlined memory retrieval and update logic in MemoryClient. - Refactored entity recognition and extraction logic for clarity. - Optimized knowledge graph filtering and memory graph degree calculations. - Added new methods for reranking and improved query routing logic. - Enhanced test coverage and improved assertions for floating-point comparisons. - Cleaned up imports and ensured consistent usage of type hints throughout the codebase.
… Celery implementation fix: Ensure Redis connection is tested on initialization
…call for background tasks
…ation and memory management methods
- Updated Cache class methods to include return type hints for set and clear methods. - Enhanced time utility to handle Python 3.11+ compatibility for UTC. - Modified QdrantStore to ensure conditions are converted to a list before filtering. - Specified type hints for the diff dictionary in MemoryVersionControl. - Removed comprehensive test files for all features and new features to streamline testing. - Deleted unused test run and validation scripts to clean up the repository.
…gration - Introduced PROJECT_OVERVIEW.md detailing the core features, system architecture, deployment options, and performance metrics of HippocampAI. - Created SAAS_INTEGRATION_GUIDE.md outlining supported providers, setup instructions, deployment architectures, and troubleshooting tips for seamless integration with SaaS AI providers.
…d migration details - Added UnifiedMemoryClient for seamless local and remote backend integration. - Created UNIFIED_CLIENT_USAGE.md for detailed API reference and examples. - Added WHATS_NEW_UNIFIED_CLIENT.md to highlight key changes and benefits. - Updated async_app.py version to 1.0.0 to reflect new client introduction.
…sting capabilities
* feat: Implement session management for conversation tracking - Added session models including Session, SessionStatus, Entity, and SessionFact. - Introduced SessionManager for managing sessions, including creation, updating, tracking messages, and extracting facts/entities. - Integrated session management into MemoryClient, allowing for session creation, retrieval, and updates. - Implemented session boundary detection and auto-summarization features. - Enhanced session search capabilities based on semantic similarity. - Added methods for retrieving user sessions and child sessions. - Updated logging for session-related operations. * feat: Update Groq model to 3.3 and enhance provider support - Updated Groq model from llama-3.1-70b-versatile to llama-3.3-70b-versatile in documentation and code. - Added GroqLLM adapter for OpenAI-compatible API integration. - Introduced EnhancedMemoryClient and OptimizedMemoryClient for improved memory management and performance. - Enhanced MemoryExtractor with better heuristic patterns and robust JSON parsing. - Improved ImportanceScorer with LLM-based scoring and refined heuristics. - Added support for batch operations and async processing in optimized client. * Implement smart memory updates and semantic clustering features - Added `SmartMemoryUpdater` class for intelligent memory management, including merge, update, skip decisions, and conflict resolution. - Introduced `SemanticCategorizer` class for automatic memory clustering, dynamic tag suggestion, and category assignment. - Developed methods for reconciling user memories and detecting topic shifts in conversations. - Created tests for smart memory updates and semantic clustering functionalities to ensure reliability and correctness. - Enhanced existing `EnhancedMemoryClient` and `OptimizedMemoryClient` classes with new methods for memory reconciliation, clustering, and tagging suggestions. - Added new modules for semantic clustering and smart updating logic. * feat(multi-agent): Implement multi-agent memory management system - Added EnhancedMemoryClient and OptimizedMemoryClient methods for agent creation, retrieval, and memory management. - Introduced Agent, Run, AgentPermission, and MemoryTransfer models for structured agent data handling. - Developed MultiAgentManager to manage agents, runs, permissions, and memory transfers. - Implemented memory visibility levels (private, shared, public) for enhanced access control. - Created comprehensive tests for agent management, permission handling, and memory access control. * feat: Add semantic clustering and auto-categorization demo * Enhance semantic clustering and memory management features - Improved category detection in semantic_clustering.py by refining regex patterns for goals and preferences. - Enhanced LLM integration for category assignment, allowing for fallback options if LLM fails. - Introduced semantic keyword groups for better similarity matching in find_similar_memories. - Added temporal.py module for temporal reasoning, including time-based queries, event extraction, and timeline creation. - Implemented scheduled memory functionality with recurrence options in temporal.py. - Updated conflict detection logic in smart_updater.py to better identify contradictions using negation and sentiment analysis. - Added test fixtures in conftest.py for MemoryClient and user ID generation to facilitate testing. * Add fact extraction and summarization pipelines with integration tests - Implemented a fact extraction pipeline for structured knowledge extraction, including entity and relationship extraction, temporal information extraction, and confidence scoring. - Developed a summarization module for session summarization, key points extraction, action item detection, and sentiment analysis. - Created integration tests for fact extraction, entity recognition, relationship extraction, conversation summarization, and knowledge graph operations. - Ensured that all intelligence features are properly integrated into the MemoryClient. * feat: Add validation script and update documentation for intelligence features * Refactor code for improved readability and consistency - Reorganized import statements in summarization.py for clarity. - Standardized string formatting and regex patterns across multiple files. - Enhanced logging messages for better traceability. - Simplified function signatures and argument handling in session_manager.py and temporal.py. - Cleaned up test files for better readability and consistency in formatting. - Updated validation script for improved output formatting and clarity. * chore: Update CI and SonarQube workflows to pin action versions and improve comments * feat: Add comprehensive demo script for HippocampAI features with telemetry integration * feat: Add Qdrant status check and ensure test collections exist in fixtures * feat: Enhance CI workflow with improved health checks and readiness waits for Qdrant and Ollama services * feat: Simplify CI workflow by removing Ollama service and updating Qdrant health checks * refactor: Improve readability of importance decay test by formatting collection deletion loop * refactor: Update Ruff linting steps for improved clarity and warning handling * fix: Ensure Ruff is installed before running lint checks * feat: Enhance CI workflow with Ollama service readiness checks and model pulling * feat: Remove Ollama service from CI workflow and adjust test settings * feat: Update CI workflow for improved Qdrant readiness checks and enhance Ruff linting steps * feat: Add collection readiness check to ensure proper initialization * refactor: Simplify CI workflow by removing unnecessary environment variables and adjusting Qdrant readiness checks * refactor: Comment out Qdrant service and related checks in CI workflow for clarity * Check-1 * Check-2 * Improve: Use EAFP pattern and avoid race conditions in Qdrant operations - Use exception handling (EAFP) instead of preemptive checks in search() and scroll() - Eliminates extra network call (collection_exists) in common case - Avoid race conditions in _ensure_collections using try-except - More Pythonic and efficient approach - Improves performance by removing unnecessary checks * Update src/hippocampai/vector/qdrant_store.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/hippocampai/vector/qdrant_store.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * feat: Enhance QdrantStore with additional payload indices and implement bulk upsert functionality - Added indices for user_id, type, tags, importance, created_at, and updated_at to improve query performance. - Implemented bulk_upsert method for efficient insertion and updating of multiple points. - Introduced comprehensive integration tests covering all Memory Management API features, including CRUD operations, batch processing, advanced filtering, hybrid search, deduplication, and caching. - Created dedicated test suite for Memory Management APIs with pytest, ensuring robust testing of service functionalities. * feat: Add comprehensive Memory Management API documentation and implementation summary * fix: Improve collection creation logic and add error handling for existing collections * feat: Refactor Memory object creation and enhance QdrantStore with collection management * feat: Integrate Celery for asynchronous task management - Added Celery dependencies to pyproject.toml and requirements.txt. - Implemented Celery application configuration in src/hippocampai/celery_app.py. - Created task definitions for memory operations in src/hippocampai/tasks.py. - Developed FastAPI routes for task submission and management in src/hippocampai/api/celery_routes.py. - Added task status and cancellation endpoints to manage Celery tasks. - Implemented scheduled maintenance tasks for memory deduplication, consolidation, and cleanup. * fix: Update health check endpoints for consistency and disable health checks for Celery services * chore: Update LICENSE file to include full Apache License 2.0 text and terms * Add hierarchical clustering and advanced temporal analytics for memory intelligence - Implement hierarchical clustering method for memories with a focus on cohesion and topic identification. - Introduce a new module for advanced temporal analytics, including peak activity analysis, temporal pattern detection, trend analysis, periodicity detection, and time-based predictions. - Define data models for peak activity analysis, temporal patterns, trend analysis, periodicity analysis, and temporal clusters. - Add methods for analyzing peak activity times, detecting temporal patterns, and analyzing trends over time. - Implement clustering of memories based on temporal proximity with density calculations and dominant type identification. * feat: Add intelligence routes to the FastAPI application and update configuration import * Refactor type hints from `Dict` and `List` to `dict` and `list` for consistency across the codebase; enhance readability and maintainability. Added comprehensive tests for all HippocampAI features, covering fact extraction, entity recognition, relationship mapping, semantic clustering, temporal analytics, memory client integration, REST API availability, and the complete intelligence pipeline. * feat: Implement search module with saved searches and suggestions - Added `SavedSearchManager` for managing user saved searches with features to save, retrieve, update, and delete searches. - Introduced `SearchSuggestionEngine` to generate search suggestions based on user query history. - Enhanced `MemoryVersionControl` to include detailed text diffs when comparing versions. - Updated various modules to remove unused imports and improve code clarity. - Created comprehensive tests for new search and retrieval features, including saved searches and suggestions. * feat: Add comprehensive changelog documenting new search enhancements, versioning features, and performance improvements * chore: Remove unused imports and update type hints for PEP8 compliance; enhance documentation with search features guide * ci: add .deepsource.toml * feat: Enhance type hints for consistency and clarity; improve error handling in memory service and Redis store; add integration test for memory management features * feat: Add UnifiedMemoryClient supporting local and remote modes - Implemented UnifiedMemoryClient to facilitate seamless switching between local and remote modes. - Created example scripts demonstrating usage in both modes. - Introduced backend abstraction layer with BaseBackend, LocalBackend, and RemoteBackend. - Enhanced API with batch operations for memory management. - Added health check and analytics endpoints to the remote API. - Updated __init__.py to include UnifiedMemoryClient in the public API. * Add usage guide and validation summary; enhance API and pipeline code - Created a comprehensive usage guide for HippocampAI in `docs/archive/USAGE.md`. - Added a validation summary document detailing the validation of intelligence features in `docs/archive/VALIDATION_SUMMARY.md`. - Updated API routes in `celery_routes.py` and `intelligence_routes.py` for improved clarity and consistency. - Enhanced entity recognition and fact extraction pipelines for better performance and readability. - Refactored memory management tasks in `tasks.py` to improve logging and error handling. - Improved code formatting and consistency across various modules, including `retriever.py`, `relationship_mapping.py`, and `temporal_analytics.py`. - Added type hints and improved type safety in several areas, including memory creation and retrieval. - Updated test scripts to reflect changes in the API and ensure comprehensive coverage of new features. * fix: Restore pull_request trigger in CI workflow * chore: Update sonar-project.properties with Python settings and exclusions * Refactor and improve code quality across multiple modules - Simplified conditional checks in MemoryClient and MemoryManagementService. - Updated type hints for better clarity and consistency in client_extensions and embedder. - Enhanced error handling in AsyncRedisKVStore for better robustness. - Improved logging and telemetry integration in various methods. - Streamlined memory retrieval and update logic in MemoryClient. - Refactored entity recognition and extraction logic for clarity. - Optimized knowledge graph filtering and memory graph degree calculations. - Added new methods for reranking and improved query routing logic. - Enhanced test coverage and improved assertions for floating-point comparisons. - Cleaned up imports and ensured consistent usage of type hints throughout the codebase. * refactor: Simplify deduplication, consolidation, and cleanup tasks in Celery implementation fix: Ensure Redis connection is tested on initialization * fix: Change breakdown type in RetrievalResult to Any and update test call for background tasks * refactor: Enhance LocalBackend implementation with detailed initialization and memory management methods * fix: Replace MemoryClient with LocalBackend in LOCAL mode initialization * Refactor code for improved type hinting, compatibility, and cleanup - Updated Cache class methods to include return type hints for set and clear methods. - Enhanced time utility to handle Python 3.11+ compatibility for UTC. - Modified QdrantStore to ensure conditions are converted to a list before filtering. - Specified type hints for the diff dictionary in MemoryVersionControl. - Removed comprehensive test files for all features and new features to streamline testing. - Deleted unused test run and validation scripts to clean up the repository. * refactor: Enhance type safety and cleanup across multiple modules * Add comprehensive documentation for HippocampAI project and SaaS integration - Introduced PROJECT_OVERVIEW.md detailing the core features, system architecture, deployment options, and performance metrics of HippocampAI. - Created SAAS_INTEGRATION_GUIDE.md outlining supported providers, setup instructions, deployment architectures, and troubleshooting tips for seamless integration with SaaS AI providers. * feat: Introduce UnifiedMemoryClient with comprehensive usage guide and migration details - Added UnifiedMemoryClient for seamless local and remote backend integration. - Created UNIFIED_CLIENT_USAGE.md for detailed API reference and examples. - Added WHATS_NEW_UNIFIED_CLIENT.md to highlight key changes and benefits. - Updated async_app.py version to 1.0.0 to reflect new client introduction. * feat: Add comprehensive test runner for HippocampAI with extensive testing capabilities * fix: Restrict pull request branch to 'main' and remove unused Qdrant service steps * chore: Update version to 0.2.0 across documentation and codebase --------- Co-authored-by: prakharjain <prakharjain2004@gmail.com> Co-authored-by: Prakhar Jain <115483339+PrakharJain1509@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
User description
This pull request introduces several infrastructure and configuration improvements, focusing on enhanced environment management, more robust and reproducible CI workflows, and better containerization for deployment. The changes also include a full update to the project’s license file. Below are the most important updates grouped by theme:
Environment and Configuration
.env.examplefile is significantly expanded and reorganized, adding new configuration options for API, Qdrant, Redis, Celery, monitoring (Prometheus, Grafana), and background tasks, along with improved comments for clarity and best practices.Containerization
Dockerfileis added, which builds and packages the application using best practices (virtualenv, non-root user, healthcheck, dependency separation), greatly improving security and efficiency for deployments.Continuous Integration (CI) Improvements
rufffor linting and formatting checks. Qdrant service setup is commented out for now, and dependency installation steps are clarified. [1] [2] [3] [4] [5]Licensing
LICENSEfile is updated to include the full text of the Apache License 2.0, clarifying terms and conditions for use, reproduction, and distribution, and updating the copyright to 2025.These changes collectively improve the reliability, maintainability, and deployment-readiness of the project.
PR Type
Enhancement, Tests, Documentation
Description
Core Client Expansion: Enhanced
MemoryClientwith support for Groq LLM provider, comprehensive session management viaSessionManager, multi-agent support throughMultiAgentManager, and temporal reasoning withTemporalAnalyzerIntelligence Pipeline: Added 6 new specialized modules for advanced memory analysis:
entity_recognition.py: Named entity recognition with 19+ entity types, linking, and relationship extractiontemporal_analytics.py: Peak activity analysis, temporal patterns, trends, and clusteringinsights.py: Cross-session behavioral pattern detection, preference drift, and habit formation trackingsemantic_clustering.py: Memory clustering, auto-categorization, and topic evolutionfact_extraction.py: Structured fact extraction with quality scoring and deduplicationrelationship_mapping.py: Entity network analysis and relationship strength scoringMemory Management Service: New high-performance
MemoryServicewith parallel embedding generation, bulk operations (5-10x improvement), advanced filtering, and query cachingSession Management System:
SessionManagerfor conversation tracking, LLM-powered summarization, fact extraction, and session boundary detectionAPI Enhancements: Comprehensive FastAPI async application with full CRUD, batch operations, analytics endpoints, and multi-provider LLM integration
Integration Testing: Complete test suite covering all features including service initialization, batch operations, hybrid search, deduplication, and background tasks
Type Hint Modernization: Updated to modern Python syntax (
dict,list,tupleinstead ofDict,List,Tuple)Documentation: Backend abstraction patterns and temporal reasoning demo examples
Diagram Walkthrough
File Walkthrough
12 files
client.py
Comprehensive expansion with multi-agent, sessions, and intelligencefeaturessrc/hippocampai/client.py
Ollama providers
SessionManagerfortracking conversations and detecting session boundaries
MultiAgentManagerfor agent-basedmemory isolation and permission management
TemporalAnalyzerfortime-range queries, timelines, and scheduled memories
behavior changes, preference drift, and habit formation
relationship extraction, and conversation summarization
via
KnowledgeGraphimprovements
dict[str, float]instead of
Dict[str, float])entity_recognition.py
New entity recognition and knowledge extraction modulesrc/hippocampai/pipeline/entity_recognition.py
19+ entity types (person, organization, location, skill, tool, etc.)
mention tracking and timeline support
scoring
memory_service.py
New high-performance memory management service with batch operationssrc/hippocampai/services/memory_service.py
batch processing
performance improvement
text search
temporal_analytics.py
Advanced temporal analytics pipeline for memory patternssrc/hippocampai/pipeline/temporal_analytics.py
intelligence with 719 lines of code
analysis, and temporal clustering
categorization
memory clustering by temporal proximity
insights.py
Cross-session behavioral insights and pattern detectionsrc/hippocampai/pipeline/insights.py
lines of code
drift, and identifies habit formation
correlational types
scoring
semantic_clustering.py
Semantic memory clustering and auto-categorization systemsrc/hippocampai/pipeline/semantic_clustering.py
with 712 lines of code
category auto-assignment
similarity matching
cluster quality metrics
fact_extraction.py
Structured fact extraction and knowledge base pipelinesrc/hippocampai/pipeline/fact_extraction.py
code
matching and LLM integration
extraction, and fact categorization
deduplication
relationship_mapping.py
Relationship mapping and entity network analysissrc/hippocampai/pipeline/relationship_mapping.py
lines of code
analysis capabilities
cluster detection
relationship networks
session_manager.py
Session Management System with LLM Integrationsrc/hippocampai/session/session_manager.py
SessionManagerclass for comprehensive session tracking,summarization, and fact extraction
with in-memory caching and Qdrant persistence
recognition, and session boundary detection
session support with parent-child relationships
async_app.py
Comprehensive Async FastAPI Memory Management APIsrc/hippocampai/api/async_app.py
management for service initialization and shutdown
retrieval endpoints for memory management
configuration
consolidation, and TTL-based expiration features
temporal.py
Temporal Reasoning and Time-Based Memory Analysissrc/hippocampai/pipeline/temporal.py
TemporalAnalyzerclass for time-based memory analysis andreasoning
construction, and temporal event extraction
calculations, and memory scheduling with recurrence
analysis
intelligence_routes.py
Advanced Intelligence API Routes and Analyticssrc/hippocampai/api/intelligence_routes.py
recognition, and relationship mapping
standard clustering support
pattern detection, trends, and time-based clustering
visualization data export capabilities
1 files
bm25.py
Type hint modernization for BM25 retrieversrc/hippocampai/retrieval/bm25.py
ListandTupleto modern Python syntax (listand
tuple)typingmodule2 files
local.py
Local backend documentation and abstraction patternsrc/hippocampai/backends/local.py
pattern
LocalBackenduses the existingMemoryClientimplementation directly
extensibility
13_temporal_reasoning_demo.py
Temporal Reasoning Demo with Time-Based Queriesexamples/13_temporal_reasoning_demo.py
queries and custom date range filtering
sequence analysis
with configurable offsets
demonstration purposes
1 files
test_all_features_integration.py
Complete Integration Test Suite for All Featurestests/test_all_features_integration.py
features with colored output formatting
advanced filtering, hybrid search, and deduplication
Redis caching performance, and background tasks
success/error/warning indicators
101 files