Go to file
Ted Sanders 1b0ae90837 Merge pull request #347 from openai/ted/remove-old-guides
removes outdated, pre-ChatGPT guides
2023-04-14 16:37:27 -07:00
apps Added tiktoken to requirements file and updated README to include chatbot-kickstarter 2023-04-12 01:32:14 -07:00
examples updates example command to be consistent with text 2023-04-14 15:53:42 -07:00
images adds guide on techniques to improve reliability 2022-09-02 12:19:11 -07:00
transition_guides_for_deprecated_API_endpoints removes deprecated Search function from deprecation code example (#130) 2023-02-13 16:59:22 -08:00
.gitignore Resolved PR comments from Boris 2022-10-26 16:30:38 +01:00
how_to_work_with_large_language_models.md small grammar fix 2023-01-29 11:56:13 -05:00
LICENSE Create LICENSE (#136) 2023-02-15 15:20:06 -08:00
README.md updates README table of contents 2023-04-14 12:52:53 -07:00
techniques_to_improve_reliability.md Merge pull request #313 from CharitySarah09/CharitySarah09-patch-2 2023-04-05 14:21:36 -07:00
text_comparison_examples.md add comparison benchmark for embedding models 2023-03-31 23:35:56 -07: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 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 or updated 🆕

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.