{
  "openruna_format": "flow-graph-v1",
  "title": "[2/3] Set up medoids (2 types) for anomaly detection (crops dataset)",
  "slug": "23-set-up-medoids-2-types-for-anomaly-detection-crops-dataset",
  "source_filename": "1731_Splitout_Code_Automation_Webhook.json",
  "nodes": [
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Total Points in Collection",
      "name": "Total Points in Collection",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Cluster Distance Matrix",
      "name": "Cluster Distance Matrix",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Scipy Sparse Matrix",
      "name": "Scipy Sparse Matrix",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Set medoid id",
      "name": "Set medoid id",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get Medoid Vector",
      "name": "Get Medoid Vector",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Prepare for Searching Threshold",
      "name": "Prepare for Searching Threshold",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Searching Score",
      "name": "Searching Score",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Threshold Score",
      "name": "Threshold Score",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Set medoid threshold score",
      "name": "Set medoid threshold score",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Split Out1",
      "name": "Split Out1",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Textual (visual) crop descriptions",
      "name": "Textual (visual) crop descriptions",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Embed text",
      "name": "Embed text",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get Medoid by Text",
      "name": "Get Medoid by Text",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Set text medoid id",
      "name": "Set text medoid id",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Prepare for Searching Threshold1",
      "name": "Prepare for Searching Threshold1",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Threshold Score1",
      "name": "Threshold Score1",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Searching Text Medoid Score",
      "name": "Searching Text Medoid Score",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Medoids Variables",
      "name": "Medoids Variables",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Text Medoids Variables",
      "name": "Text Medoids Variables",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Qdrant cluster variables",
      "name": "Qdrant cluster variables",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Info About Crop Clusters",
      "name": "Info About Crop Clusters",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Crop Counts",
      "name": "Crop Counts",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Split Out",
      "name": "Split Out",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Set text medoid threshold score",
      "name": "Set text medoid threshold score",
      "integration": "httpRequest",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Embed text"
    },
    {
      "from": "Split Out",
      "to": "Cluster Distance Matrix"
    },
    {
      "from": "Split Out",
      "to": "Merge"
    },
    {
      "from": "Embed text",
      "to": "Get Medoid by Text"
    },
    {
      "from": "Split Out1",
      "to": "Merge"
    },
    {
      "from": "Crop Counts",
      "to": "Info About Crop Clusters"
    },
    {
      "from": "Searching Score",
      "to": "Threshold Score"
    },
    {
      "from": "Threshold Score",
      "to": "Set medoid threshold score"
    },
    {
      "from": "Threshold Score1",
      "to": "Set text medoid threshold score"
    },
    {
      "from": "Get Medoid Vector",
      "to": "Prepare for Searching Threshold"
    },
    {
      "from": "Medoids Variables",
      "to": "Total Points in Collection"
    },
    {
      "from": "Get Medoid by Text",
      "to": "Set text medoid id"
    },
    {
      "from": "Get Medoid by Text",
      "to": "Prepare for Searching Threshold1"
    },
    {
      "from": "Scipy Sparse Matrix",
      "to": "Set medoid id"
    },
    {
      "from": "Scipy Sparse Matrix",
      "to": "Get Medoid Vector"
    },
    {
      "from": "Text Medoids Variables",
      "to": "Textual (visual) crop descriptions"
    },
    {
      "from": "Cluster Distance Matrix",
      "to": "Scipy Sparse Matrix"
    },
    {
      "from": "Info About Crop Clusters",
      "to": "Split Out"
    },
    {
      "from": "Qdrant cluster variables",
      "to": "Medoids Variables"
    },
    {
      "from": "Qdrant cluster variables",
      "to": "Text Medoids Variables"
    },
    {
      "from": "Total Points in Collection",
      "to": "Crop Counts"
    },
    {
      "from": "Searching Text Medoid Score",
      "to": "Threshold Score1"
    },
    {
      "from": "Prepare for Searching Threshold",
      "to": "Searching Score"
    },
    {
      "from": "Prepare for Searching Threshold1",
      "to": "Searching Text Medoid Score"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Qdrant cluster variables"
    },
    {
      "from": "Textual (visual) crop descriptions",
      "to": "Split Out1"
    }
  ]
}