Skip to content

debugnlift07/bedrock-aws-cloude-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🤖 AI Chatbot (AWS Bedrock + Claude + React)

A serverless AI chatbot built using AWS Lambda, API Gateway, Amazon Bedrock (Claude), and React. This project demonstrates how to build a ChatGPT-like application using modern cloud-native architecture.

🧱 Architecture Overview

User (React UI)
        ↓
API Gateway (HTTP API)
        ↓
AWS Lambda (Python)
        ↓
Amazon Bedrock (Claude)
        ↓
AI Response

Components

  • React UI: Chat interface for user interaction
  • API Gateway: Public API endpoint
  • AWS Lambda: Backend logic
  • Amazon Bedrock: AI model invocation
  • Claude (Anthropic): Generates responses

⚙️ Features

  • 💬 ChatGPT-like interface
  • ⚡ Serverless backend
  • 🤖 AI-powered responses
  • 🌐 Public API integration
  • 🔄 Real-time chat

▶️ How to Run

1. Clone Repository

git clone <repo-url>
cd bedrock-rag-chat-app

2. Backend Setup (AWS)

  • Create Lambda function
  • Add IAM permissions for Bedrock
  • Create API Gateway → POST /chat

3. Frontend Setup

cd frontend
npm install
npm start

4. Configure API

https://YOUR_API_ID.execute-api.us-east-1.amazonaws.com/Devlopment/chat

🔐 Environment Details

  • Region: us-east-1
  • Runtime: Python 3.11
  • Model: Claude (via Bedrock)

🧠 How It Works

User enters message
        ↓
API Gateway receives request
        ↓
Lambda processes input
        ↓
Bedrock invokes Claude
        ↓
Response sent back to UI

💬 Example Interaction

User: What is AWS Lambda?

AI: AWS Lambda is a serverless compute service...

📸 Application Preview

Image

🛠️ Technologies Used

  • React.js
  • AWS Lambda
  • Amazon API Gateway
  • Amazon Bedrock
  • Claude (Anthropic)
  • Python (boto3)

📌 Key Highlights

  • Serverless AI architecture
  • Full-stack implementation
  • Real-time chatbot
  • Scalable and cost-efficient

🚀 Future Enhancements

  • PDF Upload + RAG (S3)
  • Chat history (DynamoDB)
  • Authentication (Cognito)
  • UI improvements

👨‍💻 Author

Built as part of Cloud + Generative AI learning journey 🚀

About

Designed and developed a serverless AI chatbot leveraging Amazon Bedrock (Claude), AWS Lambda, and React. Showcases cloud-native architecture and generative AI integration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages