Skip to Content
RAG-Driven Generative AI - Second Edition
book

RAG-Driven Generative AI - Second Edition

by Denis Rothman
April 2026
Intermediate
430 pages
9h 49m
English
Packt Publishing

Overview

Building MAS-RAG (multi-agent AI systems for RAG) that reason over real-world data using hybrid retrieval and scalable architectures for production use. Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

Key Features

  • Master DualRAG by combining vector search with SQL filtering over structured enterprise data
  • Implement GraphRAG, Spatial-RAG, and vector search natively in Oracle Database 23ai
  • Build multimodal video pipelines with human-feedback loops and fine-tuned models

Book Description

Stop moving your data to the AI. This second edition defines a revolutionary architectural shift: bringing the AI to the data. By using Oracle Database 23ai as a converged engine in this book, you will architect Sovereign AI systems that eliminate the fragmentation, latency, and massive security risks inherent in traditional data extraction.

You’ll work with DualRAG, synchronizing unstructured vector semantics with the deterministic truth of structured SQL, Graph, and Spatial retrieval. This allows your systems to reason over verified corporate data rather than probabilistic guesses, reducing hallucinations at the source. Moving beyond simple pipelines, you’ll also build MAS-RAG (multi-agent systems for RAG), where autonomous agents coordinate across hybrid retrieval workflows, multimodal video pipelines, and graph-based knowledge structures.

Designed for developers and architects, these blueprints transform disconnected data silos into a unified engine to architect autonomous enterprise intelligence that scales with RLHF and model fine-tuning. By the end of the book, you’ll be able to design and deploy enterprise AI systems that combine retrieval, reasoning, and structured data to build reliable generative AI applications.

*Email sign-up and proof of purchase required

What you will learn

  • Bring intelligence directly to the data within Oracle Database 23ai
  • Defeat hallucinations and data poisoning with DualRAG, synchronizing vector semantics with structured SQL
  • Build MAS-RAG pipelines with Planner, Agent Registry, and MCP-standardized sovereign agents
  • Engineer an inference-time router using hybrid adaptive RAG to switch between reasoning, retrieval, and human feedback
  • Fuse vector similarity, Oracle Spatial, and SQL Property Graph traversal into a converged hyper-query
  • Multimodal video RAG with version-controlled schema registry and semantic vector search over visual assets

Who this book is for

This book is for AI engineers, ML engineers, data scientists, and MLOps professionals who want to build production-ready generative AI systems grounded in enterprise data. It will also benefit solutions architects, database engineers, and software developers looking to integrate large language models with structured and unstructured data sources using modern retrieval architectures. Readers should be comfortable with Python and have a basic understanding of machine learning concepts. Prior experience with generative AI or vector databases will help you get the most out of this book.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Generative AI with LangChain - Second Edition

Generative AI with LangChain - Second Edition

Ben Auffarth, Leonid Kuligin
Building Agentic AI Systems

Building Agentic AI Systems

Anjanava Biswas, Wrick Talukdar

Publisher Resources

ISBN: 9781807424954