GitXplorerGitXplorer
o

openai-cookbook

public
61195 stars
9799 forks
49 issues

Commits

List of commits on branch main.
Verified
350a65351ef913e0d6b7ddf50f0a8f764cfaa3e9

Small spelling fix (#1594)

pphundal-openai committed 9 days ago
Verified
4f8485b6d0f80563cb3e2a64589fe8480f6ef4f4

Model swap to GPT-4o (#1601)

MMW-OAI committed 9 days ago
Verified
686e0d7a9f6b8fafe674afc8ea62f5c67373a567

`Assistants_API_overview_python` notebook updated for the latest `openai` package (#1464)

tthe-praxs committed 11 days ago
Verified
010e24382c22fd3edb4f887b2c2d7639baffcc1b

Fix typo in code example. (#1588)

ssimister committed a month ago
Verified
a3b08bb373e2b90647ce3f6d9bb437a0c72df5ca

Missing word in "How to call functions with chat models" (#1600)

LLaurentAjdnik committed a month ago
Verified
73473952117d4706045b674c37f223a84e7733c6

Add CustomGPT Action article for Tray.ai (#1581)

kkylecote-tray committed a month ago

README

The README file for this repository.
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). Set an environment variable called OPENAI_API_KEY with your API key. Alternatively, in most IDEs such as Visual Studio Code, you can create an .env file at the root of your repo containing OPENAI_API_KEY=<your API key>, which will be picked up by the notebooks.

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