Web Scraping & Data Extraction

[2/2] KNN classifier (lands dataset)

[2/2] KNN classifier (lands dataset)

Manual
High
18
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
18
Node Types
6

Node Types

http Request
Embed image, Query Qdrant
2 nodes
code
Majority Vote
1 node
set
Increase limitKNN, Propagate loop variables, Image Test URL, Return class, Qdrant variables + embedding + KNN neigbours
5 nodes
if
Check tie
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4, Sticky Note5, Sticky Note6, Sticky Note10
8 nodes
execute Workflow Trigger
Execute Workflow Trigger
1 node

Workflow JSON

16.65 KB
{
  "id": "itzURpN5wbUNOXOw",
  "meta": {
    "instanceId": "205b3bc06c96f2dc835b4f00e1cbf9a937a74eeb3b47c99d0c30b0586dbf85aa"
  },
  "name": "[2/2] KNN classifier (lands dataset)",
  "tags": [
    {
      "id": "QN7etptCmdcGIpkS",
      "name": "classifier",
      "createdAt": "2024-12-08T22:08:15.968Z",
      "updatedAt": "2024-12-09T19:25:04.113Z"
    }
  ],
  "nodes": [
    {
      "id": "33373ccb-164e-431c-8a9a-d68668fc70be",
      "name": "Embed image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -140,
        -240
      ],
      "parameters": {
        "url": "https://api.voyageai.com/v1/multimodalembeddings",
        "method": "POST",
        "options": {},
        "jsonBody": "={{\n{\n  \"inputs\": [\n    {\n      \"content\": [\n        {\n          \"type\": \"image_url\",\n          \"image_url\": $json.imageURL\n        }\n      ]\n    }\n  ],\n  \"model\": \"voyage-multimodal-3\",\n  \"input_type\": \"document\"\n}\n}}",
        "sendBody": tru...

Showing first 1000 characters. Click "Expand" to view the full JSON.