Interface MemoryPostgresChatNodeParameters

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

Properties§

Source§

readonly contextWindowLength?: number

Default: 5

Source§

readonly sessionIdType?: "fromInput" | "customKey"

Default: "fromInput"

Source§

readonly sessionKey?: string

Default: "={{ $json.sessionId }}"

Source§

readonly tableName?: string

The table name to store the chat history in. If table does not exist, it will be created. Default: "n8n_chat_histories"