You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fix UnicodeEncodeError |
2 years ago | |
---|---|---|
examples | 2 years ago | |
images | 2 years ago | |
solutions/web_crawl_Q&A | 2 years ago | |
transition_guides_for_deprecated_API_endpoints | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
code_editing_examples.md | 2 years ago | |
code_explanation_examples.md | 2 years ago | |
code_writing_examples.md | 2 years ago | |
how_to_work_with_large_language_models.md | 2 years ago | |
techniques_to_improve_reliability.md | 2 years ago | |
text_comparison_examples.md | 2 years ago | |
text_editing_examples.md | 2 years ago | |
text_explanation_examples.md | 2 years ago | |
text_writing_examples.md | 2 years ago |
README.md
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 associated API key (create a free account).
Most code examples are written in Python, though the concepts can be applied in any language.
Guides & examples
- API usage
- GPT-3
- Embeddings
- 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:
- 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
- Play with a free research preview of ChatGPT
- 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.