Medoid Calculation for Crop Anomaly Detection
0c884647-3ec2-4ed2-867a-c309bde8ab8e
Latency
880ms
Cost
$0.0000
Tokens
0
Status
successgemini-2.5-flash-lite
Workflow Graph
Trace
[
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "edaa871e-2b79-400e-8328-333d250bfdd2",
"timestamp": 1780872252743
},
{
"data": {
"initialData": {
"data": {
"embedding": [
0.1,
0.2,
0.3,
0.4,
0.5,
0.6,
0.7,
0.8,
0.9,
1
]
},
"result": {
"id": "corn_cluster_1",
"last": {
"id": "corn_point_2",
"vector": {
"voyage": {
"map": [
0.12,
0.23,
0.34,
0.45,
0.56,
0.67,
0.78,
0.89,
0.9,
1.2
]
}
},
"payload": {
"crop_name": "Corn"
}
},
"points": [
{
"id": "corn_point_1",
"vector": {
"voyage": {
"map": [
0.11,
0.22,
0.33,
0.44,
0.55,
0.66,
0.77,
0.88,
0.99,
1.1
]
}
},
"payload": {
"crop_name": "Corn"
}
},
{
"id": "corn_point_2",
"vector": {
"voyage": {
"map": [
0.12,
0.23,
0.34,
0.45,
0.56,
0.67,
0.78,
0.89,
0.9,
1.2
]
}
},
"payload": {
"crop_name": "Corn"
}
}
],
"vector": {
"voyage": {
"map": [
0.1,
0.2,
0.3,
0.4,
0.5,
0.6,
0.7,
0.8,
0.9,
1
]
}
},
"payload": {
"crop_name": "Corn"
}
},
"centerId": "corn_cluster_1",
"cropName": "Corn",
"medoid_id": "corn_medoid_1",
"collectionName": "crop_data_collection",
"maxClusterSize": 100,
"qdrantCloudURL": "https://my-qdrant-instance.cloud.qdrant.io",
"thresholdScore": 0.75,
"cropDescription": "A field of tall, green corn stalks with developing ears.",
"result.points.id": [
"corn_point_1",
"corn_point_2"
],
"furthestFromCenter": {
"id": "corn_point_2",
"vector": {
"voyage": {
"map": [
0.12,
0.23,
0.34,
0.45,
0.56,
0.67,
0.78,
0.89,
0.9,
1.2
]
}
},
"payload": {
"crop_name": "Corn"
}
},
"oppositeOfCenterVector": [
0.9,
0.8,
0.7,
0.6,
0.5,
0.4,
0.3,
0.2,
0.1,
0
]
}
},
"event": "triggered",
"nodeId": "manualTrigger",
"timestamp": 1780872252743
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "edaa871e-2b79-400e-8328-333d250bfdd2",
"timestamp": 1780872252743
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "ecab63f7-7a72-425a-8f5a-0c707e7f77bc",
"timestamp": 1780872252744
},
{
"data": {
"inputKeys": [
"qdrantCloudURL",
"collectionName",
"maxClusterSize",
"cropName",
"result",
"medoid_id",
"oppositeOfCenterVector",
"furthestFromCenter",
"centerId",
"thresholdScore",
"cropDescription",
"data",
"result.points.id"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872252744
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "ecab63f7-7a72-425a-8f5a-0c707e7f77bc",
"timestamp": 1780872252744
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "f5035aca-1706-4c8d-bd26-49b3451ae04b",
"timestamp": 1780872252746
},
{
"data": {
"inputKeys": [
"qdrantCloudURL",
"collectionName",
"maxClusterSize",
"cropName",
"result",
"medoid_id",
"oppositeOfCenterVector",
"furthestFromCenter",
"centerId",
"thresholdScore",
"cropDescription",
"data",
"result.points.id"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872252746
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "f5035aca-1706-4c8d-bd26-49b3451ae04b",
"timestamp": 1780872252746
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "c9cad66d-4a76-4092-bfd6-4860493f942a",
"timestamp": 1780872252747
},
{
"data": {
"inputKeys": [
"qdrantCloudURL",
"collectionName",
"maxClusterSize",
"cropName",
"result",
"medoid_id",
"oppositeOfCenterVector",
"furthestFromCenter",
"centerId",
"thresholdScore",
"cropDescription",
"data",
"result.points.id"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872252747
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "c9cad66d-4a76-4092-bfd6-4860493f942a",
"timestamp": 1780872252747
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "ebd964de-faa4-4dc0-9245-cc9154b9ce02",
"timestamp": 1780872252749
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/count",
"nodeId": "http",
"timestamp": 1780872252749
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/count",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872252749
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872252924
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "ebd964de-faa4-4dc0-9245-cc9154b9ce02",
"timestamp": 1780872252924
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "54a5d467-4985-49b5-9f13-e6563acf08b3",
"timestamp": 1780872252930
},
{
"data": {
"inputKeys": [
"qdrantCloudURL",
"collectionName",
"maxClusterSize",
"cropName",
"result",
"medoid_id",
"oppositeOfCenterVector",
"furthestFromCenter",
"centerId",
"thresholdScore",
"cropDescription",
"data",
"result.points.id"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872252930
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "54a5d467-4985-49b5-9f13-e6563acf08b3",
"timestamp": 1780872252930
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "20191c0a-5310-48f2-8be4-1d160f237db2",
"timestamp": 1780872252933
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/facet",
"nodeId": "http",
"timestamp": 1780872252933
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/facet",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872252933
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872252935
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "20191c0a-5310-48f2-8be4-1d160f237db2",
"timestamp": 1780872252935
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "cd5af197-4d79-49c2-aba6-a20571bd5c2e",
"timestamp": 1780872252936
},
{
"data": {
"count": 1
},
"event": "splitOut",
"nodeId": "passthrough",
"timestamp": 1780872252936
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "cd5af197-4d79-49c2-aba6-a20571bd5c2e",
"timestamp": 1780872252936
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "6e81f0b0-3843-467e-9c93-40026e57fa91",
"timestamp": 1780872252938
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872252938
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "6e81f0b0-3843-467e-9c93-40026e57fa91",
"timestamp": 1780872252938
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "19c4bb6d-abcb-423b-b883-48c779d0307d",
"timestamp": 1780872252939
},
{
"data": {
"count": 1
},
"event": "splitOut",
"nodeId": "passthrough",
"timestamp": 1780872252939
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "19c4bb6d-abcb-423b-b883-48c779d0307d",
"timestamp": 1780872252939
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "b51f6344-d090-4341-a908-581b78664b07",
"timestamp": 1780872252941
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/search/matrix/offsets",
"nodeId": "http",
"timestamp": 1780872252941
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/search/matrix/offsets",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872252941
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872252942
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "b51f6344-d090-4341-a908-581b78664b07",
"timestamp": 1780872252942
},
{
"data": {
"nodeType": "merge"
},
"event": "node_start",
"nodeId": "956c126c-8bd6-4390-8704-3f0a5a2ce479",
"timestamp": 1780872252944
},
{
"data": {
"inputCount": 2
},
"event": "merged 2 inputs",
"nodeId": "merge",
"timestamp": 1780872252944
},
{
"data": {
"status": "ok",
"nodeType": "merge"
},
"event": "node_end",
"nodeId": "956c126c-8bd6-4390-8704-3f0a5a2ce479",
"timestamp": 1780872252944
},
{
"data": {
"nodeType": "code"
},
"event": "node_start",
"nodeId": "bebe5249-b138-4d7a-84b8-51eaed4331b8",
"timestamp": 1780872252944
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "code",
"latencyMs": 0,
"operation": "no-source",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872252944
},
{
"data": {
"status": "ok",
"nodeType": "code"
},
"event": "node_end",
"nodeId": "bebe5249-b138-4d7a-84b8-51eaed4331b8",
"timestamp": 1780872252944
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "14c25e76-8a2c-4df8-98ea-b2f31b15fd1f",
"timestamp": 1780872252945
},
{
"event": "fetching POST https://api.voyageai.com/v1/multimodalembeddings",
"nodeId": "http",
"timestamp": 1780872252945
},
{
"data": {
"url": "https://api.voyageai.com/v1/multimodalembeddings",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872252945
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "14c25e76-8a2c-4df8-98ea-b2f31b15fd1f",
"timestamp": 1780872253583
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "006c38bb-a271-40e1-9c5b-5a0a29ea96de",
"timestamp": 1780872253587
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"nodeId": "http",
"timestamp": 1780872253587
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253587
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253591
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "006c38bb-a271-40e1-9c5b-5a0a29ea96de",
"timestamp": 1780872253591
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "aeeccfc5-67bf-4047-8a5a-8830e4fc87e8",
"timestamp": 1780872253594
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points",
"nodeId": "http",
"timestamp": 1780872253594
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253594
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253596
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "aeeccfc5-67bf-4047-8a5a-8830e4fc87e8",
"timestamp": 1780872253596
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "8763db0a-9a92-4ffd-8a40-c7db614b735f",
"timestamp": 1780872253598
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/query",
"nodeId": "http",
"timestamp": 1780872253598
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/query",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253598
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253600
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "8763db0a-9a92-4ffd-8a40-c7db614b735f",
"timestamp": 1780872253600
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "11fe54d5-9dc8-49ce-9e3f-1103ace0a3d5",
"timestamp": 1780872253601
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872253601
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "11fe54d5-9dc8-49ce-9e3f-1103ace0a3d5",
"timestamp": 1780872253601
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "5c770ca2-6e1a-4c4b-80e0-dcbeeda43a0f",
"timestamp": 1780872253603
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"nodeId": "http",
"timestamp": 1780872253603
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253603
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253605
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "5c770ca2-6e1a-4c4b-80e0-dcbeeda43a0f",
"timestamp": 1780872253605
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "c08ff472-51ab-4c3d-b9c0-2170fda2ccef",
"timestamp": 1780872253606
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872253606
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "c08ff472-51ab-4c3d-b9c0-2170fda2ccef",
"timestamp": 1780872253606
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "4051b488-2e2e-4d33-9cc9-e1403c9173ed",
"timestamp": 1780872253608
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/query",
"nodeId": "http",
"timestamp": 1780872253608
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/query",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253608
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253610
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "4051b488-2e2e-4d33-9cc9-e1403c9173ed",
"timestamp": 1780872253610
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "f490d224-38a8-4087-889d-1addb4472471",
"timestamp": 1780872253612
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/query",
"nodeId": "http",
"timestamp": 1780872253612
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/query",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253612
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253614
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "f490d224-38a8-4087-889d-1addb4472471",
"timestamp": 1780872253614
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "1c6cb6ee-ce3a-4d1a-b1b4-1e59e9a8f5b6",
"timestamp": 1780872253615
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872253615
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "1c6cb6ee-ce3a-4d1a-b1b4-1e59e9a8f5b6",
"timestamp": 1780872253615
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "84ba4de5-aa9b-43fb-89cb-70db0b3ca334",
"timestamp": 1780872253616
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1780872253616
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "84ba4de5-aa9b-43fb-89cb-70db0b3ca334",
"timestamp": 1780872253616
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "1bab1b9e-7b80-4ef3-8e3d-be4874792e58",
"timestamp": 1780872253618
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"nodeId": "http",
"timestamp": 1780872253618
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253618
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253619
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "1bab1b9e-7b80-4ef3-8e3d-be4874792e58",
"timestamp": 1780872253619
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "a5836982-0de0-4692-883c-267602468ed2",
"timestamp": 1780872253621
},
{
"event": "fetching POST https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"nodeId": "http",
"timestamp": 1780872253621
},
{
"data": {
"url": "https://my-qdrant-instance.cloud.qdrant.io/collections/crop_data_collection/points/payload",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780872253621
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780872253623
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "a5836982-0de0-4692-883c-267602468ed2",
"timestamp": 1780872253623
}
]