Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Unlocking Data with Generative AI and RAG
  • Table Of Contents Toc
Unlocking Data with Generative AI and RAG

Unlocking Data with Generative AI and RAG - Second Edition

By : Keith Bourne
5 (3)
close
close
Unlocking Data with Generative AI and RAG

Unlocking Data with Generative AI and RAG

5 (3)
By: Keith Bourne

Overview of this book

Developing AI agents that remember, adapt, and reason over complex knowledge isn’t a distant vision anymore; it’s happening now with Retrieval-Augmented Generation (RAG). This second edition of the bestselling guide leads you to the forefront of agentic system design, showing you how to build intelligent, explainable, and context-aware applications powered by RAG pipelines. You’ll master the building blocks of agentic memory, including semantic caches, procedural learning with LangMem, and the emerging CoALA framework for cognitive agents. You’ll also learn how to integrate GraphRAG with tools such as Neo4j to create deeply contextualized AI responses grounded in ontology-driven data. This book walks you through real implementations of working, episodic, semantic, and procedural memory using vector stores, prompting strategies, and feedback loops to create systems that continuously learn and refine their behavior. With hands-on code and production-ready patterns, you’ll be ready to build advanced AI systems that not only generate answers but also learn, recall, and evolve. Written by a seasoned AI educator and engineer, this book blends conceptual clarity with practical insight, offering both foundational knowledge and cutting-edge tools for modern AI development. *Email sign-up and proof of purchase required
Table of Contents (26 chapters)
close
close
Lock Free Chapter
1
Part 1: Introduction to Retrieval-Augmented Generation (RAG)
7
Part 2: Components of RAG
14
Part 3: Implementing Agentic RAG
25
Index

Getting started with vector stores

Vector stores, combined with other data stores (databases, data warehouses, data lakes, and any other data sources), are the fuel for your RAG system engine. Not to state the obvious, but without a place to store your RAG-focused data, which typically involves the creation, management, filtering, and search of vectors, you will not be able to build a capable RAG system. What you use and how it is implemented will have significant implications for how your entire RAG system performs, making it a critical decision and effort. To start this section, let’s first go back to the original concept of a database.

Data sources (other than vector)

In our basic RAG example so far, we are keeping it simple (for now) and have not connected it to an additional database resource. You could consider the web page that the content is pulled from as the database, although the most accurate description in this context is probably to call it an unstructured...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Unlocking Data with Generative AI and RAG
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon