Short Term Memory

Last updated

What is Short Term Memory?

Short term memory are the facts which are passed as a part of the prompt to the LLM e.g. there might be a prompt like below:

Users Profile:
- name: {name}
- age: {age}
- expertise: {expertise}

User is currently learning about {current_topic}. User has some goals in mind which are:
- {goal_1}
- {goal_2}
- {goal_3}

Help the user achieve the goals.

Notice how we injected the user's profile, current topic and goals in the prompt. These are all short term memories.

Free resources to learn Short Term Memory

More in stage 21: Short Term Memory

Short Term Memory: common questions

Can I learn Short Term Memory in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Short Term Memory in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Short Term Memory tutorial for beginners?

It is lesson 53 of 101 in the free AI Agents roadmap, in stage 21, Short Term Memory. If you are new to AI Agents, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me