Operations & Systems
Batch Upload Datasets to Qdrant
This workflow uploads image datasets from Google Cloud Storage to Qdrant. It includes steps for checking collection existence, creating collections, embedding images using Voyage AI, and batch-uploading them to Qdrant.
Built · ~4 hours saved per week
Developers, data scientists, and MLOps engineers who manage and deploy machine learning models that use vector databases for image similarity search and anomaly detection.
This workflow automates uploading image datasets to Qdrant, a vector database. It creates image embeddings using the Voyage AI API and stores them for similarity searches or anomaly detection.
Set up Google Cloud Storage with your image datasets. Configure Qdrant Cloud and Voyage AI API credentials within n8n. Define variables for your Qdrant cluster, collection name, embedding dimensions, and batch size.
Google Cloud Storage bucket with image datasets, Qdrant Cloud account (free tier available), Voyage AI API key, n8n instance with Google Cloud Storage and Qdrant credentials.
You can change the Google Cloud Storage bucket and prefix, the Qdrant collection name, the Voyage AI embedding model, and the batch size. You can also modify the image filtering logic (e.g., instead of filtering out tomatoes, filter other classes or apply different criteria).
Key Technologies: n8n,Google Cloud Storage,Qdrant (Vector Database),Voyage AI (Multimodal Embeddings API),Python (for batching logic)
Automation Value: Efficiently processes and uploads large image datasets to a vector database. Automates the creation of image embeddings, a crucial step for AI applications like similarity search and anomaly detection. Ensures data is properly structured and indexed for fast retrieval in Qdrant. Reduces manual effort in preparing and populating vector databases, speeding up AI model deployment.
Best Practices: Modular Design: The workflow uses "Set" nodes to define variables, making it easy to configure. Separate nodes for checking existence and creating resources ensure idempotent operations. Batch Processing: The workflow efficiently handles large datasets by processing images in batches, which is crucial for performance with external APIs and databases. Error Handling (Implicit): By checking for collection existence (Node 7 and 11), the workflow prevents errors that would occur from attempting to create an already existing collection.
Tags: Operations Automations, Data Transformation, QDRANT, Manual Trigger
Integrations: HTTP, Code