dev-resources.site
for different kinds of informations.
Generate-Blogs-using-Amazon-Bedrock-Service
Published at
1/3/2025
Categories
ai
aws
cloud
deeplearning
Author
عبدالله عياد | Abdullah Ayad
Before you start, here are some prerequisites:
- Python
- AWS Background
- AWS Lambda Function
- Machine Learning Skills
So, let's get started...
Steps:
Here is the code repo we need https://github.com/a00ayad00/Generate-Blogs-using-Amazon-Bedrock-Service
- Go to AWS Lamda Function and Create a function with Python 3.11
- Create a layer in the function: Go to the repo and download the zip file boto3_layer.zip or:
Go to any terminal and run the following command line:
pip install boto3 -t python/
Add this python folder to another folder and zip the folder
Go to the layer section and start to create one
. Upload this zip file when you create the layer
Put the code that is in the repo (app.py) in the function
You can test it by creating an event that its body looks like
{
'blog_topic': any_topic_you_want
}
- Next, you can make an API from this app (API Gateway). Please tell me if you want me to write another blog explaining how to create an API from this function.
Articles
12 articles in total
Generate-Blogs-using-Amazon-Bedrock-Service
currently reading
How did I pass the AWS Machine Learning Speciality Exam?
read article
How did I pass the AWS Machine Learning Speciality Exam?
read article
High Level Machine Learning services on AWS
read article
Amazon Textracts Overview
read article
Amazon Personalize Overview
read article
Amazon Kendra Overview
read article
Amazon Forecast Overview
read article
Amazon SageMaker Overview
read article
Amazon Comprehend Medical Overview
read article
Amazon Comprehend Overview
read article
Amazon Lex and Connect Overview
read article
Featured ones: