About

The OpenAI Cookbook is an open-source collection of examples and guides for building with the OpenAI API.

To run these examples, you'll need an OpenAI account and API key. You can create a free account here.

Most code examples are written in Python, though the concepts can be applied in any language.

Contributing

This website is automatically generated from our GitHub repository. If there are examples or guides you'd like to see, feel free to suggest them on the issues page. We are also happy to accept high quality pull requests, as long as they fit the scope of the cookbook.

Refer to our guide on what makes documentation good.

Other Resources

Beyond the examples and guides here, you can learn more about OpenAI from the following resources: