{
  "name": "Retrieve answers from Knowledge Base with InfraNodus GraphRAG chatbot",
  "nodes": [
    {
      "id": "27560407-0866-44b2-9605-3841fc0c85d7",
      "name": "Get a response from knowledge base",
      "type": "n8n-nodes-infranodus.infranodus",
      "position": [
        -32,
        96
      ]
    },
    {
      "id": "170242b2-c5ba-4963-9b2a-87855bb625b9",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -368,
        -32
      ]
    },
    {
      "id": "665b35c5-2c21-402b-8e96-bd6be2147707",
      "name": "Respond to Chat",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        336,
        -32
      ]
    },
    {
      "id": "b3450782-cf52-4166-9a41-c2175dbe3cc9",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -368,
        176
      ]
    },
    {
      "id": "ad77cb77-69b6-44f3-9ec6-00ee0cc78a0b",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        336,
        192
      ]
    },
    {
      "id": "d268d3e7-6377-4dcc-9857-5d5285518947",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -256
      ],
      "parameters": {
        "width": 288,
        "height": 640,
        "content": "## 3. Show response to the user\n\nThe response obtained using InfraNodus GraphRAG is then shown to the user.\n"
      }
    },
    {
      "id": "19ef0e02-4d95-442e-b271-8fa35c4e80a2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        -256
      ],
      "parameters": {
        "width": 288,
        "height": 624,
        "content": "## 2. Query the Knowledge Base\n\nUse the [InfraNodus GraphRAG node](https://n8n.io/integrations/infranodus-graph-rag/) to generate an answer to your query. No need to add vector store or additional mod"
      }
    },
    {
      "id": "b85b7a9a-1ca1-4890-9b71-14b3b27400ed",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -448,
        -256
      ],
      "parameters": {
        "width": 256,
        "height": 624,
        "content": "## 1. AI Chat Trigger\n\nUse the n8n built-in chat for testing and then replace this node with a Webhook node and expose to your users via the embeddable [n8n Chat Widget](https://n8n-chat-widget.com)."
      }
    },
    {
      "id": "cc846e41-2088-4c48-9657-a8eb2019f185",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -256
      ],
      "parameters": {
        "width": 624,
        "height": 624,
        "content": "## Basic AI Chatbot Tutorial\n\n- No vector store needed\n- Uses GraphRAG and custom ontology for responses\n\n### Learn how to set up a simple AI chatbot without vector store and complex AI agent setups i"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Get a response from knowledge base",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Get a response from knowledge base",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a response from knowledge base": {
      "main": [
        [
          {
            "node": "Respond to Chat",
            "type": "main",
            "index": 0
          },
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}