This application discloses a
memory management method,
system, device, and medium for long-term health dialogue scenarios, relating to the fields of intelligent dialogue and medical
memory management technology. This application perceives historical dialogue data, extracts dialogue intent features, health need features, interaction frequency features, medical entity features, and health time features, calculates a value quantification
score, and performs layered compression
processing on long-term health memories (dialogue memory units) based on the value quantification
score, achieving lossless retention of high-value core memories and precise removal of redundant information; simultaneously, it adopts an asynchronous
batch processing mode independent of the dialogue
response process to achieve incremental updates of new health memories, avoiding resource competition between memory updates and dialogue responses. This application can significantly reduce
system storage overhead and computational load, shorten dialogue response latency, and adapt to long-term, multi-turn health interaction scenarios between medical intelligent agents and users, while ensuring the accuracy and continuity of health memories.