AIAny
Icon for item

openai-cookbook

Official collection of example notebooks and guides for building with the OpenAI API — text generation, embeddings, function calling, RAG, fine-tuning, and more. Mostly runnable Jupyter notebooks (~93%); mirrored at cookbook.openai.com.

Introduction

Most people meet the OpenAI API through a single chat-completion snippet, then hit a wall the moment they need retrieval, evaluation, or structured output. This repo is where OpenAI itself answers those follow-up questions — a maintained library of working recipes, each one a runnable notebook rather than prose, so you copy a tested pattern instead of reverse-engineering one.

What Sets It Apart
  • Roughly 93% of the content is executable Jupyter notebooks, not documentation — you run the cell, see the output, then adapt it. The gap between "reading about embeddings" and "having a working embedding pipeline" is one click.
  • It is maintained by OpenAI staff alongside the community, so recipes track the current API surface (function calling, structured outputs, retrieval patterns) rather than drifting out of date like most third-party tutorials.
  • Coverage spans the full applied stack — text generation, embeddings and vector search, RAG, function calling, fine-tuning, evals, and multimodal — instead of one narrow topic, so it doubles as a map of what the API can actually do.
Who It's For

Great fit if you are a developer who learns by running code and wants a vetted starting point for a concrete task — "how do I do RAG with embeddings," "how do I shape function-calling output." Look elsewhere if you want conceptual depth or model internals (this is recipes, not theory), if you are not building on the OpenAI API specifically, or if you need a packaged framework — these are standalone examples you assemble yourself, not a library you import.

Information

  • Websitegithub.com
  • AuthorsOpenAI
  • Published date2022/03/11

More Items

GitHub

Runs a self-hosted meeting bot and transcription API that joins Google Meet, Teams and Zoom and streams speaker-attributed transcripts in real time. Compiles meetings into a git-backed Markdown workspace and runs sandboxed agents on your infrastructure; Apache-2.0 and air-gap capable.

GitHub
AI API2020

Typed Python client for the OpenAI REST API that offers synchronous and asynchronous clients, typed request/response models, streaming and Realtime support, webhook verification, and integrations for Azure and Amazon Bedrock—built for production integrations and automation.

GitHub

Exposes a self-hosted WhatsApp HTTP/REST API that runs a real WhatsApp Web instance so apps and AI agents can read/send messages, manage contacts, and automate flows. Offers three engine modes (WEBJS, NOWEB, GOWS), Docker images, and MCP support; relies on WhatsApp Web so blocking risk exists.