mirror of
https://github.com/james-m-jordan/openai-cookbook.git
synced 2025-05-09 19:32:38 +00:00

* Initial commit of DALL-E and Segment Anything notebook * Add example images and changed wording of the notebook * Updated comments and added base images * minor text amendments * fix typo * makes bullets more consistent * converts title DALLE to DALL·E * converts DALL-E to DALL·E * update original DALL-E notebook title * makes time of writing explicit * makes intro bullets more consistent * clarifies which version of Pytorch is appropriate * moves setup instructions into setup section (to help clarify that they do not need to be done separately from the notebook) * explains size of model checkpoint file * code linting * added more background info in the introduction for folks unfamiliar with segment anything * adds period to sentence * updates table of contents with new DALL·E guide --------- Co-authored-by: Ted Sanders <ted@openai.com>
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 or updated 🆕 ✨
- How to create dynamic masks with DALL·E and Segment Anything [May 19th, 2021]
- Question answering using embeddings [Apr 14th, 2023]
- Using vector databases for embeddings search [various dates]
- Powering your products with ChatGPT and your own data [Mar 10th, 2023]
- How to format inputs to ChatGPT models [Mar 1st, 2023]
Guides & examples
- API usage
- ChatGPT
- GPT
- Embeddings
- Fine-tuning GPT-3
- DALL-E
- Azure OpenAI (alternative API from Microsoft Azure)
- Apps
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.
Languages
MDX
100%