mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
Add memory manager sub-node docs and make memory retriever sub-node deprecated
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -4,6 +4,9 @@ description: Documentation for the Chat Messages Retriever node in n8n, a workfl
|
||||
---
|
||||
|
||||
# Chat Messages Retriever
|
||||
/// warning | Deprecated
|
||||
The Chat Messages Retriever node was removed from n8n in 1.26.0. It is still available in legacy workflows. Please use [Chat Memory Manager](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorymanager) instead.
|
||||
///
|
||||
|
||||
Use the Chat Messages Retriever node to retrieve data from an in-memory vector store.
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Chat Memory Manager
|
||||
description: Documentation for the Chat Memory Manager node in n8n, a workflow automation platform. Includes details of operations and configuration, and links to examples and credentials information.
|
||||
---
|
||||
|
||||
# Chat Memory Manager
|
||||
|
||||
The Chat Memory Manager node is designed to manage chat message memories within your workflows. This node allows you to load, insert, and delete chat messages in an in-memory vector store.
|
||||
|
||||
On this page, you'll find a list of operations that the Chat Memory Manager node supports, along with links to more resources.
|
||||
|
||||
/// note | Examples and templates
|
||||
For usage examples and templates to help you get started, refer to n8n's [Chat Memory Manager integrations](https://n8n.io/integrations/chat-messages-manager/){:target=_blank .external-link} page.
|
||||
///
|
||||
|
||||
--8<-- "_snippets/integrations/builtin/cluster-nodes/sub-node-expression-resolution.md"
|
||||
|
||||
## Node Parameters
|
||||
|
||||
**Operation Mode**: Choose between `Get Many Messages`, `Insert Messages`, and `Delete Messages` operations.
|
||||
|
||||
**Insert Mode**: (Shown in `Insert Messages` mode) Choose between `Insert Messages` to add alongside existing messages or `Override All Messages` to replace current memory.
|
||||
|
||||
**Delete Mode**: (Shown in `Delete Messages` mode) Select either `Last N` to delete the last N messages or `All Messages` to clear all messages from memory.
|
||||
|
||||
**Chat Messages**: (Shown in `Insert Messages` mode) Define the chat messages to insert into the memory, including message type (AI, System, User), message content, and visibility in UI.
|
||||
|
||||
**Messages Count**: (Shown in `Delete Messages` mode and when `Last N` is selected) Specify the number of latest messages to delete.
|
||||
|
||||
**Simplify Output**: (Shown in `Get Many Messages` mode) Toggle to simplify the output to include only the sender(ai, user, system) and the text.
|
||||
|
||||
## Related resources
|
||||
|
||||
View [example workflows and related content](https://n8n.io/integrations/chat-messages-manager/){:target=_blank .external-link} on n8n's website.
|
||||
|
||||
Refer to [LangChain's Memory documentation](https://js.langchain.com/docs/modules/memory/){:target=_blank .external-link} for more information about the service.
|
||||
|
||||
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"
|
||||
--8<-- "_glossary/ai-glossary.md"
|
||||
@@ -178,7 +178,7 @@ Learn more about [Text embeddings in LangChain](https://js.langchain.com/docs/mo
|
||||
|
||||
#### Miscellaneous
|
||||
|
||||
* [Chat Messages Retriever](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorychatretriever/)
|
||||
* [Chat Memory Manager](/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorymanager/)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -716,6 +716,7 @@ nav:
|
||||
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmopenhuggingfaceinference.md
|
||||
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorybufferwindow.md
|
||||
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorychatretriever.md
|
||||
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorymanager.md
|
||||
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorymotorhead.md
|
||||
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memoryredischat.md
|
||||
- integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memoryxata.md
|
||||
|
||||
Reference in New Issue
Block a user