interface MemoryMongoDbChatNodeParameters {
collectionName?: string;
contextWindowLength?: number;
databaseName?: string;
sessionIdType?: "fromInput" | "customKey";
sessionKey?: string;
}Properties§
§§§§
readonly collection Name?: string§
readonly context Window Length?: numberDefault: 5
readonly database Name?: stringThe database name to store the chat history in. If not provided, the database from credentials will be used.
readonly session Id Type?: "fromInput" | "customKey"Default: "fromInput"
readonly session Key?: stringDefault: "={{ $json.sessionId }}"
The collection name to store the chat history in. If collection does not exist, it will be created. Default: "n8n_chat_histories"