Conversational agents in long-term healthcare often lack the ability to retain and recall information across sessions, leading to fragmented and impersonal interactions. This paper presents a scalable hybrid memory system that addresses this limitation by combining short-term memory for real-time dialogue with a persistent long-term memory layer based on MongoDB. The system, developed within the SALUS project, employs a dual-agent architecture: GenAI A handles immediate conversations using a short-term buffer, while GenAI B manages memory consolidation by generating and storing reflections—semantic summaries of past interactions. Inspired by generative agent models, this design enables thematic memory organization, deferred storage, and keyword-based retrieval. Validated through use cases involving elderly patients and routine care scenarios, the architecture improves personalization, minimizes redundancy, and fosters trust in multi-session dialogues. The modular and extensible design supports future enhancements such as semantic search, explainable AI, and integration with socio-sanitary platforms like SALUS.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Scalable Hybrid Memory System for Long-Term Conversational Assistants in Healthcare

  • Carlos Álvarez López,
  • Alberto Rodríguez Pérez,
  • Sara Rodríguez González,
  • Ricardo Alonso-Rincón,
  • Yeray Mezquita

摘要

Conversational agents in long-term healthcare often lack the ability to retain and recall information across sessions, leading to fragmented and impersonal interactions. This paper presents a scalable hybrid memory system that addresses this limitation by combining short-term memory for real-time dialogue with a persistent long-term memory layer based on MongoDB. The system, developed within the SALUS project, employs a dual-agent architecture: GenAI A handles immediate conversations using a short-term buffer, while GenAI B manages memory consolidation by generating and storing reflections—semantic summaries of past interactions. Inspired by generative agent models, this design enables thematic memory organization, deferred storage, and keyword-based retrieval. Validated through use cases involving elderly patients and routine care scenarios, the architecture improves personalization, minimizes redundancy, and fosters trust in multi-session dialogues. The modular and extensible design supports future enhancements such as semantic search, explainable AI, and integration with socio-sanitary platforms like SALUS.