Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 508 Bytes

readme.md

File metadata and controls

22 lines (14 loc) · 508 Bytes

A program that talks to the OpenAI (chat) API.

You'll need an API key, which can be generated here.

Make sure you have Go installed, and run the program with

go run .  # or go run main.go

Run tests with:

go test ./... -count=1 -cover -coverprofile=cov.txt -race -v

Assuming you have the cover tool installed, view the coverage in your browser with:

go tool cover -html=cov.txt