aws-samples/amazon-bedrock-samples
소개
이 리포지토리에는 고객이 Amazon Bedrock Service 사용을 시작할 수 있도록 돕는 예제가 포함되어 있습니다. 사용 가능한 모든 파운데이션 모델에 대한 예제를 제공합니다
AI 및 머신러닝측정된 스타 증가
- in 24h
- +1
- in 7 days
- +5
- in 15 days
- +7
- in 1 month
- +11
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAmazon Bedrock Samples
To leverage this repository please use our website powered by this GitHub: Website
This repository contains pre-built examples to help customers get started with the Amazon Bedrock service.
Contents
- Introduction to Bedrock - Learn the basics of the Bedrock service
- Prompt Engineering - Tips for crafting effective prompts
- Agents - Ways to implement Generative AI Agents and its components.
- Custom Model Import - Import custom models into Bedrock
- Multimodal - Working with multimodal data using Amazon Bedrock
- Generative AI Use cases - Example use cases for generative AI
- Retrival Augmented Generation (RAG) - Implementing RAG
- Responsible AI - Use Bedrock responsibly and ethically
- Workshop - Example for Amazon Bedrock Workshop
- POC to Prod - Productionize workloads using Bedrock
- Embeddings - Learn how to use Embedding Models available on Amazon Bedrock
- Observability & Evaluation - Learn how Amazon Bedrock helps with improving observability and evalution of Models, Gen AI Applications.
Getting Started
To get started with the code examples, ensure you have access to Amazon Bedrock. Then clone this repo and navigate to one of the folders above. Detailed instructions are provided in each folder's README.
Enable AWS IAM permissions for Bedrock
The AWS identity you assume from your environment (which is the Studio/notebook Execution Role from SageMaker, or could be a role or IAM User for self-managed notebooks or other use-cases), must have sufficient AWS IAM permissions to call the Amazon Bedrock service.
To grant Bedrock access to your identity, you can:
- Open the AWS IAM Console
- Find your Role (if using SageMaker or otherwise assuming an IAM Role), or else User
- Select Add Permissions > Create Inline Policy to attach new inline permissions, open the JSON editor and paste in the below example policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "BedrockFullAccess",
"Effect": "Allow",
"Action": ["bedrock:*"],
"Resource": "*"
}
]
}
⚠️ Note 1: With Amazon SageMaker, your notebook execution role will typically be separate from the user or role that you log in to the AWS Console with. If you'd like to explore the AWS Console for Amazon Bedrock, you'll need to grant permissions to your Console user/role too.
⚠️ Note 2: For top level folder changes, please reach out to the GitHub mainterners.
For more information on the fine-grained action and resource permissions in Bedrock, check out the Bedrock Developer Guide.
Contributing
We welcome community contributions! Please see CONTRIBUTING.md for guidelines.
Security
See CONTRIBUTING for more information.
License
This library is licensed under the MIT-0 License. See the LICENSE file.
관련 프로젝트 살펴보기
불러오는 중…