Go to file
2023-01-20 14:43:56 -08:00
examples updates streaming guide with note about usage field 2023-01-20 14:38:12 -08:00
images adds guide on techniques to improve reliability 2022-09-02 12:19:11 -07:00
transition_guides_for_deprecated_API_endpoints Fixing typo in parameters usage 2022-12-06 17:09:44 +01:00
.gitignore Resolved PR comments from Boris 2022-10-26 16:30:38 +01:00
code_editing_examples.md refactors readme 2023-01-20 14:20:03 -08:00
code_explanation_examples.md refactors readme 2023-01-20 14:20:03 -08:00
code_writing_examples.md refactors readme 2023-01-20 14:20:03 -08:00
how_to_work_with_large_language_models.md refactors readme 2023-01-20 14:20:03 -08:00
README.md refactors readme 2023-01-20 14:20:03 -08:00
techniques_to_improve_reliability.md fix typos 2023-01-19 03:10:30 +03:00
text_comparison_examples.md refactors readme 2023-01-20 14:20:03 -08:00
text_editing_examples.md refactors readme 2023-01-20 14:20:03 -08:00
text_explanation_examples.md refactors readme 2023-01-20 14:20:03 -08:00
text_writing_examples.md refactors readme 2023-01-20 14:20:03 -08:00

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.

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.