Jupyter Notebook MIT

openai-cookbook

Examples and guides for using the OpenAI API

O

openai

Dernière activité 29 sept. 2026
openai/openai-cookbook

76,3 k

étoiles

12,9 k

forks

304

issues ouvertes

chatgptgpt-4openaiopenai-api

Ce README est souvent en anglais.

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.

License

MIT License

Projets similaires

The official Python library for the OpenAI API

Pythonopenaipython
Oopenai
31,7 k étoiles6,7 k

21 Lessons, Get Started Building with Generative AI

Jupyter Notebookaiazurechatgpt
Mmicrosoft
120,8 k étoiles63,5 k

The official gpt4free repository | various collection of powerful language models | opus 4.6 gpt 5.3 kimi 2.5 deepseek v3.2 gemini 3

Pythonchatbotchatbotschatgpt
Xxtekky
66,7 k étoiles13,5 k