Système RAG complet avec Qdrant et mise à jour automatique des documents

Avancé

Ceci est unAI RAG, Multimodal AIworkflow d'automatisation du domainecontenant 32 nœuds.Utilise principalement des nœuds comme Set, Wait, GoogleDrive, HttpRequest, ManualTrigger. Construire un système RAG auto-mis à jour avec OpenAI, Google Gemini, Qdrant et Google Drive

Prérequis
  • Informations d'identification Google Drive API
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
  • Clé API OpenAI
  • Informations de connexion au serveur Qdrant
  • Clé API Google Gemini
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "Xof38WtIJ3CpwM2D",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Complete RAG System with autoUpdate documents Using Qdrant",
  "tags": [],
  "nodes": [
    {
      "id": "478c24a7-6e2a-49bb-93ab-84e701b62dd6",
      "name": "Au clic sur 'Tester le workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -448,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "414f3285-3ecb-4ea3-b4f3-b397112da952",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        944,
        480
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "314e5293-b60c-4ac3-9eeb-b4ca66ee6b5c",
      "name": "Chargeur de données par défaut1",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1088,
        480
      ],
      "parameters": {
        "options": {
          "metadata": {
            "metadataValues": [
              {
                "name": "file_id",
                "value": "={{ $('Get files').item.json.id }}"
              },
              {
                "name": "file_name",
                "value": "={{ $('Get files').item.json.name }}"
              }
            ]
          }
        },
        "dataType": "binary",
        "binaryMode": "specificField"
      },
      "typeVersion": 1
    },
    {
      "id": "d4620040-a7c7-43a7-a007-9ee1095a2fb1",
      "name": "Créer une collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -144,
        -48
      ],
      "parameters": {
        "url": "http:///collections/test_sparse",
        "method": "PUT",
        "options": {},
        "jsonBody": "{\n  \"vectors\": {\n    \"size\": 1536,\n    \"distance\": \"Cosine\"  \n  },\n  \"sparse_vectors\": {\n        \"text\": { }\n  },\n  \"shard_number\": 1,  \n  \"replication_factor\": 1,  \n  \"write_consistency_factor\": 1 \n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "b2ba10ce-9557-4c27-b859-fb1df76c30d1",
      "name": "Séparateur de texte récursif",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        1088,
        672
      ],
      "parameters": {
        "options": {},
        "chunkSize": 500,
        "chunkOverlap": 50
      },
      "typeVersion": 1
    },
    {
      "id": "0a940a8e-41b3-4261-9f7c-5e9a6db29bae",
      "name": "Boucle sur les éléments",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        432,
        224
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "058610f3-46aa-43ae-82c1-abf9327cd3da",
      "name": "Embeddings OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        512,
        1424
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "8500aecb-a176-4d7b-98d4-790235fab977",
      "name": "Chargeur de données par défaut",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        640,
        1424
      ],
      "parameters": {
        "options": {
          "metadata": {
            "metadataValues": [
              {
                "name": "file_id",
                "value": "={{ $('Get file').item.json.file_id }}"
              },
              {
                "name": "file_name",
                "value": "={{ $binary.data.fileName}}"
              }
            ]
          }
        },
        "dataType": "binary",
        "binaryMode": "specificField"
      },
      "typeVersion": 1
    },
    {
      "id": "a3212d21-f3ba-4970-b7d4-cdcf91cde2ff",
      "name": "Séparateur de texte récursif1",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        624,
        1632
      ],
      "parameters": {
        "options": {},
        "chunkSize": 500,
        "chunkOverlap": 50
      },
      "typeVersion": 1
    },
    {
      "id": "0561d614-e10f-40ff-8d2a-eb92f23ffd73",
      "name": "Définir file_id",
      "type": "n8n-nodes-base.set",
      "position": [
        -96,
        880
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "b413a226-0641-4ed8-9951-d17b6a6a9a4b",
              "name": "file_id",
              "type": "string",
              "value": "={{ $json.id }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "ce097e48-8cb4-4bb8-a717-1213c6134b42",
      "name": "Vider la collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -144,
        224
      ],
      "parameters": {
        "url": "http://QDRANTURL/collections/COLLECTION/points/delete",
        "method": "POST",
        "options": {},
        "jsonBody": "{\n  \"filter\": {}\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "95ec291c-c9d9-42ef-945d-d06bcd6560c0",
      "name": "Supprimer les points par file_id",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        304,
        768
      ],
      "parameters": {
        "url": "http://QDRANTURL/collections/COLLECTION/points/delete",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"filter\": {\n    \"must\": [\n      {\n          \"key\": \"metadata.file_id\",\n          \"match\": { \"value\": \"{{$json.file_id}}\" }\n        }\n    ]\n  }\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "qhny6r5ql9wwotpn",
          "name": "Qdrant API (Hetzner)"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "eb5dbda9-f67f-4d45-b4a3-fac167d4aef2",
      "name": "Rechercher des fichiers",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        128,
        224
      ],
      "parameters": {
        "filter": {
          "driveId": {
            "__rl": true,
            "mode": "list",
            "value": "My Drive",
            "cachedResultUrl": "https://drive.google.com/drive/my-drive",
            "cachedResultName": "My Drive"
          },
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
            "cachedResultUrl": "https://drive.google.com/drive/folders/1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
            "cachedResultName": "Test Negozio"
          }
        },
        "options": {},
        "resource": "fileFolder"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "a7a0d544-45f5-4f18-8b45-8b0bbdc47c5b",
      "name": "Attendre 5 sec.",
      "type": "n8n-nodes-base.wait",
      "position": [
        1392,
        240
      ],
      "webhookId": "138d379f-88a5-44a1-b45b-1595a05a1eb9",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
      "name": "Mettre à jour le fichier",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        544,
        1232
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "negozio-emporio-verde",
          "cachedResultName": "negozio-emporio-verde"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
      "name": "Insérer un fichier",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        1008,
        240
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "negozio-emporio-verde",
          "cachedResultName": "negozio-emporio-verde"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d65cd402-d2ae-443d-91d0-c5b4979789df",
      "name": "Obtenir le fichier",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        304,
        1232
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.file_id }}"
        },
        "options": {
          "googleFileConversion": {
            "conversion": {
              "docsToFormat": "text/plain"
            }
          }
        },
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "c0214dc1-ee28-40b3-a043-b1cc3465dd7b",
      "name": "Obtenir les fichiers",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        704,
        240
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {
          "googleFileConversion": {
            "conversion": {
              "docsToFormat": "text/plain"
            }
          }
        },
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "970e5ac0-51c9-4300-82a9-4420f152db06",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -416
      ],
      "parameters": {
        "color": 3,
        "width": 840,
        "height": 220,
        "content": "## Complete RAG System with autoUpdate documents Using Qdrant\n\nThis workflow implements a **Retrieval-Augmented Generation (RAG)** system that:\n\n* Stores vectorized documents in **Qdrant**,\n* Retrieves relevant content based on user input,\n* Generates AI answers using **Google Gemini**,\n* Automatically **update documents** (from Google Drive).\n"
      },
      "typeVersion": 1
    },
    {
      "id": "12c6fa79-4b60-45df-a39f-61b8dd834fe8",
      "name": "À la réception d'un message chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -384,
        1984
      ],
      "webhookId": "c9460030-9e23-41c4-9fcd-6c4c7fadf784",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "28373f4f-28b2-49c6-9253-173e33039ea1",
      "name": "Chaîne de questions et réponses",
      "type": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
      "position": [
        -64,
        1984
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.5
    },
    {
      "id": "c126a969-d3ab-4e1f-847d-3366c56134f3",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -176,
        2224
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-1.5-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "0p34rXqIqy8WuoPg",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "5398d1f7-cf4f-4355-bce4-255b48d4d4ea",
      "name": "Récupérateur Vector Store",
      "type": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
      "position": [
        64,
        2272
      ],
      "parameters": {
        "topK": 5
      },
      "typeVersion": 1
    },
    {
      "id": "1c7614d0-6067-4dca-bbd4-e35e52f44374",
      "name": "Qdrant Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        -64,
        2480
      ],
      "parameters": {
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "list",
          "value": "negozio-emporio-verde",
          "cachedResultName": "negozio-emporio-verde"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "iyQ6MQiVaF3VMBmt",
          "name": "QdrantApi account (Hetzner)"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "21bb9ac3-4a70-477f-a404-df90328bff53",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -64,
        2672
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4zwP0MSr8zkNvvV9",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "01922882-5a91-4a0d-b13d-59528467b89b",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1408,
        480
      ],
      "parameters": {
        "width": 520,
        "height": 420,
        "content": "Set as metadata:\n- FILE_ID from Google Drive\n- FILE_NAME from Google Drive\n\n```\n{\n  \"source\": \"blob\",\n  \"blobType\": \"text/plain\",\n  \"loc\": {\n    \"lines\": {\n      \"from\": 1,\n      \"to\": 15\n    }\n  },\n  \"file_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n  \"file_name\": \"FAQ\"\n}\n```\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "2f6b7fd1-5545-46cc-a7e3-7b3c4de52e0c",
      "name": "Note adhésive4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        144
      ],
      "parameters": {
        "color": 4,
        "width": 540,
        "height": 460,
        "content": "# STEP 2\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "c551c56f-e43d-45dd-922e-da0858008486",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -128
      ],
      "parameters": {
        "color": 6,
        "width": 880,
        "height": 220,
        "content": "# STEP 1\n\n## Create Qdrant Collection\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "75d45205-087b-433f-b049-71dcb96ea750",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        1392
      ],
      "parameters": {
        "width": 520,
        "height": 420,
        "content": "Set as metadata:\n- FILE_ID from Google Drive\n- FILE_NAME from Google Drive\n\n```\n{\n  \"source\": \"blob\",\n  \"blobType\": \"text/plain\",\n  \"loc\": {\n    \"lines\": {\n      \"from\": 1,\n      \"to\": 15\n    }\n  },\n  \"file_id\": \"xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n  \"file_name\": \"FAQ\"\n}\n```\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "6fa1eb40-51ec-41c2-aa67-620152e0ba6f",
      "name": "Mettre à jour ?",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -416,
        880
      ],
      "parameters": {
        "event": "fileUpdated",
        "options": {
          "fileType": "all"
        },
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1RO5ByPhq2yvYLmbapTNC_kKdU5lZd4W5",
          "cachedResultName": "Test Negozio"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "HEy5EuZkgPZVEa9w",
          "name": "Google Drive account (n3w.it)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "753f71fc-d71f-4b4f-82f1-df9a68784deb",
      "name": "Note adhésive5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        688
      ],
      "parameters": {
        "color": 4,
        "width": 400,
        "height": 440,
        "content": "# STEP 3\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"
      },
      "typeVersion": 1
    },
    {
      "id": "4534f3fb-f0c5-44a6-be8e-2a41f7806ffc",
      "name": "Note adhésive6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        1824
      ],
      "parameters": {
        "color": 2,
        "width": 580,
        "height": 120,
        "content": "# STEP 4\n\nTry RAG"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2cf144b4-3a5c-4117-b946-aad6bde36ab3",
  "connections": {
    "6fa1eb40-51ec-41c2-aa67-620152e0ba6f": {
      "main": [
        [
          {
            "node": "0561d614-e10f-40ff-8d2a-eb92f23ffd73",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d65cd402-d2ae-443d-91d0-c5b4979789df": {
      "main": [
        [
          {
            "node": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c0214dc1-ee28-40b3-a043-b1cc3465dd7b": {
      "main": [
        [
          {
            "node": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3": {
      "main": [
        [
          {
            "node": "a7a0d544-45f5-4f18-8b45-8b0bbdc47c5b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0561d614-e10f-40ff-8d2a-eb92f23ffd73": {
      "main": [
        [
          {
            "node": "95ec291c-c9d9-42ef-945d-d06bcd6560c0",
            "type": "main",
            "index": 0
          },
          {
            "node": "d65cd402-d2ae-443d-91d0-c5b4979789df",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a7a0d544-45f5-4f18-8b45-8b0bbdc47c5b": {
      "main": [
        [
          {
            "node": "0a940a8e-41b3-4261-9f7c-5e9a6db29bae",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb5dbda9-f67f-4d45-b4a3-fac167d4aef2": {
      "main": [
        [
          {
            "node": "0a940a8e-41b3-4261-9f7c-5e9a6db29bae",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0a940a8e-41b3-4261-9f7c-5e9a6db29bae": {
      "main": [
        [],
        [
          {
            "node": "c0214dc1-ee28-40b3-a043-b1cc3465dd7b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ce097e48-8cb4-4bb8-a717-1213c6134b42": {
      "main": [
        [
          {
            "node": "eb5dbda9-f67f-4d45-b4a3-fac167d4aef2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "21bb9ac3-4a70-477f-a404-df90328bff53": {
      "ai_embedding": [
        [
          {
            "node": "1c7614d0-6067-4dca-bbd4-e35e52f44374",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "414f3285-3ecb-4ea3-b4f3-b397112da952": {
      "ai_embedding": [
        [
          {
            "node": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "058610f3-46aa-43ae-82c1-abf9327cd3da": {
      "ai_embedding": [
        [
          {
            "node": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "8500aecb-a176-4d7b-98d4-790235fab977": {
      "ai_document": [
        [
          {
            "node": "7790b835-3dde-4b59-b0fe-e3afec02eae8",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "314e5293-b60c-4ac3-9eeb-b4ca66ee6b5c": {
      "ai_document": [
        [
          {
            "node": "bf7ccb97-52a4-4d8e-87a2-f3f3de6ac6d3",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "1c7614d0-6067-4dca-bbd4-e35e52f44374": {
      "ai_vectorStore": [
        [
          {
            "node": "5398d1f7-cf4f-4355-bce4-255b48d4d4ea",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "5398d1f7-cf4f-4355-bce4-255b48d4d4ea": {
      "ai_retriever": [
        [
          {
            "node": "28373f4f-28b2-49c6-9253-173e33039ea1",
            "type": "ai_retriever",
            "index": 0
          }
        ]
      ]
    },
    "c126a969-d3ab-4e1f-847d-3366c56134f3": {
      "ai_languageModel": [
        [
          {
            "node": "28373f4f-28b2-49c6-9253-173e33039ea1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "28373f4f-28b2-49c6-9253-173e33039ea1": {
      "main": [
        []
      ]
    },
    "12c6fa79-4b60-45df-a39f-61b8dd834fe8": {
      "main": [
        [
          {
            "node": "28373f4f-28b2-49c6-9253-173e33039ea1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b2ba10ce-9557-4c27-b859-fb1df76c30d1": {
      "ai_textSplitter": [
        [
          {
            "node": "314e5293-b60c-4ac3-9eeb-b4ca66ee6b5c",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "478c24a7-6e2a-49bb-93ab-84e701b62dd6": {
      "main": [
        [
          {
            "node": "d4620040-a7c7-43a7-a007-9ee1095a2fb1",
            "type": "main",
            "index": 0
          },
          {
            "node": "ce097e48-8cb4-4bb8-a717-1213c6134b42",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a3212d21-f3ba-4970-b7d4-cdcf91cde2ff": {
      "ai_textSplitter": [
        [
          {
            "node": "8500aecb-a176-4d7b-98d4-790235fab977",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Avancé - RAG IA, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds32
Catégorie2
Types de nœuds16
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34