Amazon Bedrock Tutorial: Generative AI on AWS

  Рет қаралды 15,692

pixegami

pixegami

Күн бұрын

Пікірлер: 27
@withagratefulheart
@withagratefulheart 6 ай бұрын
Will AWS charge for trying out things in playground
@maxzhao2635
@maxzhao2635 10 ай бұрын
This is a great tutorial! I have already set up my AWS account and CLI. I run your code and it works for the first time. Thank you so much!
@pixegami
@pixegami 10 ай бұрын
Awesome! Glad to hear it went well :)
@JoeCummings
@JoeCummings 10 ай бұрын
excuse my naivete but why would I write all that long code if I can literally just type in the image prompt what I want instead and get the same result?
@pixegami
@pixegami 10 ай бұрын
The web UI is great for one-off generations. But the “long code” is a programmatic way to control your use of GenAI. You only need to type it once, but it gives you the power to automate future generations. For example you might want it to generate a image automatically once per day for your app. Or you want it to generate 1000 different character designs at once, based on a set of descriptions. Doing those manually is going to cost more in the long run than a well written automation.
@JoeCummings
@JoeCummings 10 ай бұрын
@@pixegami thanks! Great response and great content
@carlki
@carlki 10 ай бұрын
Can you do a tutorial on comparing 2 or more documents via file upload?
@pixegami
@pixegami 10 ай бұрын
Yup! I'm working on that and will publish a video soon (using Langchain, RAG and OpenAI).
@kailash8421
@kailash8421 9 ай бұрын
How can we do a AI search within a data source internally instead of Global? Otherwords invokemodel should fetch the results from the data source that I point.
@pixegami
@pixegami 9 ай бұрын
The easiest most common way to do this is to use a technique called "RAG" (Retrieval Augmented Generation). This is what OpenAI uses as well when you build a custom GPT. Here's some info on how to get started: python.langchain.com/docs/expression_language/cookbook/retrieval Here's a video tutorial I recorded about it (it uses OpenAI instead of AWS though, but you can change that): kzbin.info/www/bejne/qpTUdoiJg6ihbqs
@lcanchedou2413
@lcanchedou2413 8 ай бұрын
When trying to enable the models with root user I get this error message: Access request for 1 models failed • SDXL 1.0 - Operation not allowed
@pixegami
@pixegami 7 ай бұрын
Hmm, are you attempting this with an Admin user, and also in one of the supported regions (us-east-1, us-west-2)?
@lcanchedou2413
@lcanchedou2413 5 ай бұрын
@@pixegami yes, as root user and us-east-1. I created my aws account many years ago. So my workaround was to create another free-tier account.
@kenkrueger65
@kenkrueger65 9 ай бұрын
Thanks, easy to follow. Just FYI Amazon offers an image model now: Titan Image Generator G1
@pixegami
@pixegami 9 ай бұрын
Thank you :) Yes I just saw that! And Stable Diffusion is upgraded to a newer version too. AI moves too fast!
@tomwawer5714
@tomwawer5714 8 ай бұрын
Thanks for tutorial! I’m really confused I cannot enable any model. I’m root user and I chose us region. What can be wrong?
@pixegami
@pixegami 8 ай бұрын
What error do you see when you try to enable them? If you are in us-east-1 and are logged in as an Admin, it should just work :(
@tomwawer5714
@tomwawer5714 8 ай бұрын
Hey I think it was some transient. All is good now and I get super cool material :) thanks for your tutorials !!
@alpaykasal2902
@alpaykasal2902 9 ай бұрын
Thanks for the awesome video.. i was wondering if you know if i can import other models and lora's and i plan to use the python output by comfyui. I've had trouble finding this info for bedrock. Any insights? Thanks again. To me, it looks like just the plain vanilla foundation models... I'm hoping you maybe tried an import from huggingface on your own.
@pixegami
@pixegami 9 ай бұрын
I haven't really gone deep into using Stable Diffusion and ComfyUI before, but just looking at the website, I think it's a different use-case to what you'd wanna use AWS Bedrock for. I think that use-case is if you have your own models (like SDXL) and are self-hosting it and want to set up a more complex image generation pipeline with more control (from what I read on github.com/comfyanonymous/ComfyUI). But the use case for AWS Bedrock is more where you don't mind having less control on the image generation itself, but just want to access via an API and have it easily integrated with a web-app or other service.
@alpaykasal2902
@alpaykasal2902 9 ай бұрын
@@pixegami Thanks for the response... I did a bit more research and I totally agree with you. Baseten has a pretty thorough blog and video showing what I'm after, I'm going to give that a try. Merry christmas!
@modoulaminceesay9211
@modoulaminceesay9211 Ай бұрын
Thanks for this tutorial
@malkitsingh01
@malkitsingh01 5 ай бұрын
Just discovered the channel. Great content and production quality ❤ subd
@pixegami
@pixegami 5 ай бұрын
Thank you! Welcome aboard!
@arpangupta6461
@arpangupta6461 7 ай бұрын
My request failing for accessing models
@carlki
@carlki 10 ай бұрын
Great tutorial!
@pixegami
@pixegami 10 ай бұрын
Thank you!
AWS SQS Overview For Beginners
28:49
Be A Better Dev
Рет қаралды 121 М.
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 261 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 59 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН
Generative AI In AWS-AWS Bedrock Crash Course #awsbedrock #genai
37:16
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 275 М.
Top 5 High Paying Tech Skills to Learn in 2024
16:10
pixegami
Рет қаралды 15 М.
Python Langchain Tutorial: Use 3 Different LLMs in 10 Mins
11:35
Chat With Documents | Fully Managed RAG on Amazon Bedrock | NO-CODE
23:22
Data Science Basics
Рет қаралды 1,9 М.
How to Get Started with AWS • Crash Course
28:26
pixegami
Рет қаралды 4,3 М.
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 261 МЛН