Interface MemoryMongoDbChatNodeParameters

Source
interface MemoryMongoDbChatNodeParameters {
    collectionName?: string;
    contextWindowLength?: number;
    databaseName?: string;
    sessionIdType?: "fromInput" | "customKey";
    sessionKey?: string;
}

Properties§

Source§

readonly collectionName?: string

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

Source§

readonly contextWindowLength?: number

Default: 5

Source§

readonly databaseName?: string

The database name to store the chat history in. If not provided, the database from credentials will be used.

Source§

readonly sessionIdType?: "fromInput" | "customKey"

Default: "fromInput"

Source§

readonly sessionKey?: string

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