{
  "name": "EE-Solver \ubb38\uc81c \ud480\uc774",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "ee-solve",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "trigger",
      "name": "Webhook \ud2b8\ub9ac\uac70",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://localhost:8100/solve",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ question: $json.body.question, image: $json.body.image || null, mime_type: $json.body.mime_type || 'image/png', rag_context: $json.body.rag_context || [], rag_enabled: $json.body.rag_enabled !== undefined ? $json.body.rag_enabled : true }) }}",
        "options": {
          "timeout": 120000
        }
      },
      "id": "ee-solver",
      "name": "EE-Solver API \ud638\ucd9c",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        480,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ JSON.stringify($json) }}",
        "options": {}
      },
      "id": "response",
      "name": "\uc751\ub2f5 \ubc18\ud658",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [
        720,
        300
      ]
    }
  ],
  "connections": {
    "Webhook \ud2b8\ub9ac\uac70": {
      "main": [
        [
          {
            "node": "EE-Solver API \ud638\ucd9c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "EE-Solver API \ud638\ucd9c": {
      "main": [
        [
          {
            "node": "\uc751\ub2f5 \ubc18\ud658",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}