mirror of
https://github.com/openai/openai-cookbook
synced 2024-11-08 01:10:29 +00:00
5e7c065dd1
updates table of contents with new additions; combines GPT and ChatGPT sections; moves apps up
4.6 KiB
4.6 KiB
OpenAI Cookbook
The OpenAI Cookbook shares example code for accomplishing common tasks with the OpenAI API.
To run these examples, you'll need an OpenAI account and API key (create a free account).
Most code examples are written in Python, though the concepts can be applied in any language.
Recently added/updated 🆕 ✨
- How to use a multi-step prompt to write unit tests [May 19, 2023]
- How to create dynamic masks with DALL·E and Segment Anything [May 19th, 2023]
- Question answering using embeddings [Apr 14th, 2023]
Guides & examples
- API usage
- GPT
- Embeddings
- Apps
- Fine-tuning GPT-3
- DALL-E
- Azure OpenAI (alternative API from Microsoft Azure)
Related resources
Beyond the code examples here, you can learn about the OpenAI API from the following resources:
- Experiment with ChatGPT
- Try out the API in the OpenAI Playground
- Read about the API in the OpenAI Documentation
- Discuss the API in the OpenAI Community Forum
- Look for help in the OpenAI Help Center
- See example prompts in the OpenAI Examples
- Stay up to date with the OpenAI Blog
Contributing
If there are examples or guides you'd like to see, feel free to suggest them on the issues page.