Short term memory(短期记忆)是作为 prompt 一部分传给 LLM 的事实,例如可能有如下 prompt:
Users Profile:
User is currently learning about {current_topic}. User has some goals in mind which are:
Help the user achieve the goals.
注意我们如何将用户 profile、当前主题与目标注入 prompt。这些均为 short term memory。