{
 "name": "[노드 한 장] Auto-fixing Output Parser · 인위적 8토큰 JSON 제한",
 "nodes": [
  {
   "name": "Run manually",
   "type": "n8n-nodes-base.manualTrigger",
   "typeVersion": 1,
   "position": [
    0,
    0
   ],
   "parameters": {}
  },
  {
   "name": "Basic LLM Chain",
   "type": "@n8n/n8n-nodes-langchain.chainLlm",
   "typeVersion": 1.7,
   "position": [
    260,
    0
   ],
   "parameters": {
    "promptType": "define",
    "text": "직접 작성한 가상 상품 데이터입니다. 상품은 mug, 수량은 3, 가격은 5000입니다. product, qty, price 세 필드로 JSON 객체 한 줄만 출력하세요. Markdown 코드블록이나 설명 없이 반드시 {로 시작하세요. 값은 원문 그대로 옮기세요.",
    "hasOutputParser": true
   },
   "retryOnFail": false
  },
  {
   "name": "Main Chat Model · 8 tokens",
   "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
   "typeVersion": 1.2,
   "position": [
    150,
    220
   ],
   "parameters": {
    "model": {
     "__rl": true,
     "mode": "list",
     "value": "gpt-4.1-mini",
     "cachedResultName": "gpt-4.1-mini"
    },
    "options": {
     "maxTokens": 8,
     "temperature": 0,
     "maxRetries": 0
    }
   },
   "retryOnFail": false
  },
  {
   "name": "Auto-fixing Output Parser",
   "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
   "typeVersion": 1,
   "position": [
    450,
    220
   ],
   "parameters": {
    "options": {}
   }
  },
  {
   "name": "Repair Chat Model · 128 tokens",
   "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
   "typeVersion": 1.2,
   "position": [
    350,
    440
   ],
   "parameters": {
    "model": {
     "__rl": true,
     "mode": "list",
     "value": "gpt-4.1-mini",
     "cachedResultName": "gpt-4.1-mini"
    },
    "options": {
     "maxTokens": 128,
     "temperature": 0,
     "maxRetries": 0
    }
   },
   "retryOnFail": false
  },
  {
   "name": "Structured Output Parser",
   "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
   "typeVersion": 1.2,
   "position": [
    600,
    440
   ],
   "parameters": {
    "schemaType": "manual",
    "inputSchema": "{\"type\":\"object\",\"properties\":{\"product\":{\"type\":\"string\"},\"qty\":{\"type\":\"number\"},\"price\":{\"type\":\"number\"}},\"required\":[\"product\",\"qty\",\"price\"],\"additionalProperties\":false}",
    "autoFix": false
   }
  }
 ],
 "connections": {
  "Run manually": {
   "main": [
    [
     {
      "node": "Basic LLM Chain",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "Main Chat Model · 8 tokens": {
   "ai_languageModel": [
    [
     {
      "node": "Basic LLM Chain",
      "type": "ai_languageModel",
      "index": 0
     }
    ]
   ]
  },
  "Auto-fixing Output Parser": {
   "ai_outputParser": [
    [
     {
      "node": "Basic LLM Chain",
      "type": "ai_outputParser",
      "index": 0
     }
    ]
   ]
  },
  "Repair Chat Model · 128 tokens": {
   "ai_languageModel": [
    [
     {
      "node": "Auto-fixing Output Parser",
      "type": "ai_languageModel",
      "index": 0
     }
    ]
   ]
  },
  "Structured Output Parser": {
   "ai_outputParser": [
    [
     {
      "node": "Auto-fixing Output Parser",
      "type": "ai_outputParser",
      "index": 0
     }
    ]
   ]
  }
 },
 "settings": {
  "executionOrder": "v1",
  "timezone": "Asia/Seoul"
 },
 "meta": {
  "templateCredsSetupCompleted": false,
  "source": "datapopcorn.ai/workflow/nodes"
 }
}