openai / openai-cookbook

Examples and guides for using the OpenAI API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAI Cookbook

The OpenAI Cookbook shares example code for accomplishing common tasks with the OpenAI API.

To run these examples, you'll need an OpenAI account and associated API key (create a free account).

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

Open in GitHub Codespaces

Recently added 🆕

Guides & examples

Related resources

Beyond the code examples here, you can learn about the OpenAI API from the following resources:


If there are examples or guides you'd like to see, feel free to suggest them on the issues page.


Examples and guides for using the OpenAI API

License:MIT License


Language:Jupyter Notebook 48.6%Language:Python 23.8%Language:TypeScript 21.9%Language:CSS 5.0%Language:JavaScript 0.6%Language:Shell 0.1%