
We will take a 10,000 foot view on different models. We will start with Foundation models followed by Language Model, Large Language Model and MultiModal
We will cover LLM inference parameters that are used for managing LLM response. We will cover 3 most prominent parameters - Temperature, top K, and top P
Learn how embedding models convert natural language queries into vector representations and how vector embeddings enable semantic search by measuring distances between similar vectors.
In this video, we will cover what is RAG pipeline all about.
Explore how AWS bedrock uses knowledge bases and retrieval augmented generation to answer queries, with retrieve and generate API, guardrails, and storage, and connect knowledge bases to agents for Rag.
We will cover required IAM user policies that are needed for the user to access Knowledge Bases in Bedrock.
Configure knowledge base retrievers in bedrock, covering search type (semantic or hybrid), inference parameters, prompt templates, filters, and guardrails to optimize retrieval quality.
Learn to sync a bedrock knowledge base with vector storage, use OpenSearch serverless, validate data with dev tools, and summarize content via Claude in a bedrock knowledge base workflow.
Delete unused resources in your Amazon Bedrock account after experiments, including vector storage and replicas; verify OpenSearch default vector storage in the dashboard and check Oregon replicas to avoid charges.
We will use create RAG pipeline using OpenAI, OpenSource tools and platforms like HuggingFace, Haystack and open source embedding models like all-minilm and open source library Haystack
Explore how retrievers power document retrieval in rag pipelines, including sparse keyword-based retrievers, dense embedding based retrievers, sparse embedding based retrievers, filter retrievers, and hybrid retrievers, with practical Haystack examples.
We will learn about agents. We will also learn about different components that goes into building Agents. Finally, we will cover build time execution of Agent architecture
We will learn about Runtime execution of Agents components with a flow diagram
Add parameters to an action group and invoke a lambda to multiply two numbers, then deploy, run, and trace the orchestration to verify the result.
Develop a multimodal agent by indexing nutrition data with haystack into an in-memory document store, embedding content with all mini LM six v2, and constructing a multimodal prompt for images.
Build and run a multimodal ai agent with FastTrack as tool manager and conversational memory, using a nutrition tool to fetch fat and protein data from images and reason stepwise.
Explore react prompting to guide agents through thought, action, and observation with tools. The lecture uses a doc retriever to describe how a bird chirps and generate three main steps.
Index seven wonders data from Hugging Face, embed documents with sentence transformers, and run a multimodal agentic pipeline that routes questions to tools like Seven Wonders and nutrition tools.
Install crew AI and dependencies with Pipenv in a Python 3.11 PyCharm setup, then build a travel agent by importing crew AI components to plan activities.
Create a YAML-based crew configuration to define three agents—activity planner, restaurant scout, and itinerary compiler—each with a role, goal, and backstory to generate personalized travel itineraries.
Create a planner agent and related tasks with YAML configs, decorators, and crew base class, tying agents to tasks and outputting a JSON crew object.
Learn to install and run zap proxy with both the web UI and CLI, perform automated and manual penetration testing, and review findings like CSRF and CSP issues.
Build a cybersecurity penetration test agent using zap proxy and crew ai components in Python, configuring agent and task files and assembling a crew class to run the pentest flow.
Learn how prompts structure instructions for generative AI using natural language text, including instruction, context, input data, and output format, to translate human intent into tasks.
We will explore prompt management console from Amazon Bedrock. We will do hands on with zero shot prompt, few shot prompt and COT(Chain of Thought) prompts
Explore how Amazon Bedrock Flows lets you build end to end generative AI workflows by linking prompts, foundational models, and AWS resources through a visual flow builder.
Delete unused resources in your AWS bedrock account after experiments, including vector storage and replicas, verify OpenSearch as the default vector store, and clean serverless dashboards to avoid charges.
Build a builder tool lab by wiring knowledge bases, agents, prompts, and flows to classify inputs with the unit test book prompt and route to time or unit test agents.
Updated videos with new and improved slides. Fixed all the voice issues. Hope you like the course and please give feedback!
Unlock the Power of Amazon Bedrock to Build AI-Powered Applications
Welcome to Mastering Amazon Bedrock, a comprehensive course designed to help you harness the power of AWS Bedrock’s tools and services. Whether you're a beginner or an experienced developer, this course will take you step-by-step through concepts, configurations, and hands-on exercises that showcase the potential of AWS Bedrock in building intelligent applications.
What You’ll Learn:
Knowledge Bases (KB): Dive deep into the concept of vector embeddings and retrieval-augmented generation (RAG), essential for optimizing large-scale AI applications. Learn how to configure Knowledge Bases and integrate them seamlessly with other AWS Bedrock tools using practical examples to solidify your understanding.
RAG with Amazon Bedrock - We will use Anthropic Claude Model with OpenSearch Serverless as vector storage to perform the RAG operations
RAG with Open Source - We will also use OpenAI's ChatGPT model with in memory vector storage to perform RAG operations
Retrievers - RAG pattern relies heavily on retrieval. There are many ways to retrieve data for summarization. We will learn and explore about different ways to retrieve the contents. Followed by a hands-on activity
AI Agents: Master the configuration of AWS Bedrock agents to streamline AI workflows. Gain hands-on experience in implementing action groups, handling parameters, and orchestrating requests effectively to Knowledge Bases. Understand how agents serve as the backbone of dynamic and intelligent AI interactions. We will cover 2 use cases of AI Agents.
Multimodal Nutritional AI Agent - We will use Open Source components like Haystack, FastRag, HuggingFace with Multimodel modal Phi-3.5-vision-instruct to run multi Agentic use case. We will also cover multi agentic Tools with Multi-Hop and ReAct Prompt.
Multi-Agentic Travel AI Agent - We will use Open Source framework - CrewAI and OpenAI ChatGPT model with planning and reasoning ability using Tools with Multi-Hop and ReAct Prompt.
AI Agents for Cybersecurity/Penetration Testing with GenAI Multi-Agentic Agent - Learn about AI Agents and do a Hand On to scan Web Vulnerabilities for Cyber Security Penetration Testing using Open Source framework, CrewAI.
Prompt Management: Develop expertise in creating, managing, and optimizing prompts to fine-tune AI responses. Explore the use of variables and strategies for effective prompt engineering, a critical skill for delivering customized user experiences in AI applications.
Flows: Learn to build advanced workflows by integrating Knowledge Bases, AI Agents, and Prompts. Flows allow you to design seamless interactions and manage complex application logic, ensuring efficient and scalable AI solutions.
Hands-On Lab: Apply your knowledge through hands-on labs that walk you through building end-to-end solutions. Combine Knowledge Bases, AI Agents, Flows and Prompts to create practical, real-world AI applications that solve complex problems.
Guardrails: Understand the importance of security and compliance in AI systems. Learn how to implement robust guardrails to ensure your applications adhere to best practices, remain reliable, and mitigate risks effectively. We will cover different Guardrails Topics like Hallucination, Prompt Injections and take a deep dive into each one of them.
Guardrails with Amazon Bedrock - We'll do a hands-on Guardrails(text, image) on Bedrock platform.
Guardrails with Open Source tools - We will also do a hands-on Guardrails with Open Source models like Prompt Guard (Llama Family), Phi3 Hallucination Judge from HuggingFace to detect Prompt Injection and Hallucination respectively on a Google Colab notebook.
Evaluators: Evaluate, compare, and select the foundation model for your use case with Model Evaluation. Prepare your RAG applications for production that are built on Amazon Bedrock Knowledge Bases or your own custom RAG systems by evaluating the retrieve or retrieve and generate functions.
We will cover topics like LLM-As-A-Judge, Context Relevancy using Amazon bedrock platform and open source tools
Batch Inference: With batch inference, you can submit multiple prompts and generate responses asynchronously. Batch inference helps you process a large number of requests efficiently by sending a single request and generating the responses in an Amazon S3 bucket.
Model Fine Tune: We will fine-tune a pre-trained foundation model to take advantage of their broad capabilities while customizing a model on your own small, corpus.
MCP (Model Context Protocol)