Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Generative AI with Amazon Bedrock

You're reading from   Generative AI with Amazon Bedrock Build, scale, and secure generative AI applications using Amazon Bedrock

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781803247281
Length 384 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Shikhar Kwatra Shikhar Kwatra
Author Profile Icon Shikhar Kwatra
Shikhar Kwatra
Bunny Kaushik Bunny Kaushik
Author Profile Icon Bunny Kaushik
Bunny Kaushik
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Amazon Bedrock Foundations FREE CHAPTER
2. Chapter 1: Exploring Amazon Bedrock 3. Chapter 2: Accessing and Utilizing Models in Amazon Bedrock 4. Chapter 3: Engineering Prompts for Effective Model Usage 5. Chapter 4: Customizing Models for Enhanced Performance 6. Chapter 5: Harnessing the Power of RAG 7. Part 2: Amazon Bedrock Architecture Patterns
8. Chapter 6: Generating and Summarizing Text with Amazon Bedrock 9. Chapter 7: Building Question Answering Systems and Conversational Interfaces 10. Chapter 8: Extracting Entities and Generating Code with Amazon Bedrock 11. Chapter 9: Generating and Transforming Images Using Amazon Bedrock 12. Chapter 10: Developing Intelligent Agents with Amazon Bedrock 13. Part 3: Model Management and Security Considerations
14. Chapter 11: Evaluating and Monitoring Models with Amazon Bedrock 15. Chapter 12: Ensuring Security and Privacy in Amazon Bedrock 16. Index 17. Other Books You May Enjoy

Decoding RAG

RAG is an approach in NLP that combines large-scale retrieval with neural generative models. The key idea is to retrieve relevant knowledge from large corpora and incorporate that knowledge into the text-generation process. This allows generative models such as Amazon Titan Text, Anthropic Claude, and Generative Pre-trained Transformer 3 (GPT-3) to produce more factual, specific, and coherent text by grounding generations in external knowledge.

RAG has emerged as a promising technique to make neural generative models more knowledgeable and controllable. In this section, we will provide an overview of RAG, explain how it works, and discuss key applications.

What is RAG?

Traditional generative models, such as BART, T5 or GPT-4 are trained on vast amounts of text data in a self-supervised fashion. While this allows them to generate fluent and human-like text, a major limitation is that they lack world knowledge beyond what is contained in their training data. This...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime