Enterprise DNA
P Apps and SaaS Productivity low

OpenAI Cookbook

by Various

Examples and guides for using the OpenAI API

OC

Apps

OpenAI Cookbook

Added 1 June 2026

#chatgpt #gpt-4 #openai #openai-api

Overview

A collection of Jupyter notebooks and code examples demonstrating how to use the OpenAI API for common tasks. Covers prompt engineering, embeddings, fine-tuning, and integration patterns with practical, runnable code samples.

Best for

Best for
Developers new to OpenAI API who learn by reading and running code

Use cases

  • Learning OpenAI API fundamentals through working examples
  • Copy-paste starter code for embeddings and semantic search
  • Understanding prompt engineering best practices

Notes

A collection of Jupyter notebooks and code examples demonstrating how to use the OpenAI API for common tasks. Covers prompt engineering, embeddings, fine-tuning, and integration patterns with practical, runnable code samples.

73,919 stars on GitHub. Last updated 2026-06-01. Licensed MIT.

Use cases

  • Learning OpenAI API fundamentals through working examples
  • Copy-paste starter code for embeddings and semantic search
  • Understanding prompt engineering best practices

Pros

  • Maintained by OpenAI with current API patterns
  • Executable Jupyter notebooks reduce setup friction
  • Covers both basic and advanced use cases

Cons

  • Examples may lag behind latest API features
  • No structured curriculum, requires self-directed navigation
  • Notebook format less suitable for production deployment

Indexed from awesome-generative-ai and enriched against its public facts.

Pros

  • Maintained by OpenAI with current API patterns
  • Executable Jupyter notebooks reduce setup friction
  • Covers both basic and advanced use cases

Cons

  • Examples may lag behind latest API features
  • No structured curriculum, requires self-directed navigation
  • Notebook format less suitable for production deployment

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Pairs with37entries
A Agents Autonomous low

Language agents: a critical evolutionary step of artificial intelligence

Community

Yu Su (OSU), Sep 5, 2023.

O OSS Framework medium

Awesome Deliberative Prompting

Community

Awesome deliberative prompting: How to ask LLMs to produce reliable reasoning and make reason-responsive decisions.

★ 125 updated 1y ago
O OSS Framework medium

BUILD GPT: HOW AI WORKS

Community

Amazon.com

O OSS Framework medium

GPT-4 Technical Report

Community

2023-03

O OSS Framework medium

Hands-On Large Language Models: Language Understanding and Generation

Community

Hands-On Large Language Models

O OSS Obs medium

Izlo

Community

Izlo provides prompting tools for teams unleash efficiency and unlock the prompts trapped in your code, documents, and spreadsheets.

O OSS Framework medium

Language Models are Unsupervised Multitask Learners

Community

2019-02

O OSS Framework medium

OpenAI o3-mini

Community

Pushing the frontier of cost-effective reasoning.

O OSS Framework medium

Princeton: Understanding Large Language Models

Community

COS 597G: Understanding Large Language Models

O OSS Framework medium

PromptPerfect

Community

PromptPerfect - AI Prompt Generator and Optimizer

O OSS Obs medium

ReliableGPT 💪

Community

Handle OpenAI Errors (overloaded OpenAI servers, rotated keys, or context window errors) for your production LLM Applications.

P Apps Productivity low

AI Governance

Various

Practices and safeguards to deliver secure, responsible, and manageable Generative AI systems in production. Rolling out an AI system without good governance can be really ugly.

P Apps Productivity low

Anthropic courses

Various

Anthropic's educational courses

★ 21,672 updated 6mo ago
P Apps Productivity low

Awesome ChatGPT

Various

Curated list of awesome tools, demos, docs for ChatGPT and GPT-3

★ 8,213 updated 7mo ago
P Apps Productivity low

Awesome RAG Production

Various

A curated list of battle-tested tools, frameworks, and best practices for building scalable, production-grade Retrieval-Augmented Generation (RAG) systems.

★ 44 updated 2d ago
P Apps Productivity low

Bing Image Creator

Various

Create stunning images with Bing Image Creator, the best free AI image generator. Turn text into AI art, photos, and visuals instantly, all for free.

P Apps Productivity low

Build a Reasoning Model (From Scratch)

Various

Understand LLM reasoning by creating your own reasoning model–from scratch! LLM reasoning models have the power to tackle truly challenging problems that require finding the righ

P Apps Productivity low

Build an AI Agent (From Scratch)

Various

Build a working AI agent that can reason, plan, and execute multi-step tasks! LLM-powered AI agents are the next leap in applied AI, capable of reasoning and collaboration to ach

P Apps Productivity low

ChatGPT prompt engineering for developers

Various

Learn the fundamentals of prompt engineering for ChatGPT. Learn effective prompting, and how to use LLMs for summarizing, inferring, transforming, and expanding.

P Apps Productivity one click

ChatGPT

OpenAI

General-purpose AI assistant for writing, coding, analysis, and conversation. The most widely deployed consumer AI product.

P Apps Productivity low

DALL·E 2

Various

Announcement of the release of DALL·E 2, an advanced image generation system with improved resolution, expanded image creation capabilities, and various safety mitigations. OpenAI

P Apps Productivity low

editGPT

Various

editGPT is an AI tool that allows you to proofread, edit, and track changes to your content using ChatGPT

P Apps Productivity low

Generative AI: A Creative New World

Various

A powerful new class of large language models is making it possible for machines to write, code, draw and create with credible and even superhuman results.

P Apps Productivity low

GPT-3 Demo

Various

800+ ChatGPT and GPT-3 Examples, Demos, Apps, Showcase, and Generative AI Use-cases

P Apps Productivity low

GPT Builder

Various

Assistant for creating GPT-based assistants.

P Apps Productivity low

GPT Prompt Engineer

Various

Automated prompt engineering. It generates, tests, and ranks prompts to find the best ones.

★ 9,664 updated 7mo ago
P Apps Productivity low

How Large Language Models Will Transform Science, Society, and AI

Various

Article summarizing the capabilities and limitations of the GPT-3 model, and its potential impact on society. By Alex Tamkin and Deep Ganguli, February 5, 2021.

P Apps Productivity low

Learn Prompting

Various

Learn Prompting is the largest and most comprehensive course in prompt engineering available on the internet, with over 60 content modules, translated into 9 languages, and a thr

P Apps Productivity low

MaxVideoAI

Various

Browse real AI video examples with prompts, model settings, duration and pricing. Clone a shot into your workspace and render with Kling, Seedance, LTX or Veo.

P Apps Productivity low

Open LLMs

Various

📋 A list of open LLMs available for commercial use.

★ 12,783 updated 1y ago
P Apps Productivity low

OpenAI Codex

Various

Learn how to use the OpenAI API to generate human-like responses to natural language prompts, analyze images with computer vision, use powerful built-in tools, and more.

P Apps Productivity low

OpenAI API

Various

Announcement of the OpenAI API for text-to-text general-purpose AI models based on GPT-3. OpenAI blog, June 11, 2020.

P Apps Productivity low

OpenAI Playground

Various

Explore resources, tutorials, API docs, and dynamic examples.

P Apps Productivity low

OpenAI Prompt Engineering Guide

Various

Learn strategies and tactics for better results using large language models in the OpenAI API.

P Apps Productivity low

PromptHero

Various

The #1 website for Artificial Intelligence and Prompt Engineering. Search the world's best AI prompts for models like Stable Diffusion, ChatGPT, Midjourney...

P Apps Productivity low

PromptPerfect

Various

PromptPerfect - AI Prompt Generator and Optimizer

P Apps Productivity low

The Generative AI Index

Various

Explore the "Microsite" view on Airtable.