
Delve into ai fundamentals with aws bedrock to build a gen ai chatbot, and set up vscode, python, streamlit, boto3, and langchain for a lms-backed backend and streamlit frontend.
Explore artificial intelligence basics and how generative AI learns patterns to generate new content, with examples like ChatGPT, GPT, DALL-E, and other foundation models.
Explore foundational models (FM) and large language models (LLM): pre-trained on vast data, not supervised, then fine-tuned for NLP tasks, enabling text-to-text, text-to-images, and sentiment analysis.
Leverage foundation models as generalized bases trained on vast data through unsupervised learning. Fine-tune them on task-specific data to power LLMs for chatbots, translations, and code analysis.
Discover Amazon Bedrock, a fully managed, serverless API for foundational models from leading AI startups. Build and customize chatbots and generative AI apps without managing infrastructure.
Discover the updated Amazon Bedrock console, automatic model access, and the model catalog. Compare Titan Text Express and other models in the chat playground, and explore agents and token counting.
Explore AWS Bedrock pricing, compare on-demand and batch models, and understand token-based costs per thousand input and output tokens; note region availability and Titan models pricing.
Explore prerequisites for building a gen AI chatbot on AWS Bedrock, including setting up an AWS account, Visual Studio Code, Python, Streamlit, Boto3, LangChain, and AWS profile authentication.
Set up a free AWS account and explore the free tier, including EC2, S3, and RDS, by creating the root user and verifying your credit card for identity.
Set up Visual Studio Code on Windows 11, install Python 3.12.2 with environment variable, verify integration in the VS Code terminal, and prep for installing boto3, Lang chain, and Streamlit.
Build a web chatbot using Streamlit for the front end, integrate Lang Chain with Boto3 and AWS Bedrock, and manage memory with a conversation chain and buffer memory.
Install boto3, streamlit, and langchain with pip in Visual Studio Code, verify installations, and launch a local streamlit app to prototype your chatbot.
Install the AWS CLI from binaries, verify the version, and enable VS Code extensions AWS Toolkit, Boto3, and Codewhisperer for smooth development and upcoming authentication setup with an IAM role.
Configure an AWS profile in Visual Studio Code using either an IAM user with access key (not recommended) or the IAM Identity Center, generate and securely manage Bedrock access keys.
Set up the AWS CLI in VSCode by configuring access key, secret and region for the bedrock profile, verify with a test S3 access, and prepare for bedrock code generation.
Use Identity Center SSO with an SSL profile to authenticate to AWS on every session, create Identity Center users, attach permission sets, and access Bedrock resources in the AWS console.
Configure the AWS CLI to use SSO via IAM Identity Center and authorize the device. Switch profiles to grant S3 read access and validate by listing an S3 bucket.
Explore chatbot architecture, including context from uploaded data via a database and retrieval augmented generation for accurate responses, then memory from chat history with LangChain and Titan LM.
Develop a Python-based chatbot backend (part 1) using bedrock chat with lang chain, backed by a conversation summary buffer memory, and build a streamlit front end to deploy a chatbot.
Define a conversation summary buffer memory with the Titan LM to summarize past messages via token-based flushing, then connect it to a conversation chain and a Streamlit front end.
Create a frontend chat interface with Streamlit and a backend glib, initialize memory and chat history, render user and bot messages, and handle chat input with get chat response.
Learn how to run a Streamlit chatbot from the terminal, fix memory and transformers errors, and explore the conversation summary buffer memory with LangChain to maintain context.
Gain insight into chat bot architecture and key components, and explore text-to-text bots alongside image, music, and story generation. Learn to build advanced, fine-tuned bots using your own data.
In the rapidly evolving landscape of technology, AI skills are essential. Whether you’re a developer, data scientist, or business professional, understanding artificial intelligence and its practical applications is crucial. The AWS Bedrock Workshop provides a hands-on learning experience to equip you with the necessary skills to create intelligent chatbots.
**Note: This course is Level 100, meant only for beginners in GenAI and AWS Bedrock.
Course Highlights
Foundations of AI and LLM: Dive into the fundamentals of artificial intelligence, FM and LLM
AWS Bedrock Service: Explore the powerful capabilities of the AWS Bedrock Service, designed specifically for leveraging Large Language Models from leading AI startups.
Creating a Basic Gen Ai Chatbot: Understand the architecture of chatbots. Learn step-by-step how to build a basic Gen AI chatbot using AWS Bedrock services.
Leveraging Leading Language Models (LLMs): Learn how to integrate state-of-the-art language models from leading startups via AWS Bedrock. These LLMs enhance your chatbot’s conversational abilities. We'll use Amazon Titan FM in this workshop.
Hands-On Labs: Engage in practical labs where you’ll use Visual Studio Code to run Python code, Langchain, and Streamlit to build your Gen AI chatbot. You'll also learn how to configure AWS Identity and configure it in AWS CLI to authenticate to AWS Bedrock Service.
Why Take This Workshop?
This workshop is designed for students who are new to the field of Generative AI (Gen AI). It is concise and focused, providing you with practical knowledge on using the following tools:
Visual Studio Code: Learn how to use this popular code editor efficiently.
Python: Explore the basics of Python programming.
Langchain: Discover how to leverage Langchain for natural language processing.
Streamlit: Create interactive web applications with Streamlit.
No prior experience with these tools is required; we’ll learn together as we go. By the end of this workshop, you’ll have a taste of Gen AI and the skills to explore this exciting field further on your own.
Join me in this AWS Bedrock Workshop and learn the HIGHLY DEMANDING skill...
#Change Log:
(26-Oct-2025)
1. Updated the code in the GitHub repository inline with the latest langchain modules
2. Bedrock models don't need to be requested enabling, all models are enabled by default now
3. Included requirement.txt file and scripts to help you with the dependencies to be installed to run the chatbot on your system
4. Readme is updated with more instructions
5. Coming days, you'll see the lectures will be updated to reflect the changes.