File size: 723 Bytes
60d4850
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""
Cross-Session Memory Service (Phase 3)

Provides persistent patient/session context that survives across
multiple encounters. Uses Redis for fast session cache and PostgreSQL
for durable long-term memory.

Memory types:
- **Session cache**: Active session state (Redis, TTL-based)
- **Patient history**: Cross-encounter summaries (PostgreSQL)
- **Entity memory**: Accumulated conditions/medications per patient
- **Preference memory**: Patient communication preferences, language
"""

from app.services.memory.memory_service import (
    MemoryService,
    get_memory_service,
    SessionCache,
    PatientMemory,
)

__all__ = [
    "MemoryService",
    "get_memory_service",
    "SessionCache",
    "PatientMemory",
]