# openai-go [![Go Reference](https://pkg.go.dev/badge/github.com/rakyll/openai-go.svg)](https://pkg.go.dev/github.com/rakyll/openai-go) [![Go](https://github.com/rakyll/openai-go/actions/workflows/go.yml/badge.svg)](https://github.com/rakyll/openai-go/actions/workflows/go.yml) Go client libraries for OpenAI APIs. Supported APIs: ``` ✅ completions ✅ chat ✅ edits 🚧 images ✅ moderations ✅ audio ``` Set your [API key](https://platform.openai.com/account/api-keys) as the `OPENAI_API_KEY` environmental variable before running the examples.