
Course roadmap covering Bedrock setup, text and image models, embeddings, vector databases, RAG applications, Bedrock knowledge bases, custom models, and AWS CDK/Terraform infrastructure-as-code sections.
Udemy platform guidance covering playback speed, GitHub diff code resources, Python vs TypeScript lecture selection, Q&A usage, and course review timing.
Required tools for the course: AWS account with Bedrock access, VS Code editor, Python, and Node.js installation for following Python or TypeScript code examples.
Overview of Amazon Bedrock fundamentals covering supported foundation models, the Bedrock console, and Python and TypeScript SDK access setup for building applications.
Amazon Bedrock definition covering serverless and provisioned model access, foundation model providers Amazon, Anthropic, Cohere, and Meta, and text, image, and embedding use cases.
Bedrock console walkthrough covering the model catalog, region-based model availability, Anthropic Claude Haiku access request, and playground testing with system prompts, temperature, top P, and max tokens.
IAM user creation for CLI access, AWS access key generation, AWS CLI installation, and aws configure setup for calling Bedrock APIs from a local machine.
Boto3 SDK installation in a Python virtual environment, bedrock client setup, and list_foundation_models and get_foundation_model API calls for Amazon Bedrock.
AWS SDK for JavaScript v3 setup with @aws-sdk/client-bedrock, TypeScript configuration, and ListFoundationModelsCommand and GetFoundationModelCommand usage.
VS Code debugger configuration for Python and TypeScript Bedrock projects using launch.json, the Python debugger, and the tsx debug recipe for Node.js.
Overview of Amazon Bedrock text model access, inference parameters, and Converse API and Invoke API usage in Python and TypeScript.
Amazon Nova and Titan text model pricing and access via the Bedrock model catalog, plus the difference between the model-specific Invoke API and the unified Converse API.
Token concepts for Bedrock text models covering max token limits per model, the OpenAI tokenizer, and token-based pricing calculations for input and output.
Inference parameters for Bedrock text models including temperature, top P nucleus sampling, stop sequences, and camelCase vs snake_case naming across Titan, Llama, and Anthropic models.
Boto3 implementation of the Invoke API with Meta Llama 3 and the Converse API with Amazon Nova Lite, including system prompts, in Python.
AWS SDK client-bedrock-runtime implementation of InvokeModelCommand with Llama 3 and ConverseCommand with Amazon Nova Lite in TypeScript.
Prompt engineering fundamentals covering prompt context, reference text, and task instructions for summarization using the Amazon Bedrock Converse API.
Multi-turn chatbot implementation with Boto3 and the Converse API, message history arrays, user and assistant roles, and system prompts in Python.
Multi-turn chatbot implementation using the AWS SDK Converse API, a Node.js stdin listener, conversation history array, and system prompts in TypeScript.
Overview of Amazon Bedrock Guardrails covering content safety, PII filtering, denied topics, and compliance controls between users and AI models or agents.
Bedrock Guardrails console setup with content filters, prompt attack protection, denied topics, word filters, and PII filtering, tested against Claude models in the playground.
Guardrail ID and version attachment to the Converse API guardrailConfig parameter for enforcing content filtering in Bedrock SDK calls.
Overview of Bedrock image generation covering model parameters and Python and TypeScript SDK usage for Stability AI and Titan image models.
Bedrock image model catalog covering Amazon Titan and Stability AI providers, model access requests, and per-resolution pricing for image generation.
Stability AI image model parameters including aspect ratio, output format, seed, negative prompt, and a style preset workaround via inline prompt text.
Stable Image Core model invocation via the Bedrock SDK in Python and TypeScript, with base64 image decoding from the response body.
Amazon Titan Image Generator text-to-image task type, negative text parameter, and image generation config with height, width, and CFG scale in Python and TypeScript.
Titan Image Generator inpainting task type with the mask prompt parameter for editing existing images using Python and TypeScript.
Overview of embeddings and vector databases covering Amazon Bedrock embedding models for text and image similarity search.
Embedding vectors, dot product and cosine similarity calculations, and the Amazon Titan Embed Text v1 and Titan Embed Image v1 models explained.
Amazon Titan Embeddings G1 Text model invocation for generating 1536-dimension text embeddings in Python and TypeScript.
Cosine similarity comparison across a list of text facts using Titan Embed Text v1 embeddings to find the most relevant match in Python.
Cosine similarity ranking of text embeddings generated with Titan Embed Text v1 to find the most relevant fact using TypeScript.
Amazon Titan Embed Image model used to compare image similarity via base64 encoding and cosine similarity for a lightweight image search engine in Python.
Titan Embed Image v1 model invocation and cosine similarity comparison for building an image search application in TypeScript.
Vector database concepts covering Pinecone, Chroma, Redis, pgvector, Amazon OpenSearch, Aurora PostgreSQL, and DocumentDB, plus the embedding storage and query workflow.
Course progress checkpoint before project-based sections covering RAG applications, text and image APIs, knowledge bases, and infrastructure as code with CDK and Terraform.
Overview of building a local RAG application with LangChain and Amazon Bedrock, covering hardcoded text data and PDF document question answering.
LangChain framework overview for LLM applications covering chains, agents, vector database integrations, and abstractions for Amazon Bedrock applications.
LangChain Bedrock LLM wrapper, ChatPromptTemplate with system and human messages, and a basic chain pipeline using Boto3 in Python.
LangChain Bedrock model wrapper, ChatPromptTemplate construction, and prompt-to-model chain piping using the AWS SDK in TypeScript.
Retrieval augmented generation architecture covering document chunking, embedding models, vector database storage, and the query retrieval workflow.
FAISS in-memory vector store, Bedrock embeddings, a retriever, and a ChatPromptTemplate chain for question answering over hardcoded text data in Python.
MemoryVectorStore, Bedrock embeddings, a retriever with a k parameter, and a prompt template chain for RAG question answering in TypeScript.
PyPDFLoader document ingestion, RecursiveCharacterTextSplitter chunking, a FAISS vector store, and retriever-based question answering over a PDF in Python.
PDF loading with a PDF loader, RecursiveCharacterTextSplitter chunking, MemoryVectorStore, and retriever-based question answering over a PDF document in TypeScript.
Overview of building a text summarization API using Amazon Bedrock, API Gateway, Lambda, and IAM.
Text summarization API architecture covering API Gateway POST requests, Lambda, Bedrock text model integration, and IAM role permissions.
Boto3 Lambda handler invoking Amazon Titan Text Express for text summarization, parsing the API Gateway event body and query string parameters in Python.
AWS Lambda console deployment of the Python summary function, handler configuration, timeout increase, bedrock:InvokeModel IAM permission, and test event execution.
Lambda handler using client-bedrock-runtime InvokeModelCommand with Amazon Titan Text Express for text summarization via an API Gateway proxy event in TypeScript.
AWS Lambda console deployment of the compiled TypeScript summary function, handler and timeout configuration, IAM bedrock permissions, and a test event.
API Gateway REST API resource, POST method, and Lambda proxy integration setup for exposing the summary Lambda as a web service.
AWS CDK Python stack defining a Lambda function, an IAM bedrock:InvokeModel policy, and an API Gateway REST API with cdk synth and deploy.
AWS CDK TypeScript stack with a NodejsFunction Lambda, a bedrock invoke IAM policy, and API Gateway integration deployed via CDK.
Overview of building an image generation API using Amazon Bedrock, API Gateway, Lambda, and S3 with signed URL responses.
Image generation API architecture covering API Gateway, Lambda, the Bedrock text-to-image model, S3 storage, and signed URL generation.
Boto3 Lambda handler invoking Amazon Titan Image Generator, saving base64 images to S3, and generating pre-signed URLs in Python.
AWS Lambda console deployment of the image generation function, bedrock and S3 IAM permissions, timeout configuration, and test event execution.
client-bedrock-runtime and client-s3 Lambda handler for Titan Image Generator invocation, S3 PutObjectCommand, and getSignedUrl generation in TypeScript.
AWS Lambda console deployment of the TypeScript image function, bedrock and S3 IAM policy configuration, and test event execution.
API Gateway REST API POST method with Lambda proxy integration for exposing the image generation Lambda as a web service.
AWS CDK Python stack with an S3 bucket, a Lambda function, a bedrock IAM policy, and API Gateway for the image generation API.
AWS CDK TypeScript stack using NodejsFunction, esbuild bundling, an S3 bucket grant, and API Gateway for the image generation API.
Unleash the Power of Generative AI on AWS with This Comprehensive Course!
Welcome to Amazon Bedrock - The Ultimate Guide to AWS Generative AI – your gateway to mastering the fusion of cutting-edge AI technology and the unparalleled scalability of Amazon Web Services (AWS).
In this course, you'll dive deep into the world of Generative AI, harnessing its potential to create innovative solutions across diverse domains. Whether you're a seasoned data scientist, a visionary entrepreneur, or a curious developer, this course is your ticket to unlocking limitless possibilities.
Key Highlights:
Hands-On Practice: Dive right into real-world scenarios with practical exercises using Python's boto3, JavaScript SDKs, and TypeScript, coupled with VSCode debugging for seamless development.
Text and Image Models: Explore the magic of text generation with chatbots, delve into image generation with state-of-the-art models, and master embedding techniques for vector databases.
Advanced Applications: From LangChain to RAG apps and document processing, you'll explore a wide array of advanced applications, empowering you to tackle complex challenges with confidence.
Amazon Bedrock Mastery: Get up close and personal with Amazon Bedrock – the game-changer for deploying scalable, reliable, and secure Generative AI applications on AWS. Practice sections ensure you're well-versed with Bedrock, ready to tackle any project.
Key topics covered in this course include:
Amazon Bedrock introduction and setup for console and CLI access
Code examples with Python and TypeScript
Integration between Bedrock and LagChain
Building an Amazon Bedrock chat bot with history
Building Image APIs backed by Amazon Bedrock
Learn all about the essence of AI: embeddings with Bedrock
Build state of the art RAG app with Bedrock Knowledge bases
Fine tune models and create your custom models.
Why Choose This Course?
Expert Guidance: Learn from industry experts with years of experience in AI and AWS.
Practical Approach: Gain hands-on experience with guided exercises and real-world case studies.
Don't miss out on this opportunity to become a trailblazer in the world of AI innovation! Enroll now and embark on your journey to becoming a Generative AI expert with Amazon Bedrock and AWS.
Go beyond the theory and learn from active instructors, aligned with today's programming demands!
Let's revolutionize the future together!