Skip to content

人工智能中的记忆是什么?(What's memory in AI?)#

记忆是人工智能聊天服务的一个关键部分。记忆 会保留之前消息的历史记录,使得与人工智能的对话可以持续进行,而不是每次交互都从头开始。

🌐 Memory is a key part of AI chat services. The memory keeps a history of previous messages, allowing for an ongoing conversation with the AI, rather than every interaction starting fresh.

n8n 中的 AI 记忆(AI memory in n8n)#

要向 AI 工作流添加内存,你可以使用以下任一方法:

🌐 To add memory to your AI workflow you can use either:

如果你需要在工作流程中进行高级的 AI 内存管理,请使用 Chat Memory Manager 节点。

🌐 If you need to do advanced AI memory management in your workflows, use the Chat Memory Manager node.

This node is useful when you:

  • Can't add a memory node directly.
  • Need to do more complex memory management, beyond what the memory nodes offer. For example, you can add this node to check the memory size of the Agent node's response, and reduce it if needed.
  • Want to inject messages to the AI that look like user messages, to give the AI more context.