n8n-free-templates/Energy/battery_health_monitor.json

299 lines
5.8 KiB
JSON
Raw Normal View History

2025-05-19 01:08:15 -05:00
{
"name": "Battery Health Monitor",
"nodes": [
{
"parameters": {
"content": "## Battery Health Monitor",
"height": 520,
"width": 1100
},
"id": "8e490880-8ec5-4833-87b2-675e5774a36e",
"name": "Sticky",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-500,
-250
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "battery_health_monitor"
},
"id": "eae8288b-f1c3-4b83-acf0-733e84ee8f1c",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
-300,
0
]
},
{
"parameters": {
"chunkSize": 400,
"chunkOverlap": 40
},
"id": "9839c629-fadc-4560-9db3-f3d4f3434b98",
"name": "Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
-100,
0
]
},
{
"parameters": {
"model": "default"
},
"id": "a3f4a4c9-f7f1-41e0-9647-c1f3a98f2aab",
"name": "Embeddings",
"type": "@n8n/n8n-nodes-langchain.embeddingsHuggingFace",
"typeVersion": 1,
"position": [
100,
0
],
"credentials": {
"huggingFaceApi": {
"id": "HF_API",
"name": "HuggingFace"
}
}
},
{
"parameters": {
"mode": "insert",
"indexName": "battery_health_monitor"
},
"id": "f712aa1b-a9c2-4cff-a74c-c60a3839c172",
"name": "Insert",
"type": "@n8n/n8n-nodes-langchain.vectorStoreRedis",
"typeVersion": 1,
"position": [
300,
0
],
"credentials": {
"redisApi": {
"id": "REDIS_API",
"name": "Redis account"
}
}
},
{
"parameters": {
"indexName": "battery_health_monitor"
},
"id": "0211e7eb-acd7-4d06-bf54-d86f8f9d2384",
"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": "f0bb0826-cf8d-4585-ad2f-0fd09e9d7bc7",
"name": "Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"typeVersion": 1,
"position": [
480,
-180
]
},
{
"parameters": {},
"id": "30239060-9fc8-49ba-a0f4-a1b7b06d0bee",
"name": "Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
480,
-40
]
},
{
"parameters": {},
"id": "286ce6ac-cc15-4c15-a5d9-c29d36b79eca",
"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": "983b0f02-ff0a-497b-b0da-9152f7e4d142",
"name": "Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1,
"position": [
760,
-40
]
},
{
"parameters": {
"operation": "append",
"documentId": "SHEET_ID",
"sheetName": "Log"
},
"id": "b549d047-5e96-4c29-8884-1dfad8414857",
"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"
}
}