New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amazon Bedrock Beginners Handson の追加 #69
base: main
Are you sure you want to change the base?
Changes from all commits
b997829
cb0c795
544e88d
9796b0a
d9cf07d
e5c48bd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# bedrock-beginners-handson | ||
|
||
このリポジトリでは、Amazon Bedrock を初めて触る方向けに、Amazon Bedrock をお試しいただけるような Notebook コンテンツを提供します。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Amazon Bedrock へのはじめ方などへリンク飛ばしましょうか。最初ならまずセットアップの方法がいるかと。 https://speakerdeck.com/icoxfog417/amazon-bedrock-nohazimefang There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ありがとうございます。確かに入門者向けの解説記事は参考になりますね。ただ、情報が古くなる可能性もあるので、まずはAWS公式ドキュメントのページへリンクを貼ろうと思います。 |
||
以下の 3 つのコンテンツを提供予定です。 | ||
なお、Amazon Bedrock を利用する際にはモデルの有効化手続きが必要になります。[Amazon Bedrock をセットアップする](https://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/setting-up.html)の手順をもとにセットアップをお願いします。 | ||
|
||
## Chapter1: 基盤モデルの基本的な呼び出し | ||
[![Jupyter Notebook](https://img.shields.io/badge/jupyter-%23FA0F00.svg?style=for-the-badge&logo=jupyter&logoColor=white)](./chapter1_introduction.ipynb) | ||
このチャプターでは、Python SDK を用いて Amazon Bedrock 上の基盤モデルを呼び出す方法をご紹介します。 | ||
|
||
## Chapter2: プロンプトエンジニアリング (作成中) | ||
このチャプターでは実際に基盤モデルを使って、会社の宣伝メールやスローガンを生成するような仕組みを作ります。 | ||
|
||
## Chapter3: RAG 入門 (作成中) | ||
このチャプターでは、検索拡張生成(Retrieval Augmented Generation) の仕組みや実装方法をご紹介します。 | ||
|
||
# 始めるにあたっての準備 | ||
|
||
このハンズオンでは SageMaker Notebook Instance での実行を前提とします。 | ||
ノートブックインスタンスに対して、Bedrock の呼び出しを許可するため、次のような Bedrock Full Access 権限を実行ロールに付与してください。 | ||
|
||
```json | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "Statement1", | ||
"Effect": "Allow", | ||
"Action": "bedrock:*", | ||
"Resource": "*" | ||
} | ||
] | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sagemaker
の下に入れたいです。There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazon Bedrock と SageMaker は目的や機能が異なるサービスなので、それぞれを別個に扱うこと方が適切だと思います。