Generate-Blogs-using-Amazon-Bedrock-Service

Requirements
conda create "Your environment name" python==3.12
pip install boto3 awscli

To generate the boto3 layer file for AWS Lambda Function
pip install boto3 -t python/
Add this python subfolder to another folder and zip the folder

Services I used

  • Amazon Bedrock
  • Lambda Function
  • Amazon S3
  • API Gateway

Example
Input Prompt: Write a blog of about 200 words about Machine Learning and GenAI
Output File: See Machine Learning and GenAI.txt