DOCS/workflow/_archive/rag_upload_indexing_pipeline.json
happybell80 45847403fe docs: workflow Phase 1 정리 — 레거시 이동, n8n 제거, IP 하드코딩 제거
- 레거시 .md 2건(slack_basic_dialogue, service_health_check)을 _archive/로 이동
- n8n .json 파일 18건을 _archive/로 이동
- README.md 전면 재작성: n8n 전제 제거, 현행 아키텍처(APScheduler DB + SKILL.md) 반영
- 구 IP(192.168.219.52)를 localhost로 교체 (infrastructure-ssot-principle 준수)

Refs: DOCS#8

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 07:48:39 +09:00

84 lines
2.4 KiB
JSON

{
"name": "robeing-rag-upload-indexing-pipeline",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "rag/upload-index",
"responseMode": "responseNode",
"options": {}
},
"id": "rag-up-001",
"name": "Webhook In",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [200, 240]
},
{
"parameters": {
"jsCode": "const body = $json.body || {};\nreturn {\n team_id: body.team_id,\n file_url: body.file_url || '',\n file_name: body.file_name || '',\n metadata: body.metadata || {},\n request_body: body\n};"
},
"id": "rag-up-002",
"name": "Normalize Upload Payload",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [440, 240]
},
{
"parameters": {
"method": "POST",
"url": "=http://192.168.219.52:8508/api/upload",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "X-User-Id",
"value": "=system"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ $json.request_body }}",
"options": {
"response": {
"response": {
"fullResponse": true
}
},
"timeout": 120000
}
},
"id": "rag-up-003",
"name": "Call skill-rag-file Upload",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [690, 240]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ $json.body || $json }}",
"options": {}
},
"id": "rag-up-004",
"name": "Return Response",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [930, 240]
}
],
"connections": {
"Webhook In": { "main": [[{ "node": "Normalize Upload Payload", "type": "main", "index": 0 }]] },
"Normalize Upload Payload": { "main": [[{ "node": "Call skill-rag-file Upload", "type": "main", "index": 0 }]] },
"Call skill-rag-file Upload": { "main": [[{ "node": "Return Response", "type": "main", "index": 0 }]] }
},
"settings": {},
"pinData": {},
"meta": { "templateCredsSetupCompleted": true, "instanceId": "robeing-rag" }
}