The invention relates to the field of
data processing, in particular to a memory retrieval method based on a large
language model and a related device. The method comprises the following steps: in response to an interaction instruction sent by a target user, performing context analysis
processing on the interaction instruction to obtain a real-time interaction intention of the target user; performing memory retrieval on a short-
term memory module and a long-
term memory module based on the real-time interaction intention to obtain target retrieval information; and in combination with a personalized
knowledge base of the target user, carrying out personalized
processing on the target retrieval information to obtain response information matched with the use
habit of the target user, and using the response information to respond to the interaction instruction. According to the method, the memory capacity of the large
language model in the interaction process is improved, the information forgetting rate is reduced, the
information retrieval efficiency is improved, effective classification and organization of personalized information are achieved, and the user experience is improved.