Go to file
2023-12-19 09:02:50 -08:00
.github Update authors.yaml and regsitry.yaml url value in pull request template. (#865) 2023-11-27 13:43:20 -08:00
articles Added a guide and a course (#931) 2023-12-19 09:32:20 -06:00
examples Updating 'fine tuning for function calling' notebook to use tools instead of functions (new spec) (#893) 2023-12-19 09:02:50 -08:00
images Submitting new notebook on creating slides with Assistants API and DE3 (#862) 2023-12-08 16:45:55 -08: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
authors.yaml Adds semantic search example using Supabase Vector (#913) 2023-12-18 07:56:21 -06: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 Guardrails cookbook showing LLM input and output guardrails (#935) 2023-12-19 09:01:27 -08: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