ai.memory_redis · version 1.4 · AI sub-node
Stores chat history in Redis.
Port Kind Label Required Max connections
output 0 ai_memory
Slot Accepted kinds Required
redisproto.redis, redisyes
Name Type Default Required Shown when Description
sessionIdTypeoptions "fromInput"Session ID . One of fromInput, customKey.
sessionKeystring "={{ $json.sessionId }}"sessionIdType = customKey Session Key .
contextWindowLengthnumber 5Context Window Length . How many past exchanges are given to the model.
sessionTTLnumber 0Session Time To Live . Seconds until an idle session expires; 0 keeps it forever.
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating .
Source type Version range Status Fixtures
@n8n/n8n-nodes-langchain.memoryRedisChat1unverified