deploy: Dockerfile, Compose pro Rolle, LiteLLM, Prometheus/Alertmanager, Canary-Prober, n8n-Workflows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"name": "knaster: Pflege-Agent (Chat)",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"public": false,
|
||||
"options": {
|
||||
"responseMode": "lastNode"
|
||||
}
|
||||
},
|
||||
"id": "ef50a82c-c64a-5a2e-b380-f40ae2a7f738",
|
||||
"name": "Chat",
|
||||
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
|
||||
"typeVersion": 1.1,
|
||||
"position": [
|
||||
0,
|
||||
300
|
||||
],
|
||||
"webhookId": "f819ed24-d095-5120-b2f2-e996135967e1"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "fecd0058-75b7-569f-8970-e4647b315631",
|
||||
"name": "router_url",
|
||||
"value": "http://router:8080",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"id": "a08a0680-3d4b-5845-8693-86627a2aaeb4",
|
||||
"name": "Konfiguration",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 3.4,
|
||||
"position": [
|
||||
220,
|
||||
300
|
||||
],
|
||||
"notes": "Nach dem Import anpassen. Credential 'knaster-router' = Header Auth: Authorization / Bearer <KNASTER_API_TOKEN>"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"method": "POST",
|
||||
"url": "={{ $('Konfiguration').item.json.router_url }}/v1/maintenance/command",
|
||||
"authentication": "genericCredentialType",
|
||||
"genericAuthType": "httpHeaderAuth",
|
||||
"sendBody": true,
|
||||
"specifyBody": "json",
|
||||
"jsonBody": "={{ JSON.stringify({ text: $('Chat').item.json.chatInput, session: $('Chat').item.json.sessionId, user: 'n8n-chat' }) }}",
|
||||
"options": {
|
||||
"timeout": 60000
|
||||
}
|
||||
},
|
||||
"id": "4fc64c5d-b22d-5168-a4bb-d56a3c4e1001",
|
||||
"name": "Befehl an Pflege-Agent",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"typeVersion": 4.2,
|
||||
"position": [
|
||||
440,
|
||||
300
|
||||
],
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "",
|
||||
"name": "knaster-router"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "4d75dea4-a1de-51e1-b324-06282f454d47",
|
||||
"name": "output",
|
||||
"value": "={{ $json.text }}",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"id": "ca5fef45-e097-52a6-af88-8d9a6c8d1461",
|
||||
"name": "Antwort",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"typeVersion": 3.4,
|
||||
"position": [
|
||||
660,
|
||||
300
|
||||
]
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Chat": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Konfiguration",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Konfiguration": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Befehl an Pflege-Agent",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Befehl an Pflege-Agent": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Antwort",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"active": false,
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "knaster"
|
||||
},
|
||||
{
|
||||
"name": "hitl"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"description": "cluster-knaster – siehe docs/spec. Import inaktiv, Credentials setzen."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user