From RAG to fabric: Lessons learned from building real-world RAGs at GenAIIC – Part 2
Machine Learning Blog
This article discusses how to build retrieval-augmented generation (RAG) systems that integrate heterogeneous data sources, including structured data (like tables) and multimodal data (text and images).
Specifically, the article covers:
- Using routers to direct queries to the appropriate data source and processing pipeline
- Prompting large language models (LLMs) to generate code for analyzing structured tabular data
- Two approaches for multimodal RAG systems:
- Using multimodal embedding models to embed images and text into a shared vector space
- Using multimodal LLMs to generate image captions, then embedding the captions for retrieval
- Comparative evaluation of the two multimodal approaches based on speed, cost, detail, customization, and input latency
- Conclusion highlighting the importance of breaking down the problem into modular components and leveraging the strengths of LLMs for different components
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Oct 24
2024
2024
From RAG to fabric: Lessons learned from building real-world RAGs at GenAIIC – Part 1
Feb 12
2025
2025
From concept to reality: Navigating the Journey of RAG from proof of concept to production
Nov 25
2024
2024
Building a Manufacturing Digital Thread using Graph and Generative AI on AWS
Nov 22
2024
2024
Building RAG-based applications with AWS Amplify AI Kit and Neon Postgres
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.