You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Logan Kilpatrick 9b87cdc886 Update README.md 1 year ago
apps Merge pull request #206 from openai/getting_started_qanda_chatbot 1 year ago
examples updates description of token counting function 1 year ago
images adds guide on techniques to improve reliability 2 years ago
transition_guides_for_deprecated_API_endpoints removes deprecated Search function from deprecation code example (#130) 1 year ago
.gitignore Resolved PR comments from Boris 2 years ago
LICENSE Create LICENSE (#136) 1 year ago
README.md Update README.md 1 year ago
code_editing_examples.md refactors readme 1 year ago
code_explanation_examples.md refactors readme 1 year ago
code_writing_examples.md refactors readme 1 year ago
how_to_work_with_large_language_models.md small grammar fix 1 year ago
techniques_to_improve_reliability.md Fix typo in `techniques_to_improve_reliability.md` 1 year ago
text_comparison_examples.md List Qdrant among the other vector databases 1 year ago
text_editing_examples.md refactors readme 1 year ago
text_explanation_examples.md refactors readme 1 year ago
text_writing_examples.md refactors readme 1 year ago

README.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.