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
jhills20 a5d98e08d4 Updating 'fine tuning for function calling' notebook to use tools instead of functions (new spec) (#893) 9 months ago
.github Update authors.yaml and regsitry.yaml url value in pull request template. (#865) 10 months ago
articles Added a guide and a course (#931) 9 months ago
examples Updating 'fine tuning for function calling' notebook to use tools instead of functions (new spec) (#893) 9 months ago
images Submitting new notebook on creating slides with Assistants API and DE3 (#862) 10 months ago
.gitignore Add description and rename Obtain_dataset, and throw error when fine tuned model not available (#727) 1 year ago
CONTRIBUTING.md Polish PR template and rubric 12 months ago
LICENSE Create LICENSE (#136) 2 years ago
README.md Update contributions process (#784) 12 months ago
authors.yaml Adds semantic search example using Supabase Vector (#913) 10 months ago
registry.yaml Guardrails cookbook showing LLM input and output guardrails (#935) 9 months ago

README.md

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