chatHistory
that backs chat memory classes like BufferMemory
for a Redis instance.
sessionTTL
to make sessions expire after a give number of seconds.
The config
parameter is passed directly into the createClient
method of node-redis, and takes all the same arguments.