Amazon Bedrock - Build Generative AI service

閱讀時間約 10 分鐘

AWS Generative AI Service - Amazon Bedrock Launched April 2023 , 28 September 2023 Amazon Generative AI Service Amazon Bedrock is now officially released and available.

Amazon Bedrock Is Now Generally Available – Build and Scale Generative AI Applications with Foundation Models


Introduction

In the ever-expanding realm of Artificial Intelligence (AI), generative AI stands out as a potent force for crafting innovative content, enriching user interactions, and streamlining intricate operations. Amazon Web Services (AWS) introduces Amazon Bedrock, a comprehensive hosted service that empowers developers to tap into the capabilities of top-tier AI startups as well as Amazon own Foundation Models (FMs).


What is Amazon bedrock?

Amazon Bedrock is a serverless, fully managed solution that provides access to a diverse range of foundational models via a user-friendly API. These models have been developed by renowned AI pioneers, including AI21 Labs, Anthropic, Cohere, Stability AI, and Amazon in-house innovation, Amazon Titan. You can leverage this service to identify the optimal Foundation Model (FM) tailored to their unique use cases, conduct hassle-free experimentation, and seamlessly incorporate them into their applications using a suite of AWS tools and functionalities.


Amazon Bedrock Key Features:

1. Diverse Foundation Models: Bedrock offers a wide variety of foundation models suitable for different applications, including text and images, giving you flexibility in choosing the right model.

2. Private Customization: You can customize these models privately with your own data, granting you exceptional control and adaptability for tailoring AI solutions to your specific needs.

3. Serverless Convenience: Bedrock provides a user-friendly serverless experience, simplifying model integration and deployment using familiar AWS tools. This eliminates infrastructure management complexities and enables a focus on building advanced AI applications.

Amazon Bedrock streamlines generative AI usage, offering diverse models, private customization, and a hassle-free serverless experience—a top choice for developers seeking to create innovative AI applications effortlessly.


Prerequisites

The Amazon Bedrock region is currently only supported in the following areas: US East (N. Virginia), US West (Oregon), US East (Ohio), and Asia Pacific (Singapore).

raw-image

Subscribe to Models in the Amazon Bedrock

Navigate to the "Model access" option in the left-hand menu and activate the models you wish to utilize.

raw-image

I reviewed the terms of use, selected all the available models and then saved it.

raw-image

For Claude models, you will need to provide additional details to gain access.

raw-image

Ready to use within minutes of saving.

raw-image


Playground

PlayGrounds panel available at Amazon Bedrock that allows us to quickly test the behavior in our models.


Image playground

Generate images using Stability AI "SDXL0.8".

cat, wine, evening, big ben

cat, wine, evening, big ben

View API Request

raw-image
{
"modelId": "stability.stable-diffusion-xl-v0",
"contentType": "application/json",
"accept": "application/json",
"body": "{\"text_prompts\":[{\"text\":\"cat, wine, evening, big ben\"}],\"cfg_scale\":10,\"seed\":0,\"steps\":50}"
}


Chat playground

I tried the "Jurassic-2 Ultra" from AI21 Labs.

raw-image

I confirmed that I can also chat in Mandarin, but it doesn't work well.


Text playground

Cohere AI

Give me a python hello world example.

Give me a python hello world example.

View API request

{
"modelId": "cohere.command-text-v14",
"contentType": "application/json",
"accept": "*/*",
"body": "{\"prompt\":\"Give me a python hello world example.\",\"max_tokens\":400,\"temperature\":0.75,\"p\":0.01,\"k\":0,\"stop_sequences\":[],\"return_likelihoods\":\"NONE\"}"
}


Using Amazon Bedrock from Boto3


Amazon Bedrock Pricing

On-Demand pricing:

AI21 Labs

raw-image

Amazon

raw-image

Anthropic

raw-image

Cohere

raw-image

Stability AI

raw-image


Reference

https://aws.amazon.com/bedrock/

https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html


15會員
63Content count
留言0
查看全部
發表第一個留言支持創作者!
西尼亞ming的沙龍 的其他內容
使AWS IAM User 可以查看 Billing 和 Cost Management console, 而不用登入Root User。 使用 Root User 登入 AWS 管理主控台 在導覽列上方右側點擊您的帳戶名稱,然後選擇 Account 頁面往下方,請選擇 IAM User
文/Ming Reserved Instance (RI) 相比較On-demand Instance,預留實例能夠節省高達 72% 的成本。你只需提交特定的Instance配置、Instance類型和可以是1年或3年的持續時間。 非常適合持續的工作負載,例如EC2、RDS、Elaticach
RI 是否會自動續約? RI是不會自動續訂, 但您可設置佇列,確保RI到期後會依照您的佇列, 以帳戶默認的付款方式購買RI。 詳細資訊請參考: https://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ri-market-conc
每個 AWS 帳戶所對應的Availability Zones會有所不同,查看方式可以至EC2 Console 中的EC2 Dashboard。
我想變更 AWS 帳戶根使用者關聯的電子郵件地址 以Root使用者身份登入,選擇 Account Settings (帳戶設定) 旁邊的 Edit (編輯) 2.更新與帳戶關聯的電子郵件地址。 注意:您無法使用已在其他 Amazon.com 或 AWS 帳戶上使用的電子郵件地址。 更改完成將會
當在管理 AWS 帳戶常常提醒 User 要設置啟用 MFA 來保護帳號安全,但常常這樣提醒是蠻累的,這是可以透過Policy來強制使用,當未啟用 MFA 將無法使用所有功能,除設置 MFA 例外。 Policy 如下: { "Version": "2012-10-17", "S
使AWS IAM User 可以查看 Billing 和 Cost Management console, 而不用登入Root User。 使用 Root User 登入 AWS 管理主控台 在導覽列上方右側點擊您的帳戶名稱,然後選擇 Account 頁面往下方,請選擇 IAM User
文/Ming Reserved Instance (RI) 相比較On-demand Instance,預留實例能夠節省高達 72% 的成本。你只需提交特定的Instance配置、Instance類型和可以是1年或3年的持續時間。 非常適合持續的工作負載,例如EC2、RDS、Elaticach
RI 是否會自動續約? RI是不會自動續訂, 但您可設置佇列,確保RI到期後會依照您的佇列, 以帳戶默認的付款方式購買RI。 詳細資訊請參考: https://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ri-market-conc
每個 AWS 帳戶所對應的Availability Zones會有所不同,查看方式可以至EC2 Console 中的EC2 Dashboard。
我想變更 AWS 帳戶根使用者關聯的電子郵件地址 以Root使用者身份登入,選擇 Account Settings (帳戶設定) 旁邊的 Edit (編輯) 2.更新與帳戶關聯的電子郵件地址。 注意:您無法使用已在其他 Amazon.com 或 AWS 帳戶上使用的電子郵件地址。 更改完成將會
當在管理 AWS 帳戶常常提醒 User 要設置啟用 MFA 來保護帳號安全,但常常這樣提醒是蠻累的,這是可以透過Policy來強制使用,當未啟用 MFA 將無法使用所有功能,除設置 MFA 例外。 Policy 如下: { "Version": "2012-10-17", "S
你可能也想看
Thumbnail
1.加權指數與櫃買指數 週五的加權指數在非農就業數據開出來後,雖稍微低於預期,但指數仍向上噴出,在美股開盤後於21500形成一個爆量假突破後急轉直下,就一路收至最低。 台股方面走勢需觀察週一在斷頭潮出現後,週二或週三開始有無買單進場支撐,在沒有明確的反轉訊號形成前,小夥伴盡量不要貿然抄底,或是追空
Thumbnail
重點摘要: 1.9 月降息 2 碼、進一步暗示年內還有 50 bp 降息 2.SEP 上修失業率預期,但快速的降息速率將有助失業率觸頂 3.未來幾個月經濟數據將繼續轉弱,經濟復甦的時點或是 1Q25 季底附近
Thumbnail
近期的「貼文發佈流程 & 版型大更新」功能大家使用了嗎? 新版式整體視覺上「更加凸顯圖片」,為了搭配這次的更新,我們推出首次貼文策展 ❤️ 使用貼文功能並完成這次的指定任務,還有機會獲得富士即可拍,讓你的美好回憶都可以用即可拍珍藏!
Thumbnail
有在做Amazon自助出版(Kindle Direct Publishing)的人,這邊推薦一個平時追蹤分析銷售數據的便利工具 – BOOK REPORT。 什麼是Amazon自助出版 請參考: → 作家出書不求人,Amazon自助出版 ( Kindle Direct Publishing ) B
Thumbnail
位於加州柏克萊的亞馬遜四星選物實體店面!從網路起家的亞馬遜對實體店面的想像倒底有什麼不一樣呢?
Thumbnail
艾兒莎最近在宿霧一有時間就大量閱讀,因為我今年的目標是想要打造更強的團隊,所以營造公司文化是必須的!大家想到亞馬遜應該就會直覺覺得他是一間鼓勵創新的公司,而且各大媒體也把它評為『最佳創新公司』前50名,亞馬遜為什麼名聲那麼好?
本篇教學以amazon一般賣家申請作為教學 逐步手把手步驟操作 希望對欲加入跨境電商的朋友有所幫助 詳細圖文再找時間寫囉~ 謝謝~
Thumbnail
跨國電子商務企業王國 Amazon 企業文化一向迥異於其他企業,不管員工有什麼的專業知識,Amazon 都會將員工打造成一個優秀的作家及讀者,而Amazon CEO Jeff Bezos 亦承認,這是一個非常怪異的企業文化,因為 Amazon 所有的會議均不能用 PowerPoint!
Thumbnail
1.加權指數與櫃買指數 週五的加權指數在非農就業數據開出來後,雖稍微低於預期,但指數仍向上噴出,在美股開盤後於21500形成一個爆量假突破後急轉直下,就一路收至最低。 台股方面走勢需觀察週一在斷頭潮出現後,週二或週三開始有無買單進場支撐,在沒有明確的反轉訊號形成前,小夥伴盡量不要貿然抄底,或是追空
Thumbnail
重點摘要: 1.9 月降息 2 碼、進一步暗示年內還有 50 bp 降息 2.SEP 上修失業率預期,但快速的降息速率將有助失業率觸頂 3.未來幾個月經濟數據將繼續轉弱,經濟復甦的時點或是 1Q25 季底附近
Thumbnail
近期的「貼文發佈流程 & 版型大更新」功能大家使用了嗎? 新版式整體視覺上「更加凸顯圖片」,為了搭配這次的更新,我們推出首次貼文策展 ❤️ 使用貼文功能並完成這次的指定任務,還有機會獲得富士即可拍,讓你的美好回憶都可以用即可拍珍藏!
Thumbnail
有在做Amazon自助出版(Kindle Direct Publishing)的人,這邊推薦一個平時追蹤分析銷售數據的便利工具 – BOOK REPORT。 什麼是Amazon自助出版 請參考: → 作家出書不求人,Amazon自助出版 ( Kindle Direct Publishing ) B
Thumbnail
位於加州柏克萊的亞馬遜四星選物實體店面!從網路起家的亞馬遜對實體店面的想像倒底有什麼不一樣呢?
Thumbnail
艾兒莎最近在宿霧一有時間就大量閱讀,因為我今年的目標是想要打造更強的團隊,所以營造公司文化是必須的!大家想到亞馬遜應該就會直覺覺得他是一間鼓勵創新的公司,而且各大媒體也把它評為『最佳創新公司』前50名,亞馬遜為什麼名聲那麼好?
本篇教學以amazon一般賣家申請作為教學 逐步手把手步驟操作 希望對欲加入跨境電商的朋友有所幫助 詳細圖文再找時間寫囉~ 謝謝~
Thumbnail
跨國電子商務企業王國 Amazon 企業文化一向迥異於其他企業,不管員工有什麼的專業知識,Amazon 都會將員工打造成一個優秀的作家及讀者,而Amazon CEO Jeff Bezos 亦承認,這是一個非常怪異的企業文化,因為 Amazon 所有的會議均不能用 PowerPoint!