Interface MemoryRedisChatNodeParameters

Source
interface MemoryRedisChatNodeParameters {
    contextWindowLength?: number;
    sessionIdType?: "fromInput" | "customKey";
    sessionKey?: string;
    sessionTTL?: number;
}

Properties§

§readonly contextWindowLength?: number

Default: 5

§readonly sessionIdType?: "fromInput" | "customKey"

Default: "fromInput"

§readonly sessionKey?: string

The key to use to store the memory in the workflow data Default: "chat_history"

§readonly sessionTTL?: number

For how long the session should be stored in seconds. If set to 0 it will not expire.