Library / Building Blocks & Utilities
Building Blocks & Utilities
Detect Anomalous Crop Images with Voyage.ai Embeddings and Qdrant
Reusable sub-workflow called by other workflows. Takes an image URL, creates Voyage.ai embeddings, and checks them against Qdrant crop class thresholds to flag anomalous crops.
What it does
## Crop Anomaly Detection Tool ### This is the tool that can be used directly for anomalous crops detection. It takes as input (any) image URL and returns a text message telling if whatever this image depicts is anomalous to the crop dataset stored in Qdrant. * An Image URL is received via the Execute Workflow Trigger which is used to generate embedding vectors via the Voyage.ai Embeddings API. * The returned vectors are used to query the Qdrant collection to determine if the given crop is known by comparing it to threshold scores of each image class (crop type). * If the image scores lower than all thresholds, then the image is considered an anomaly for the dataset.
The steps
- Embed image
- Get similarity of medoids
- Compare scores
- Variables for medoids
- Info About Crop Labeled Clusters
- Total Points in Collection
- Each Crop Counts
- Image URL hardcode
- Execute Workflow Trigger
Similar automations
Monitoring, Ops & IncidentsDetect Anomalous Crop Images Using Voyage AI Embeddings and Qdrant9 stepsAI Agents & AssistantsDetect Anomalous Crop Images with Embeddings9 stepsAI Agents & AssistantsDetect Crop Anomalies with Qdrant Image Similarity46 stepsAI Agents & AssistantsDetect Crop Anomalies with Qdrant Image Similarity46 steps