{
  "name": "memorymanager",
  "display_name": "Chat Memory Manager",
  "description": "Manage chat messages memory and use it in the workflow",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [],
  "properties": [
    {
      "name": "mode",
      "display_name": "Operation Mode",
      "kind": "options",
      "required": false,
      "default": "load",
      "description": "Retrieve chat messages from connected memory"
    },
    {
      "name": "insertMode",
      "display_name": "Insert Mode",
      "kind": "options",
      "required": false,
      "default": "insert",
      "description": "Choose how new messages are inserted into the memory"
    },
    {
      "name": "deleteMode",
      "display_name": "Delete Mode",
      "kind": "options",
      "required": false,
      "default": "lastN",
      "description": "How messages are deleted from memory"
    },
    {
      "name": "messages",
      "display_name": "Chat Messages",
      "kind": "fixedCollection",
      "required": true,
      "default": "system",
      "description": "Chat messages to insert into memory"
    },
    {
      "name": "lastMessagesCount",
      "display_name": "Messages Count",
      "kind": "number",
      "required": false,
      "description": "The amount of last messages to delete"
    },
    {
      "name": "simplifyOutput",
      "display_name": "Simplify Output",
      "kind": "boolean",
      "required": false,
      "description": "Whether to simplify the output to only include the sender and the text"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "description": "Whether to group messages into a single item or return each message as a separate item"
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/@n8n/nodes-langchain/nodes/memory/MemoryManager/MemoryManager.node.ts"
}