VOOZH about

URL: https://thenewstack.io/finding-the-right-data-architecture-for-rag-pipelines/

⇱ Finding the Right Data Architecture for RAG Pipelines - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-10-24 08:00:17
Finding the Right Data Architecture for RAG Pipelines
sponsor-confluent,sponsored-post-contributed,
AI Operations / Data Streaming / Large Language Models

Finding the Right Data Architecture for RAG Pipelines

Event streaming is ideal for RAG pipelines that feed generative AI applications the contextual data they need to produce accurate, timely results.
Oct 24th, 2024 8:00am by Shaun Clowes
👁 Featued image for: Finding the Right Data Architecture for RAG Pipelines
Image from SkillUp on Shutterstock.
Confluent sponsored this post.

It’s become a ubiquitous belief in the tech community that pooling data into a central repository like a data lake is the best approach for data management, and it’s true that this architecture helps to eliminate data silos and makes governance less complex. However, it doesn’t address the main obstacle when building generative AI pipelines: data movement.

Many of the most powerful enterprise use cases for generative AI require timely access to internal company data. Retrieval-augmented generation (RAG) and vector databases have gotten most of the attention when it comes to enabling these applications, but these aren’t the only requirements. It’s also critical to have access to timely and accurate data.

Imagine a travel website that provides a generative AI assistant that can help customers plan holidays and book hotels and flights. This virtual assistant requires up-to-date information from a variety of sources to provide accurate information. And it needs to respond in real time, because information like hotel availability and special offers change frequently.

Data Lakes vs. SaaS Apps vs. Data Streams 

Most data lakes and other centralized data repositories work on the principle that data “lands” somewhere and is then prepared for use, but this process is too slow for intelligent assistants like the travel example above. Many generative AI applications need data delivered to an LLM model prompt in real time, and data warehouses and data lakes are not suited for this.

Data stored in SaaS applications is even less shovel-ready for generative AI. For example, the leading customer relationship management (CRM) vendors are competing to “own” the entire customer journey. But for many generative AI use cases, this data will need to be combined with non-customer data to answer questions about the business. Storing data in a SaaS platform doesn’t allow for the rapid data movement and unification that’s required for generative AI.

It’s not that these architectures aren’t useful. Cloud data lakes and SaaS applications clearly can yield significant business benefits. But by themselves, they aren’t suited for feeding the RAG pipelines that feed generative AI applications the contextual data they need to produce accurate, timely results.

The approach that works best for these applications is event streaming, because it’s designed to circulate feeds of data around a company in real time. In the travel example above, the system needs to retrieve data from a variety of systems to arrive at the right answer, including proprietary apps, SaaS applications, databases and other repositories. The data in these systems may be normalized or not well-contextualized, and the problem is that these systems are meant to be queried interactively in real time and the data can’t easily be consolidated. Other use cases include multiplayer video games, personalized shopping recommendations, ride-sharing applications and stock trades, where providing real-time information and updates based on context is critical to the user experience.

An event-streaming architecture addresses this problem because it’s designed precisely for this type of work. It constantly gathers updates from individual systems and presents them as real-time data feeds that can be delivered to an application. When all these data sources are presented as a unified view, they can be connected to each prompt and help the generative AI interface provide the right answer.

How To Get Started

As generative AI use cases expand, more AI startups will be integrating real-time enterprise data into their offerings. To help startups learn the skills needed to integrate real-time data streaming technology into their AI applications, Confluent is launching an AI accelerator program. This 10-week virtual program includes courses, early access to Confluent technology and mentorship, Confluent Cloud credits, and other support.

As chatbots and other virtual assistants become more widespread, this need to combine data in real time from multiple sources will increase. RAG supplies the pattern for feeding contextual data into an AI application, but an event-streaming platform ensures that all of the most valuable data can be supplied to LLMs and deliver compelling experiences.

Confluent, founded by the original creators of Apache Kafka, pioneered a complete data streaming platform that streams, connects, processes, and governs data as it flows throughout a business. With Confluent, any organization can modernize their business and run it in real-time.
Learn More
The latest from Confluent
TRENDING STORIES
Shaun Clowes joined Confluent as chief product officer in December 2022. Shaun previously was CPO at MuleSoft, a Salesforce subsidiary. Before that Shaun had stints as CPO at Metromile, a pay-per-mile data-driven car insurance company, and spent more than six...
Read more from Shaun Clowes
Confluent sponsored this post.
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.