From Fine-Tuning to Production: A Scalable Embedding Pipeline with Dataflow- Google Developers Blog
Sep 4, 2025Danny McCormick, Ian Ballantyne, Olivier Lacombe

Summary
This post details the integration of the EmbeddingGemma model into a Google Cloud Dataflow pipeline for scalable, real-time knowledge ingestion. It demonstrates how to use Dataflow's MLTransform with the SentenceTransformerEmbeddings transform to generate embeddings from text data using EmbeddingGemma. The output is then written to a vector database, specifically AlloyDB, using a VectorDatabaseWriteTransform. The post highlights the benefits of this approach, including efficiency from data locality, a unified system for autoscaling and monitoring, and simplified pipeline management. It provides code snippets for configuring the embedding transform and writing to AlloyDB, and points to further documentation and notebooks for implementation.
More from the Google Developer Platform trail
- Autonomous LLM post-training with Tunix on TPUs- Google Developers Blog
- HeyGen x Google Cloud: Bringing Avatar IV to TPUs- Google Developers Blog
- Run Ray on TPU, Part 2: Ray AI libraries- Google Developers Blog
- Scaling Agentic RL: High-Throughput Agentic Training with Tunix- Google Developers Blog
- Run Ray on TPU, Part 1: The foundations- Google Developers Blog