Interface MemoryRedisChatNodeParameters

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

Properties§

Source§

readonly contextWindowLength?: number

Default: 5

Source§

readonly sessionIdType?: "fromInput" | "customKey"

Default: "fromInput"

Source§

readonly sessionKey?: string

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

Source§

readonly sessionTTL?: number

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