Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Amazon Web Services

Lab - Build and evaluate Retrieval Augmented Generation (RAG) applications using Knowledge Bases for Amazon Bedrock

Amazon Web Services and Amazon via AWS Skill Builder

Overview

In this lab, you build a question-answering application using Amazon Bedrock's Retrieve and RetrieveAndGenerate API.


Objectives

  • Leverage a fully-managed RAG application with Amazon Bedrock RetrieveAndGenerate API.
  • Build a Q&A application using Amazon Bedrock Knowledge Bases with Retrieve API.
  • Test the Query Reformulation process supported by Amazon Bedrock Knowledge Bases.
  • Build and evaluate Q&A Application using Amazon Bedrock Knowledge Bases using RAG Assessment (RAGAS) framework.
  • Test the guardrail functionality on Amazon Bedrock Knowledge Base using RetrieveAndGenerate API.


Prerequisites

  • A solid understanding of AWS Services
  • A familiarity with GenAI and prompt flows
  • Comfort with using Python to make API calls and manipulate data


Outline

Task 1: Leverage a fully-managed RAG application with Amazon Bedrock's RetrieveAndGenerate API

Task 2: Build a Q&A application using Amazon Bedrock Knowledge Bases with Retrieve API

Task 3: Test the Query Reformulation process supported by Amazon Bedrock Knowledge Bases

Task 4: Build and evaluate Q&A Application using Amazon Bedrock Knowledge Bases using RAG Assessment (RAGAS) framework

Task 5: Test the guardrail functionality on Amazon Bedrock Knowledge Base using RetrieveAndGenerate API

Reviews

Start your review of Lab - Build and evaluate Retrieval Augmented Generation (RAG) applications using Knowledge Bases for Amazon Bedrock

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.