NEW - BEYOND IS GOOGLE CLOUD’S Strategic Cyber Security Partner of the Year 2026
AI & Data

The bridge between existing data platforms and GenAI

12 May 2026
3 min read
Bayan Mazidian
An overhead view of a bridge
On this page

With the rise of Generative AI (GenAI), organizations are seeking to bridge the gap between traditional data storage methods and the innovative capabilities offered by GenAI. This transformation involves integrating GenAI with existing data storage and analytics systems without requiring a complete overhaul of infrastructure. By utilizing methods like Retrieval-Augmented Generation (RAG), and frameworks such as LangChain, companies can enrich their data pipelines with GenAI, leading to more sophisticated systems that can capitalize on the potential for enhanced insights.

Many companies currently rely on Big Data Warehouses, such as Google Cloud Platform’s (GCP) BigQuery, for their advanced analytics needs, rather than Vector Databases whose popularity has largely arisen due to GenAI. Additionally, their workflows are often batch-oriented rather than real-time. This can present a challenge to GenAI adoption, which is frequently built around real-time data retrieval and analysis. For instance, LLM-agent patterns rely on RAG to pull relevant information in real-time, leveraging Vector DBs and embedding models. However, in environments that aren't yet adapted to these new models, the challenge lies in unlocking the potential of existing data using familiar data manipulation languages such as SQL, alongside orchestrators like Composer Airflow, to pre-process and execute GenAI workloads efficiently.

Together with one of our customers, we have developed a framework which efficiently executes GenAI workloads as part of orchestrated pipelines such as those in Composer Airflow and utilizing the data which already exists in BigQuery. This means our customers can enhance their existing data with GenAI models, such as Vertex AI’s Gemini, by using SQL in place of vector embeddings, and pipeline orchestrators to pre-compute large batches of completions rather than responding to new prompts in real-time.

The components to build a bridge

A general inference pattern

The ‘LangChain’ chains ‘StuffDocumentsChain’ and ‘ReduceDocumentsChain’ are especially useful in defining a create-once-use-many inference class which allows for the efficient handling of large sets of documents by breaking them down into manageable chunks and subsequently reducing them into a coherent response. As a result of the fact that we already know about the relationships between data in our Big Data Warehouse we don’t need any embeddings to attach the relevant data to these chains. Although these chains have restrictions in terms of input cardinality, we have been able to integrate every use-case requested with a single executor by:

  • Intelligently engineering prompts to encapsulate equivalent context.
  • Engineering process flows to account for token limits.
  • Providing comprehensive use-case configuration specifying chain types, documents per chain and other essential use-case metadata.
A technical diagram showing the connection between documents and a natural language API

Asynchronous processing

Implementing asynchronous processing ensures that data retrieval and GenAI workload execution do not block the overall pipeline. By handling these tasks concurrently, we can maximize resource utilization and minimize latency, allowing for faster overall throughput.

Output parsing

This component focuses on transforming the raw outputs generated by the GenAI models into structured and actionable insights. By defining clear parsing rules, we can ensure that the outputs are usable for downstream applications and align with business needs.

Retry mechanism

A robust retry mechanism is essential for handling transient errors and ensuring the reliability of the pipeline. This allows the system to automatically retry failed tasks a predefined number of times, thus enhancing fault tolerance and ensuring that data processing is resilient against temporary issues.

Post-evaluation

After the data has been processed and outputs generated, post-evaluation steps are necessary to assess the quality and relevance of the results. This could involve validating outputs against predefined criteria or user feedback, ensuring that the generated insights meet the expected standards before they are utilized in decision-making processes.

Using these methods we are able to carry out every use-case of our customers within a single framework, with a single executor and reduce execution time by a factor of 10 without pushing the limits of network capacity. This structured approach enables organizations to effectively bridge the gap between traditional data storage methods and the innovative capabilities offered by GenAI, maximizing the value derived from their existing data assets.


This article was originally published on 29 October 2024.

Written by
Bayan Mazidian
Senior ML Ops Engineer

Dr. Mazidian has 10+ years of experience with data in Cloud and IoT environments. He holds a PhD in Theoretical Physics.

Related insights

Insights on technology, AI, security, and all that’s next.

AI & Data

Structure Is The Shortcut: Scaling Fast Without Breaking Trust

A six-week Looker rebuild for a betting and gaming client shows why structure, not shortcuts, is what actually lets BI delivery move fast without breaking trust.
Read more
AI & Data
56 min watch
An icon representing agentic AI atop a set of red shapes

Agentic AI at Scale: From Pilot to Production

Presented in partnership with Google, this on-demand webinar teaches you how to unlock real ROI by driving adoption of AI at scale.
Read more
AI & Data
2 min read
A pipe spraying water

Solving the “data deluge” problem

The key to unlocking your data's full potential is unifying it to support smarter decision-making.
Read more
AI & Data
5 min read
A view of an eye through a prism

Optimizing LLM outputs with dual-perspective prompt engineering

Combining expert analysis with audience-focused communication can produce superior LLM outputs.
Read more
AI & Data
3 min read
A person holding a number of shopping bags

Hyper-personalisation: a new era in retail

AI is making personalisation accessible to more retailers, which can be used to drive engagement.
Read more
AI & Data
3 min read
An overhead view of a bridge

The bridge between existing data platforms and GenAI

We developed a framework to help organisations moving towards AI-powered data storage methods.
Read more
AI & Data
4 min read
A building under construction

Building on shifting foundations:

A look at how to commit to AI implementation when tomorrow's tools may render today's approach obsolete.
Read more
AI & Data
16 min read
People in a queue with others moving around them

Managing your digital workforce:

A whitepaper with field-tested guidance for AI engineering teams at tier-1 financial institutions.
Read more