Examples and guides for using the OpenAI API
Find a file
2023-04-09 15:36:55 -07:00
apps
examples
images
transition_guides_for_deprecated_API_endpoints
.gitignore
code_editing_examples.md
code_explanation_examples.md
code_writing_examples.md
how_to_work_with_large_language_models.md
LICENSE
README.md
techniques_to_improve_reliability.md
text_comparison_examples.md
text_editing_examples.md
text_explanation_examples.md
text_writing_examples.md

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

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

Contributing

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