/GoLingoGPT

Grammar correction with ChatGPT

Primary LanguageGoApache License 2.0Apache-2.0

Build and Text

GoLingoGPT

A server that corrects grammar with help of ChatGPT.

try it out

export OPENAI_API_KEY="your openai api key"
#export OPENAI_MOCK="true"  // use a mock instead of calling openai

go run golingogpt_server.go

./bin/testCorrectGrammerGet.sh
./bin/testCorrectGrammerPost.sh

test it

go test ./...