Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanikamal/ai-genai-with-aws
Generative AI with AWS
https://github.com/sanikamal/ai-genai-with-aws
Last synced: about 10 hours ago
JSON representation
Generative AI with AWS
- Host: GitHub
- URL: https://github.com/sanikamal/ai-genai-with-aws
- Owner: sanikamal
- License: mit
- Created: 2024-03-05T16:09:29.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-15T20:03:24.000Z (3 months ago)
- Last Synced: 2024-10-17T04:05:50.464Z (3 months ago)
- Language: Jupyter Notebook
- Size: 2.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AI & Generative AI Applications with AWS π
Explore and implement powerful **AI and Machine Learning** solutions using **Amazon Web Services (AWS)**. This repository demonstrates how to build end-to-end solutions using AWS's comprehensive tools for both **Machine Learning** and **Generative AI**.
`Amazon Bedrock`, `Amazon SageMaker`, `Amazon CodeWhisperer`, `AWS Trainium`, `AWS Inferentia`, `Amazon Polly`, `Natural Language Processing (NLP)`, `Text Generation`, `Image Recognition`, `Generative AI Models`, `AWS Lambda`, `Amazon Rekognition`, `Multimodal Content Generation`, `Large Language Models (LLMs)`, `Custom AI Solutions`
## Contents π
| π· **Title** | π **Description** | π **Technology/Library** | π **Link** |
|--------------------|------------------------|-----------------------------|-------------------|
| **First Generations with Amazon Bedrock** | Introduction to Amazon Bedrock for generating customized, powerful responses. Learn how to prompt models to create tailored content. | `Amazon Bedrock`, `Content Generation`, `Model Prompting` | [Notebook Link](notebook/first_generations_amazon_bedrock.ipynb) |
| **Audio to Insight: Transcribe and Summarizeπ€** | Convert audio recordings into written transcripts using Amazon Transcribe, then summarize the transcripts using the Amazon Titan LLM. | `Amazon Bedrock`, `Amazon Transcribe`, `Amazon Titan`,`Amazon S3`, `Audio Summarization` | [Notebook Link](notebook/summarize_audio.ipynb) |
| **Enable Logging for LLM Calls** | Enable logging for all calls made to **LLMs** to ensure security, audit, and compliance. Track every interaction and maintain a transparent record for auditing purposes.π | `Amazon Bedrock`,`LLM Logging`, `Security`, `Compliance`, `Amazon CloudWatch` | [Notebook Link](notebook/enable_logging_llm_calls.ipynb) |## AWS Development Environment Setup:
To run the code in these files in your own environment, you will need to install some Python dependencies and have access to an AWS environment.
### Steps to Set Up AWS Development Environment:
1. **Create an AWS Account and an IAM User**
Follow this guide for more details: [AWS Account Setup Guide](https://docs.aws.amazon.com/SetUp/latest/UserGuide/setup-overview.html)2. **Generate Access Keys for Your IAM User**
For more information, see here: [Creating Access Keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey)3. **Install the AWS CLI**
Follow this guide for more details: [AWS CLI Installation Guide](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)4. **Configure AWS CLI**
Run `aws configure` with your access keys, and set the default region to `'us-west-2'` for this code. For more information, see here: [Configuring AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-methods)5. **Use Boto3 for AWS SDK in Python**
Boto3 is the AWS SDK for Python, which allows your locally run code to interact with your AWS account. For more information, see: [Boto3 Documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html)### Requirements File
This code was developed and tested on **Python 3.11**.
```bash
boto3==1.28.68
```## Hardware Acceleration with AWS π
AWS offers specialized hardware for AI workloads:
- **AWS Trainium**: Custom-designed for efficient training of machine learning models, reducing training time and cost.
- **AWS Inferentia**: Optimized for high-performance and cost-effective inference, accelerating machine learning models in production.## Credits π
Special thanks to the AWS and AI community for their contributions and support.
## Contributing π€
Contributions are welcome! If you have any ideas or improvements, feel free to submit a pull request.
## License π
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.