Node Information
Understanding the Short-term Memory Reader Node

The Short-term Memory Reader node stores and retrieves recent conversational context that occurs within a session.
It helps maintain a consistent dialogue flow and allows the agent to respond naturally based on the user’s previous inputs.
Short-term memory is limited to the current session, and all stored context is cleared when the session ends.
Examples of use:
Chat Bots
Conversational agents
Input
The Short-term Memory Reader node receives variables from the previous node and does not allow additional input variables to be declared.
For example, if you connect the Start Node to the Short-term Memory Reader using an edge, it will automatically receive the input_message and input_files variables from the Start Node.
Output
By default, the Short-term Memory Reader outputs a JSON variable named memory_output.
Settings

You must configure how many messages the node should store as short-term memory.
For instance, if you set the number of messages to 10, the node will remember up to the 10 most recent messages to maintain conversational context.
Tutorial
Follow the step-by-step guide to learn how to use the Short-term Memory Reader node effectively: