Enterprise DNA Enterprise DNA
P Apps and SaaS Productivity low

OpenAI Cookbook

by Various

Examples and guides for using the OpenAI API

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 with54entries
A Agents Autonomous low

What are GPT Agents? A deep dive into the AI interface of the future

Community

Learn why Agents are a core part of the future of AI, Logan Kilpatrick (OpenAI), Jul 25, 2023.

O OSS Framework medium

Awesome ChatGPT Prompts

Community

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

★ 163,161
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
O OSS Framework medium

Build a Large Language Model (From Scratch)

Community

How to implement LLM attention mechanisms and GPT-style transformers.

O OSS Framework medium

BUILD GPT: HOW AI WORKS

Community

Amazon.com

O OSS Framework medium

Chain-of-Thought Hub

Community

Benchmarking large language models' complex reasoning ability with chain-of-thought prompting

★ 2,773
O OSS Framework medium

Chain-of-Thoughts Papers

Community

A trend starts from "Chain of Thought Prompting Elicits Reasoning in Large Language Models".

★ 2,104
O OSS Framework medium

Instruction-Tuning-Papers

Community

Reading list of Instruction-tuning. A trend starts from Natrural-Instruction (ACL 2022), FLAN (ICLR 2022) and T0 (ICLR 2022).

★ 769
O OSS Framework medium

Is ChatGPT 175 Billion Parameters? Technical Analysis

Community

[The Next Generation Of Large Language Models ](https://www.notion.so/Awesome-LLM-40c8aa3f2b444ecc82b79ae8bbd2696b)

O OSS Framework medium

Language models are few-shot learners

Community

2020-05

O OSS Orchestration medium

Learn LangChain (JS)

Community

End-to-end LangChain JS learning repo with real examples: prompts, tools, RAG, agents, and LangGraph workflows.

★ 5
O OSS Framework medium

LLMsPracticalGuide

Community

A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)

★ 10,189
O OSS Framework medium

Princeton: Understanding Large Language Models

Community

COS 597G: Understanding Large Language Models

O OSS Framework medium

Promptify

Community

Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured output. Join our discord for Prompt-Engineering, LLMs and other latest research

★ 4,612
O OSS Framework medium

RWKV-howto

Community

possibly useful materials for learning RWKV language model.

★ 26
O OSS Framework medium

ShareGPT

Community

ShareGPT is a Chrome extension that allows you to share your wildest ChatGPT conversations with one click.

O OSS Framework medium

The Chinese Book for Large Language Models

Community

AI Box | 大语言模型

O OSS Orchestration medium

Large Language Models Course

Community

Practical course about Large Language Models.

★ 1,822
P Apps Productivity low

AI Dungeon

Various

A text-based adventure-story game you direct (and star in) while the AI brings it to life.

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

AI Prompt Genius

Various

Discover, share, import, and use the best prompts for ChatGPT & save your chat history locally.

P Apps Productivity low

AnimatedLLM

Various

Understand how large language models work under the hood.

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 for Sheets, Docs, Slides, Forms

Various

ChatGPT extension for Google Sheets, Google Docs, Google Slides, Google Forms.

P Apps Productivity low

ChatGPT Heralds an Intellectual Revolution

Various

An op-ed by Henry Kissinger, Eric Schmidt and Daniel Huttenlocher. Wall Street Journal, February 24, 2023.

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 low

ChatGPT Prompts for Data Science

Various

A repository of 60 useful data science prompts for ChatGPT

★ 1,615
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

copy.ai

Various

Introducing the first-ever GTM AI platform. Automate hundreds of tedious, repetitive tasks and empower your team to scale success like never before.

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 Engineer

Various

CLI platform to experiment with codegen. Precursor to: https://lovable.dev

★ 55,214
P Apps Productivity low

GPT Builder

Various

Assistant for creating GPT-based assistants.

P Apps Productivity low

GPT for Sheets and Docs

Various

ChatGPT extension for Google Sheets and Google Docs.

P Apps Productivity low

GPT Prompt Engineer

Various

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

★ 9,664
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

imgsys

Various

A generative AI arena where you can test different prompts and pick the results you like the most. Check-out the model rankings and try it yourself!

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

Napkin

Various

Napkin AI - The visual AI for business storytelling

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 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 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

PromptPerfect

Various

PromptPerfect - AI Prompt Generator and Optimizer

P Apps Productivity low

QuillBot

Various

Write effortlessly and efficiently with Quillbot's suite of AI tools. Paraphrase, check grammar, analyze tone, improve fluency, and more. Start doing your best work.

P Apps Productivity low

rehydra

Various

Prevent accidental PII leakage in LLM prompts before they hit the model.

★ 66
P Apps Productivity low

Sora

Various

Presentation of Sora, a large video generation model. OpenAI, February 15, 2024.

P Apps Productivity low

The Generative AI Index

Various

Explore the "Microsite" view on Airtable.

P Apps Productivity low

WebChatGPT

Various

Augment your ChatGPT prompts with relevant results from the web.

P Apps Productivity low

Humanize-Text

Various

Open-source pipeline and reference implementations for improving the readability and natural cadence of AI-assisted drafts.

★ 1,593
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.