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
gloryjain c565262120
Update How_to_handle_rate_limits.ipynb (#1065)
2 days ago
.github Update authors.yaml and regsitry.yaml url value in pull request template. (#865) 3 months ago
articles Misc updates (#1022) 1 month ago
examples Update How_to_handle_rate_limits.ipynb (#1065) 2 days ago
images Submitting new notebook on creating slides with Assistants API and DE3 (#862) 3 months ago
.gitignore Add description and rename Obtain_dataset, and throw error when fine tuned model not available (#727) 5 months ago Add conciseness metric to rubric. (#925) 2 months ago
LICENSE Create LICENSE (#136) 1 year ago Update contributions process (#784) 5 months ago
authors.yaml Create How to combine GPTV with RAG - Create a Clothing Matchmaker App (#1047) 1 week ago
registry.yaml Update registry.yaml (#1053) 1 week ago

OpenAI Cookbook Logo

Navigate at

Example code and guides 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 here).

Most code examples are written in Python, though the concepts can be applied in any language.

For other useful tools, guides and courses, check out these related resources from around the web.


The OpenAI Cookbook is a community-driven resource. Whether you're submitting an idea, fixing a typo, adding a new guide, or improving an existing one, your contributions are greatly appreciated!

Before contributing, read through the existing issues and pull requests to see if someone else is already working on something similar. That way you can avoid duplicating efforts.

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

If you'd like to contribute new content, make sure to read through our contribution guidelines. We welcome high-quality submissions of new examples and guides, as long as they meet our criteria and fit within the scope of the cookbook.

The contents of this repo are automatically rendered into based on registry.yaml.

Open in GitHub Codespaces