Go to file
2023-10-17 13:15:23 -07:00
.github Polish PR template and rubric 2023-10-16 12:19:39 -07:00
articles Fix image links 2023-10-17 11:05:28 -07:00
examples Update title and reformat with prettier 2023-10-17 13:15:23 -07:00
images Update README to point to website (#732) 2023-09-22 08:59:55 -07:00
.gitignore Add description and rename Obtain_dataset, and throw error when fine tuned model not available (#727) 2023-09-20 14:50:59 -07:00
CONTRIBUTING.md Polish PR template and rubric 2023-10-16 12:19:39 -07:00
LICENSE Create LICENSE (#136) 2023-02-15 15:20:06 -08:00
README.md Update contributions process (#784) 2023-10-12 17:18:14 -07:00
registry.yaml Update title and reformat with prettier 2023-10-17 13:15:23 -07:00

OpenAI Cookbook Logo

Navigate at cookbook.openai.com

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.

Contributing

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 cookbook.openai.com based on registry.yaml.

Open in GitHub Codespaces