ChatGPT Apps in Go
- Make sure to get your API Key from https://platform.openai.com/account/api-keys
Clone the project to your local machine
git clone https://github.com/kimathi-phil/go-gpt.git
Navigate to the project folder
cd go-gpt
Create a '.env' file and add your API Key to it as follows
API_KEY = "<your-api-key>"
Get packages
go mod tidy
Run the project
go run main.go