{
  "openruna_format": "flow-graph-v1",
  "title": "[2/2] KNN classifier (lands dataset)",
  "slug": "22-knn-classifier-lands-dataset-3",
  "source_filename": "1890_HTTP_Executeworkflow_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Embed image",
      "name": "Embed image",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Query Qdrant",
      "name": "Query Qdrant",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Majority Vote",
      "name": "Majority Vote",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Increase limitKNN",
      "name": "Increase limitKNN",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Propagate loop variables",
      "name": "Propagate loop variables",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Image Test URL",
      "name": "Image Test URL",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Return class",
      "name": "Return class",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Check tie",
      "name": "Check tie",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Qdrant variables + embedding + KNN neigbours",
      "name": "Qdrant variables + embedding + KNN neigbours",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Execute Workflow Trigger",
      "name": "Execute Workflow Trigger",
      "integration": "executeWorkflow",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Check tie",
      "to": "Increase limitKNN"
    },
    {
      "from": "Check tie",
      "to": "Return class"
    },
    {
      "from": "Embed image",
      "to": "Qdrant variables + embedding + KNN neigbours"
    },
    {
      "from": "Query Qdrant",
      "to": "Propagate loop variables"
    },
    {
      "from": "Majority Vote",
      "to": "Check tie"
    },
    {
      "from": "Image Test URL",
      "to": "Embed image"
    },
    {
      "from": "Increase limitKNN",
      "to": "Query Qdrant"
    },
    {
      "from": "Execute Workflow Trigger",
      "to": "Image Test URL"
    },
    {
      "from": "Propagate loop variables",
      "to": "Majority Vote"
    },
    {
      "from": "Qdrant variables + embedding + KNN neigbours",
      "to": "Query Qdrant"
    }
  ]
}