GitXplorerGitXplorer
o

openai-cookbook

public
61196 stars
9801 forks
49 issues

Commits

List of commits on branch main.
Verified
f689f7d963d97b930dfce8645a9decd8e7a526ba

Adding consumption usage API CB to repo (#1631)

MMW-OAI committed 3 days ago
Verified
630ac96cfebb073e64b95cf94d2596dc133f191a

Add example of how to leverage OpenAI reasoning models to SDLC for code quality and security checks. (#1610)

aalwell-kevin committed 5 days ago
Verified
ee98bc09f1d2b50d5006ac46d081f81dfcbaf861

Colin/testing sql generation made visible (#1628)

llspacagna-oai committed 8 days ago
Verified
2cca3a3d243a5aaed95185b1627666fa76e29fd8

Adding LLM eval for SQL generation notebook (#1019)

ccolin-openai committed 8 days ago
Verified
ba140b7e79010acbc64f3d4c0de644d95377a77a

Fixes some typos in the tutorial for Google Ads GPT actions. (#1595)

GGoooGu committed 8 days ago
Verified
190ae6dc843784340d608513c0b403749a5aeb5a

Migrate Assistants API to v2 to use `file_search` tool (#1616)

sstsuruno-openai committed 9 days 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