Agentrix212AI commited on
Commit
cc1ec1e
Β·
verified Β·
1 Parent(s): c48f7f9

Upload RAGAgent.json

Browse files
Files changed (1) hide show
  1. Workflows/N8N_Workflows/RAGAgent.json +742 -0
Workflows/N8N_Workflows/RAGAgent.json ADDED
@@ -0,0 +1,742 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "RAGAgent",
3
+ "nodes": [
4
+ {
5
+ "parameters": {
6
+ "pollTimes": {
7
+ "item": [
8
+ {
9
+ "mode": "everyMinute"
10
+ }
11
+ ]
12
+ },
13
+ "triggerOn": "specificFolder",
14
+ "folderToWatch": {
15
+ "__rl": true,
16
+ "value": "1tJHh1ZDm34bNfE6ljYH1mpw32WpL67ox",
17
+ "mode": "list",
18
+ "cachedResultName": "RAG Demo Documents",
19
+ "cachedResultUrl": "https://drive.google.com/drive/folders/1tJHh1ZDm34bNfE6ljYH1mpw32WpL67ox"
20
+ },
21
+ "event": "fileCreated",
22
+ "options": {}
23
+ },
24
+ "id": "6a794701-e76e-4d1e-90da-9191975e2e18",
25
+ "name": "πŸ“ New Document Added",
26
+ "type": "n8n-nodes-base.googleDriveTrigger",
27
+ "typeVersion": 1,
28
+ "position": [
29
+ 60,
30
+ 100
31
+ ],
32
+ "credentials": {
33
+ "googleDriveOAuth2Api": {
34
+ "id": "a0H1R45zFS4MeKDk",
35
+ "name": "Google Drive account"
36
+ }
37
+ }
38
+ },
39
+ {
40
+ "parameters": {
41
+ "assignments": {
42
+ "assignments": [
43
+ {
44
+ "id": "file-metadata",
45
+ "name": "file_id",
46
+ "value": "={{ $json.id }}",
47
+ "type": "string"
48
+ },
49
+ {
50
+ "id": "file-name",
51
+ "name": "file_name",
52
+ "value": "={{ $json.name }}",
53
+ "type": "string"
54
+ },
55
+ {
56
+ "id": "file-type",
57
+ "name": "file_type",
58
+ "value": "={{ $json.mimeType }}",
59
+ "type": "string"
60
+ },
61
+ {
62
+ "id": "file-url",
63
+ "name": "file_url",
64
+ "value": "={{ $json.webViewLink }}",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "id": "processed-time",
69
+ "name": "processed_at",
70
+ "value": "={{ new Date().toISOString() }}",
71
+ "type": "string"
72
+ }
73
+ ]
74
+ },
75
+ "options": {}
76
+ },
77
+ "id": "014159be-b8e0-4ee5-bcc7-b848ac8e9aed",
78
+ "name": "πŸ“‹ Extract File Info",
79
+ "type": "n8n-nodes-base.set",
80
+ "typeVersion": 3.4,
81
+ "position": [
82
+ 260,
83
+ 100
84
+ ]
85
+ },
86
+ {
87
+ "parameters": {
88
+ "operation": "download",
89
+ "fileId": {
90
+ "__rl": true,
91
+ "value": "={{ $json.file_id }}",
92
+ "mode": "id"
93
+ },
94
+ "options": {
95
+ "googleFileConversion": {
96
+ "conversion": {
97
+ "docsToFormat": "text/plain"
98
+ }
99
+ }
100
+ }
101
+ },
102
+ "id": "0afe2ff1-20ee-4be1-8c87-b09e9dd2e076",
103
+ "name": "⬇️ Download Document",
104
+ "type": "n8n-nodes-base.googleDrive",
105
+ "typeVersion": 3,
106
+ "position": [
107
+ 440,
108
+ 100
109
+ ],
110
+ "credentials": {
111
+ "googleDriveOAuth2Api": {
112
+ "id": "a0H1R45zFS4MeKDk",
113
+ "name": "Google Drive account"
114
+ }
115
+ }
116
+ },
117
+ {
118
+ "parameters": {
119
+ "rules": {
120
+ "values": [
121
+ {
122
+ "conditions": {
123
+ "options": {
124
+ "caseSensitive": true,
125
+ "leftValue": "",
126
+ "typeValidation": "strict",
127
+ "version": 2
128
+ },
129
+ "conditions": [
130
+ {
131
+ "leftValue": "={{ $json.file_type }}",
132
+ "rightValue": "application/pdf",
133
+ "operator": {
134
+ "type": "string",
135
+ "operation": "equals"
136
+ },
137
+ "id": "is-pdf"
138
+ }
139
+ ],
140
+ "combinator": "and"
141
+ },
142
+ "renameOutput": true,
143
+ "outputKey": "pdf"
144
+ },
145
+ {
146
+ "conditions": {
147
+ "options": {
148
+ "caseSensitive": true,
149
+ "leftValue": "",
150
+ "typeValidation": "strict",
151
+ "version": 2
152
+ },
153
+ "conditions": [
154
+ {
155
+ "id": "is-text",
156
+ "leftValue": "={{ $json.file_type }}",
157
+ "rightValue": "text",
158
+ "operator": {
159
+ "type": "string",
160
+ "operation": "contains"
161
+ }
162
+ }
163
+ ],
164
+ "combinator": "and"
165
+ },
166
+ "renameOutput": true,
167
+ "outputKey": "text"
168
+ }
169
+ ]
170
+ },
171
+ "options": {}
172
+ },
173
+ "id": "3d154fd8-a5d8-49f4-b9db-e22ca81fc186",
174
+ "name": "πŸ”€ File Type Router",
175
+ "type": "n8n-nodes-base.switch",
176
+ "typeVersion": 3.2,
177
+ "position": [
178
+ 620,
179
+ 100
180
+ ]
181
+ },
182
+ {
183
+ "parameters": {
184
+ "operation": "pdf",
185
+ "options": {}
186
+ },
187
+ "id": "7ba92ae5-3fcb-414f-858c-7382ec208f8f",
188
+ "name": "πŸ“„ Extract PDF Text",
189
+ "type": "n8n-nodes-base.extractFromFile",
190
+ "typeVersion": 1,
191
+ "position": [
192
+ 820,
193
+ 0
194
+ ]
195
+ },
196
+ {
197
+ "parameters": {
198
+ "operation": "text",
199
+ "options": {}
200
+ },
201
+ "id": "59f4b5f1-6979-4d66-9197-be056053aa58",
202
+ "name": "πŸ“ Extract Text Content",
203
+ "type": "n8n-nodes-base.extractFromFile",
204
+ "typeVersion": 1,
205
+ "position": [
206
+ 820,
207
+ 200
208
+ ]
209
+ },
210
+ {
211
+ "parameters": {},
212
+ "id": "a0aab88a-287c-4493-b398-5578f1a28264",
213
+ "name": "πŸ”— Merge Content",
214
+ "type": "n8n-nodes-base.merge",
215
+ "typeVersion": 3.1,
216
+ "position": [
217
+ 1020,
218
+ 100
219
+ ]
220
+ },
221
+ {
222
+ "parameters": {
223
+ "chunkSize": 200,
224
+ "options": {}
225
+ },
226
+ "id": "1128acda-35f9-4c90-be7b-a82bb768a9fc",
227
+ "name": "βœ‚οΈ Smart Text Splitting",
228
+ "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
229
+ "typeVersion": 1,
230
+ "position": [
231
+ 1260,
232
+ 440
233
+ ]
234
+ },
235
+ {
236
+ "parameters": {
237
+ "options": {}
238
+ },
239
+ "id": "5fa6ae27-0d46-4d4a-b64a-fe8a74901986",
240
+ "name": "🧠 Create Embeddings",
241
+ "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
242
+ "typeVersion": 1.2,
243
+ "position": [
244
+ 1120,
245
+ 280
246
+ ],
247
+ "credentials": {
248
+ "openAiApi": {
249
+ "id": "jJ43azhw4WsPfIMK",
250
+ "name": "OpenAi account"
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "parameters": {
256
+ "options": {
257
+ "metadata": {
258
+ "metadataValues": [
259
+ {
260
+ "name": "file_name",
261
+ "value": "={{ $('πŸ“‹ Extract File Info').item.json.file_name }}"
262
+ },
263
+ {
264
+ "name": "file_id",
265
+ "value": "={{ $('πŸ“‹ Extract File Info').item.json.file_id }}"
266
+ },
267
+ {
268
+ "name": "file_url",
269
+ "value": "={{ $('πŸ“‹ Extract File Info').item.json.file_url }}"
270
+ },
271
+ {
272
+ "name": "processed_at",
273
+ "value": "={{ $('πŸ“‹ Extract File Info').item.json.processed_at }}"
274
+ },
275
+ {
276
+ "name": "source",
277
+ "value": "google_drive_upload"
278
+ }
279
+ ]
280
+ }
281
+ }
282
+ },
283
+ "id": "8933562e-ae4a-472a-a4d3-7fcbbdf1ee1a",
284
+ "name": "πŸ“š Prepare for RAG",
285
+ "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
286
+ "typeVersion": 1,
287
+ "position": [
288
+ 1300,
289
+ 300
290
+ ]
291
+ },
292
+ {
293
+ "parameters": {
294
+ "mode": "insert",
295
+ "tableName": {
296
+ "__rl": true,
297
+ "value": "instagram_rag_demo",
298
+ "mode": "list",
299
+ "cachedResultName": "instagram_rag_demo"
300
+ },
301
+ "options": {
302
+ "queryName": "match_instagram_rag_demo"
303
+ }
304
+ },
305
+ "id": "80d0904f-70c9-48b0-ad63-8f3f53273751",
306
+ "name": "πŸ—„οΈ Save to Vector Database",
307
+ "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
308
+ "typeVersion": 1.1,
309
+ "position": [
310
+ 1180,
311
+ 100
312
+ ],
313
+ "credentials": {
314
+ "supabaseApi": {
315
+ "id": "1ZzvfQSJQ1zcYXIe",
316
+ "name": "Supabase account"
317
+ }
318
+ }
319
+ },
320
+ {
321
+ "parameters": {
322
+ "chatId": "1232923238",
323
+ "text": "=βœ… **New Document Added to RAG System!**\n\nπŸ“„ **File:** {{ $('πŸ“‹ Extract File Info').item.json.file_name }}\nπŸ”— **Type:** {{ $('πŸ“‹ Extract File Info').item.json.file_type }}\nπŸ“Š **Processed:** {{ $('πŸ“‹ Extract File Info').item.json.processed_at }}\n\n🧠 **Your AI can now answer questions about this document!**\n\nTry asking about: \"{{ $('πŸ“‹ Extract File Info').item.json.file_name }}\"",
324
+ "additionalFields": {
325
+ "parse_mode": "HTML"
326
+ }
327
+ },
328
+ "id": "dba70334-6012-4df0-a9c7-0b04950e2cde",
329
+ "name": "βœ… Success Notification",
330
+ "type": "n8n-nodes-base.telegram",
331
+ "typeVersion": 1.2,
332
+ "position": [
333
+ 1740,
334
+ 100
335
+ ],
336
+ "webhookId": "f16de2bc-091f-4910-871c-c614ef741ac3",
337
+ "credentials": {
338
+ "telegramApi": {
339
+ "id": "Cg9dM7bNcPpXNS5R",
340
+ "name": "Telegram account"
341
+ }
342
+ }
343
+ },
344
+ {
345
+ "parameters": {
346
+ "options": {}
347
+ },
348
+ "id": "e09578d0-8f50-4339-b556-df1e36978232",
349
+ "name": "πŸ’¬ Chat Interface",
350
+ "type": "@n8n/n8n-nodes-langchain.chatTrigger",
351
+ "typeVersion": 1.1,
352
+ "position": [
353
+ 140,
354
+ -440
355
+ ],
356
+ "webhookId": "instagram-rag-demo-chat"
357
+ },
358
+ {
359
+ "parameters": {
360
+ "promptType": "define",
361
+ "text": "={{ $json.chatInput }}",
362
+ "options": {
363
+ "systemMessage": "You are a helpful AI assistant with access to a knowledge base of documents. Use the RAG tool to search for relevant information from uploaded documents to answer user questions.\n\nWhen answering:\n1. Always search your knowledge base first using the RAG tool\n2. Provide specific, accurate answers based on the documents\n3. If information isn't in your knowledge base, say so clearly\n4. Include the document name/source when referencing information\n5. Be concise but comprehensive\n\nYou have access to documents that users have uploaded, and you can retrieve the most relevant information to answer their questions accurately."
364
+ }
365
+ },
366
+ "id": "de299b3b-88e2-4059-8904-1f8eee203d9a",
367
+ "name": "πŸ€– RAG-Powered AI Agent",
368
+ "type": "@n8n/n8n-nodes-langchain.agent",
369
+ "typeVersion": 1.9,
370
+ "position": [
371
+ 700,
372
+ -560
373
+ ]
374
+ },
375
+ {
376
+ "parameters": {
377
+ "model": {
378
+ "__rl": true,
379
+ "value": "gpt-4o-mini",
380
+ "mode": "list",
381
+ "cachedResultName": "gpt-4o-mini"
382
+ },
383
+ "options": {
384
+ "maxTokens": 500,
385
+ "temperature": 0.2
386
+ }
387
+ },
388
+ "id": "ab1d905b-5f2e-4c83-a499-200788111ad9",
389
+ "name": "🧠 Smart Chat Model",
390
+ "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
391
+ "typeVersion": 1.2,
392
+ "position": [
393
+ 560,
394
+ -360
395
+ ],
396
+ "credentials": {
397
+ "openAiApi": {
398
+ "id": "jJ43azhw4WsPfIMK",
399
+ "name": "OpenAi account"
400
+ }
401
+ }
402
+ },
403
+ {
404
+ "parameters": {
405
+ "mode": "retrieve-as-tool",
406
+ "toolName": "knowledge_search",
407
+ "toolDescription": "Search through uploaded documents to find relevant information to answer user questions. Use this tool whenever users ask about specific topics or documents.",
408
+ "tableName": {
409
+ "__rl": true,
410
+ "value": "instagram_rag_demo",
411
+ "mode": "list",
412
+ "cachedResultName": "instagram_rag_demo"
413
+ },
414
+ "topK": 5,
415
+ "options": {
416
+ "queryName": "match_instagram_rag_demo"
417
+ }
418
+ },
419
+ "id": "20051289-d6ab-4bfa-bb44-5cbf8f707cd8",
420
+ "name": "πŸ” RAG Knowledge Retrieval",
421
+ "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
422
+ "typeVersion": 1.1,
423
+ "position": [
424
+ 1060,
425
+ -360
426
+ ],
427
+ "credentials": {
428
+ "supabaseApi": {
429
+ "id": "1ZzvfQSJQ1zcYXIe",
430
+ "name": "Supabase account"
431
+ }
432
+ }
433
+ },
434
+ {
435
+ "parameters": {
436
+ "options": {}
437
+ },
438
+ "id": "e24538ca-3e95-4359-ba56-f8de279f4773",
439
+ "name": "🧠 Chat Embeddings",
440
+ "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
441
+ "typeVersion": 1.2,
442
+ "position": [
443
+ 1060,
444
+ -220
445
+ ],
446
+ "credentials": {
447
+ "openAiApi": {
448
+ "id": "jJ43azhw4WsPfIMK",
449
+ "name": "OpenAi account"
450
+ }
451
+ }
452
+ },
453
+ {
454
+ "parameters": {
455
+ "sessionIdType": "customKey",
456
+ "sessionKey": "instagram_demo_{{ $json.sessionId }}",
457
+ "contextWindowLength": 10
458
+ },
459
+ "id": "2cd8eabd-94fd-4c26-a4b6-15165016b436",
460
+ "name": "🧠 Chat Memory",
461
+ "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
462
+ "typeVersion": 1.2,
463
+ "position": [
464
+ 740,
465
+ -360
466
+ ]
467
+ },
468
+ {
469
+ "parameters": {
470
+ "content": "## πŸ“ DOCUMENT PROCESSING PIPELINE\n\nThis section automatically processes new documents:\n1. Monitors Google Drive folder\n2. Downloads and extracts text\n3. Creates embeddings\n4. Stores in vector database\n\n",
471
+ "height": 240,
472
+ "width": 600,
473
+ "color": 3
474
+ },
475
+ "type": "n8n-nodes-base.stickyNote",
476
+ "position": [
477
+ 140,
478
+ 320
479
+ ],
480
+ "typeVersion": 1,
481
+ "id": "784b3d35-d47f-4c95-b495-066694e9ebb8",
482
+ "name": "Sticky Note"
483
+ },
484
+ {
485
+ "parameters": {
486
+ "content": "## πŸ’¬ RAG CHAT INTERFACE\n\nUsers can chat and get answers based on uploaded documents:\n1. User asks a question\n2. AI searches vector database\n3. Retrieves relevant context\n4. Provides accurate, source-based answers\n\n",
487
+ "height": 240,
488
+ "width": 600,
489
+ "color": 5
490
+ },
491
+ "type": "n8n-nodes-base.stickyNote",
492
+ "position": [
493
+ -100,
494
+ -280
495
+ ],
496
+ "typeVersion": 1,
497
+ "id": "9725e583-cd39-42f9-a83a-f6825205bfc9",
498
+ "name": "Sticky Note1"
499
+ },
500
+ {
501
+ "parameters": {},
502
+ "type": "@n8n/n8n-nodes-langchain.toolThink",
503
+ "typeVersion": 1,
504
+ "position": [
505
+ 920,
506
+ -340
507
+ ],
508
+ "id": "4b004ed1-e399-43df-b72d-e89a8948da84",
509
+ "name": "Think"
510
+ },
511
+ {
512
+ "parameters": {},
513
+ "type": "n8n-nodes-base.limit",
514
+ "typeVersion": 1,
515
+ "position": [
516
+ 1580,
517
+ 100
518
+ ],
519
+ "id": "543764bf-ff87-4655-94b8-6003d258201c",
520
+ "name": "Limit"
521
+ }
522
+ ],
523
+ "pinData": {},
524
+ "connections": {
525
+ "πŸ“ New Document Added": {
526
+ "main": [
527
+ [
528
+ {
529
+ "node": "πŸ“‹ Extract File Info",
530
+ "type": "main",
531
+ "index": 0
532
+ }
533
+ ]
534
+ ]
535
+ },
536
+ "πŸ“‹ Extract File Info": {
537
+ "main": [
538
+ [
539
+ {
540
+ "node": "⬇️ Download Document",
541
+ "type": "main",
542
+ "index": 0
543
+ }
544
+ ]
545
+ ]
546
+ },
547
+ "⬇️ Download Document": {
548
+ "main": [
549
+ [
550
+ {
551
+ "node": "πŸ”€ File Type Router",
552
+ "type": "main",
553
+ "index": 0
554
+ }
555
+ ]
556
+ ]
557
+ },
558
+ "πŸ”€ File Type Router": {
559
+ "main": [
560
+ [
561
+ {
562
+ "node": "πŸ“„ Extract PDF Text",
563
+ "type": "main",
564
+ "index": 0
565
+ }
566
+ ],
567
+ [
568
+ {
569
+ "node": "πŸ“ Extract Text Content",
570
+ "type": "main",
571
+ "index": 0
572
+ }
573
+ ]
574
+ ]
575
+ },
576
+ "πŸ“„ Extract PDF Text": {
577
+ "main": [
578
+ [
579
+ {
580
+ "node": "πŸ”— Merge Content",
581
+ "type": "main",
582
+ "index": 0
583
+ }
584
+ ]
585
+ ]
586
+ },
587
+ "πŸ“ Extract Text Content": {
588
+ "main": [
589
+ [
590
+ {
591
+ "node": "πŸ”— Merge Content",
592
+ "type": "main",
593
+ "index": 1
594
+ }
595
+ ]
596
+ ]
597
+ },
598
+ "πŸ“š Prepare for RAG": {
599
+ "ai_document": [
600
+ [
601
+ {
602
+ "node": "πŸ—„οΈ Save to Vector Database",
603
+ "type": "ai_document",
604
+ "index": 0
605
+ }
606
+ ]
607
+ ]
608
+ },
609
+ "βœ‚οΈ Smart Text Splitting": {
610
+ "ai_textSplitter": [
611
+ [
612
+ {
613
+ "node": "πŸ“š Prepare for RAG",
614
+ "type": "ai_textSplitter",
615
+ "index": 0
616
+ }
617
+ ]
618
+ ]
619
+ },
620
+ "🧠 Create Embeddings": {
621
+ "ai_embedding": [
622
+ [
623
+ {
624
+ "node": "πŸ—„οΈ Save to Vector Database",
625
+ "type": "ai_embedding",
626
+ "index": 0
627
+ }
628
+ ]
629
+ ]
630
+ },
631
+ "πŸ—„οΈ Save to Vector Database": {
632
+ "main": [
633
+ [
634
+ {
635
+ "node": "Limit",
636
+ "type": "main",
637
+ "index": 0
638
+ }
639
+ ]
640
+ ]
641
+ },
642
+ "πŸ’¬ Chat Interface": {
643
+ "main": [
644
+ [
645
+ {
646
+ "node": "πŸ€– RAG-Powered AI Agent",
647
+ "type": "main",
648
+ "index": 0
649
+ }
650
+ ]
651
+ ]
652
+ },
653
+ "🧠 Smart Chat Model": {
654
+ "ai_languageModel": [
655
+ [
656
+ {
657
+ "node": "πŸ€– RAG-Powered AI Agent",
658
+ "type": "ai_languageModel",
659
+ "index": 0
660
+ }
661
+ ]
662
+ ]
663
+ },
664
+ "πŸ” RAG Knowledge Retrieval": {
665
+ "ai_tool": [
666
+ [
667
+ {
668
+ "node": "πŸ€– RAG-Powered AI Agent",
669
+ "type": "ai_tool",
670
+ "index": 0
671
+ }
672
+ ]
673
+ ]
674
+ },
675
+ "🧠 Chat Embeddings": {
676
+ "ai_embedding": [
677
+ [
678
+ {
679
+ "node": "πŸ” RAG Knowledge Retrieval",
680
+ "type": "ai_embedding",
681
+ "index": 0
682
+ }
683
+ ]
684
+ ]
685
+ },
686
+ "🧠 Chat Memory": {
687
+ "ai_memory": [
688
+ [
689
+ {
690
+ "node": "πŸ€– RAG-Powered AI Agent",
691
+ "type": "ai_memory",
692
+ "index": 0
693
+ }
694
+ ]
695
+ ]
696
+ },
697
+ "πŸ”— Merge Content": {
698
+ "main": [
699
+ [
700
+ {
701
+ "node": "πŸ—„οΈ Save to Vector Database",
702
+ "type": "main",
703
+ "index": 0
704
+ }
705
+ ]
706
+ ]
707
+ },
708
+ "Think": {
709
+ "ai_tool": [
710
+ [
711
+ {
712
+ "node": "πŸ€– RAG-Powered AI Agent",
713
+ "type": "ai_tool",
714
+ "index": 0
715
+ }
716
+ ]
717
+ ]
718
+ },
719
+ "Limit": {
720
+ "main": [
721
+ [
722
+ {
723
+ "node": "βœ… Success Notification",
724
+ "type": "main",
725
+ "index": 0
726
+ }
727
+ ]
728
+ ]
729
+ }
730
+ },
731
+ "active": false,
732
+ "settings": {
733
+ "executionOrder": "v1"
734
+ },
735
+ "versionId": "3003109d-828e-4bb4-b02a-332861fffa8b",
736
+ "meta": {
737
+ "templateCredsSetupCompleted": true,
738
+ "instanceId": "cc8fbc6c0e10ac107523cabe2453f0b9216ff0ef0c1f112312039de381e2f175"
739
+ },
740
+ "id": "4G4Qa7BfTH98mExh",
741
+ "tags": []
742
+ }