{
  "name": "Enhance AI chatbot responses with InfraNodus knowledge graph reasoning",
  "nodes": [
    {
      "id": "2568cca8-643d-48cd-969a-eccf267dd000",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -512,
        0
      ]
    },
    {
      "id": "92d3bec1-b54d-43c8-8ac2-1e11d92135cb",
      "name": "Prompt Augmented with Reasoning Ontology",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -16,
        0
      ]
    },
    {
      "id": "cb908d48-e575-4844-a026-aa95d0655935",
      "name": "Ask the Knowledge Base",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        608,
        0
      ]
    },
    {
      "id": "401b9dc0-c51e-4fe9-87cd-be393c5bd66e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2592,
        -976
      ],
      "parameters": {
        "width": 540,
        "height": 760,
        "content": "## AI Chatbot Agent with Experts\n\n### Uses the InfraNodus knowledge graphs and its Graph RAG to retrieve relevant information.\n\nUse your [InfraNodus graph](https://infranodus.com) as the knowledge bas"
      }
    },
    {
      "id": "8f70c71d-84bc-43cd-a13c-550ca6da336a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -32
      ],
      "parameters": {
        "width": 520,
        "height": 1220,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## 2. Reasoning Expert Reformulates the User's Query\n\n### Create an InfraNodus graph with a reasoning ontology.  This node will then provide the reasoning logic to your LLM to reformu"
      }
    },
    {
      "id": "c6d16d77-1aed-4fa8-a7aa-fb7fc6974469",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -32
      ],
      "parameters": {
        "width": 520,
        "height": 1216,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## 3. The augmented query is sent to the knowledge base and the response is retrieved using GraphRAG\n\nNow that the query is augmented with domain-specific knowledge, you can send it b"
      }
    },
    {
      "id": "3d1fe3e7-dbd5-4b13-a62c-97ee5fa42046",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -48
      ],
      "parameters": {
        "width": null,
        "height": 768,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## 1. Trigger the chat and send a message\n\nYou can also make this node publicly available via a URL and embed it on a website or make it available via a Telegram node that is activate"
      }
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "Prompt Augmented with Reasoning Ontology",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prompt Augmented with Reasoning Ontology": {
      "main": [
        [
          {
            "node": "Ask the Knowledge Base",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}