Example code and prompts for accomplishing common tasks with the OpenAI API. To try the examples yourself, you’ll need an OpenAI account. Most code examples are written in Python, though the concepts can be applied in any language.
Exploring the OpenAI Cookbook? Try hands-on learning with Scrimba, tackle real-world systems with CodeCrafters, or spark daily curiosity via Learn.xyz. For a gamified start, check out Codédex.