AIAny
GitHub

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

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.

GitHub

Connects MCP-compatible AI assistants to Google Ads for account queries and reporting, with guarded support for asset creation, video uploads, and label management. It does not modify campaigns, budgets, or bids.