This project is a Golang CLI application that leverages OpenAI's ChatGPT and AWS CLI to enable natural language chat with an AWS account and infrastructure.
Before running this application, make sure you have the following prerequisites installed:
- Golang: Installation Guide
- AWS CLI: Installation Guide
-
Get your OpenAI token from the OpenAI website.
-
[OPTIONAL] Set the
OPENAI_API_KEY
environment variable:export OPENAI_API_KEY="sk-<OPEN_AI_TOKEN>"
-
Build the CLI:
make build
-
Chat with your AWS Account:
- The CLI will use the default profile to connect to your AWS account.
./bin/awsgpt --token="sk-<OPEN_AI_TOKEN>" --question "Do I have any buckets in my account?"
./bin/awsgpt -h