{ "name": "Zoning Regulation Checker", "nodes": [ { "parameters": { "content": "## Zoning Regulation Checker", "height": 520, "width": 1100 }, "id": "07d635fb-5ea6-40db-8eb3-477a78c63232", "name": "Sticky", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -500, -250 ] }, { "parameters": { "httpMethod": "POST", "path": "zoning_regulation_checker" }, "id": "3f13da25-c4d9-47c5-b521-2c2e25635ec3", "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -300, 0 ] }, { "parameters": { "chunkSize": 400, "chunkOverlap": 40 }, "id": "e4a8e3ef-15b9-4e2a-876b-1d29f56cd0fa", "name": "Splitter", "type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter", "typeVersion": 1, "position": [ -100, 0 ] }, { "parameters": { "model": "default" }, "id": "b40a547d-4b1c-43b3-9820-732c263ce7fd", "name": "Embeddings", "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi", "typeVersion": 1, "position": [ 100, 0 ], "credentials": { "openAiApi": { "id": "OPENAI_API", "name": "OpenAI" } } }, { "parameters": { "mode": "insert", "indexName": "zoning_regulation_checker" }, "id": "d29b865b-9909-4fc4-8785-9a04eb7eee35", "name": "Insert", "type": "@n8n/n8n-nodes-langchain.vectorStoreRedis", "typeVersion": 1, "position": [ 300, 0 ], "credentials": { "redisApi": { "id": "REDIS_API", "name": "Redis account" } } }, { "parameters": { "indexName": "zoning_regulation_checker" }, "id": "5ffa1b33-c404-4135-b7fc-097a7af026ed", "name": "Query", "type": "@n8n/n8n-nodes-langchain.vectorStoreRedis", "typeVersion": 1, "position": [ 300, -180 ], "credentials": { "redisApi": { "id": "REDIS_API", "name": "Redis account" } } }, { "parameters": { "name": "Redis" }, "id": "b2752bb3-20d7-43dd-83b5-3a9103d7cd46", "name": "Tool", "type": "@n8n/n8n-nodes-langchain.toolVectorStore", "typeVersion": 1, "position": [ 480, -180 ] }, { "parameters": {}, "id": "c6319312-5f09-4f7e-8590-0f2c17a5b88c", "name": "Memory", "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", "typeVersion": 1.3, "position": [ 480, -40 ] }, { "parameters": {}, "id": "6da6b757-2fdf-4f85-8e2a-a1d4e15ec9fc", "name": "Chat", "type": "@n8n/n8n-nodes-langchain.lmChatHf", "typeVersion": 1, "position": [ 480, -340 ], "credentials": { "huggingFaceApi": { "id": "HF_API", "name": "HuggingFace" } } }, { "parameters": { "promptType": "define", "text": "={{ $json }}" }, "id": "b5fda3af-1de8-41ba-a7f1-3f0ac4625110", "name": "Agent", "type": "@n8n/n8n-nodes-langchain.agent", "typeVersion": 1, "position": [ 760, -40 ] }, { "parameters": { "operation": "append", "documentId": "SHEET_ID", "sheetName": "Log" }, "id": "a01be5c7-9426-4835-b2b9-3d03d1b6622b", "name": "Sheet", "type": "n8n-nodes-base.googleSheets", "typeVersion": 4, "position": [ 960, -40 ], "credentials": { "googleSheetsOAuth2Api": { "id": "SHEETS_API", "name": "Sheets" } } } ], "connections": { "Webhook": { "main": [ [ { "node": "Splitter", "type": "main", "index": 0 }, { "node": "Memory", "type": "main", "index": 0 } ] ] }, "Splitter": { "main": [ [ { "node": "Embeddings", "type": "main", "index": 0 } ] ], "ai_textSplitter": [ [ { "node": "Insert", "type": "ai_textSplitter", "index": 0 } ] ] }, "Embeddings": { "ai_embedding": [ [ { "node": "Insert", "type": "ai_embedding", "index": 0 }, { "node": "Query", "type": "ai_embedding", "index": 0 } ] ] }, "Insert": { "ai_document": [ [] ] }, "Query": { "ai_vectorStore": [ [ { "node": "Tool", "type": "ai_vectorStore", "index": 0 } ] ] }, "Tool": { "ai_tool": [ [ { "node": "Agent", "type": "ai_tool", "index": 0 } ] ] }, "Memory": { "ai_memory": [ [ { "node": "Agent", "type": "ai_memory", "index": 0 } ] ] }, "Chat": { "ai_languageModel": [ [ { "node": "Agent", "type": "ai_languageModel", "index": 0 } ] ] }, "Agent": { "main": [ [ { "node": "Sheet", "type": "main", "index": 0 } ] ] } }, "settings": { "executionOrder": "v1" } }