- Notifications
You must be signed in to change notification settings - Fork10.8k
Examples and guides for using the OpenAI API
License
openai/openai-cookbook
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation

✨ Navigate atcookbook.openai.com
Example code and guides for accomplishing common tasks with theOpenAI API. To run these examples, you'll need an OpenAI account and associated API key (create a free account here). Set an environment variable calledOPENAI_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 containingOPENAI_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 theserelated resources from around the web.
MIT License
About
Examples and guides for using the OpenAI API
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.