# yaml-language-server: $schema=./.github/registry_schema.json # This file is used to generate cookbook.openai.com. It specifies which paths we # should build pages for, and indicates metadata such as tags, creation date and # authors for each page. - title: Harness-aware evaluation of plugins path: examples/partners/harness_aware_plugin_evals/harness_aware_plugin_evals.ipynb slug: harness-aware-plugin-evals description: Evaluate an MCP-backed plugin through direct tool tests, a controlled model loop, and the Codex harness, then use shared test cases and traces to diagnose and improve its behavior. date: 2026-09-23 authors: - maciej-domagala-deepsense - lukasz-dragan-deepsense - michal-rdzany-deepsense - dwigg-openai tags: - partners - evals - plugins - mcp - codex - title: Release ChatGPT usage budgets hourly, daily, or weekly path: examples/chatgpt/daily_usage_limits/README.md slug: chatgpt-interval-usage-limits description: Release a monthly ChatGPT budget in credits or US dollars in hourly, daily, or weekly increments. Explore a plan in your browser, try a Codex-assisted pilot, and deploy on managed infrastructure. date: 2026-09-19 authors: - sperry-openai tags: - chatgpt - admin-api - usage-limits - automation - title: Build a prior authorization review assistant with the OpenAI Agents SDK and Amazon Bedrock AgentCore path: examples/partners/AWS/policy_to_review_prior_authorization_agents_sdk_agentcore.ipynb slug: prior-authorization-review-agentcore description: Build and deploy a prior authorization review assistant that retrieves public CMS policy documents with a Bedrock Managed Knowledge Base, maps submitted evidence to policy criteria with the OpenAI Agents SDK, validates citations and review routing in code, and runs on Amazon Bedrock AgentCore. date: 2026-08-10 authors: - sks-oai tags: - partners - agents-sdk - agents - bedrock - agentcore - healthcare - retrieval - structured-outputs - title: Run Agents API sandboxes on AWS Lambda MicroVMs path: examples/agents_api/sandboxes/aws/README.md slug: agents-api-aws-lambda-microvms description: Run agent tools in AWS Lambda MicroVMs with application-managed or webhook-managed provisioning, file transfers, and suspend/resume. date: 2026-09-29 authors: - openai tags: - agents-api - agents - sandbox - title: Run OpenAI agents on a Databricks Sandbox path: examples/agents_api/sandboxes/databricks/README.md slug: agents-api-databricks-sandbox description: Run agent tools in a Databricks serverless sandbox with application-managed provisioning. date: 2026-10-23 authors: - HsingTang tags: - agents-api - agents - sandbox - title: Build an SRE agent for incident response path: examples/agents_api/apps/sev_bot/README.md slug: agents-api-sev-bot description: Investigate incidents in Slack using service telemetry, GitHub, AWS, and past incident reports, with human review before recovery. date: 2026-09-10 authors: - openai tags: - agents-api - agents - sandbox - title: Build a Slack bot with the Agents API path: examples/agents_api/apps/slack_bot/README.md slug: agents-api-slack-bot description: Connect Slack threads to persistent agent sessions, workplace tools, and isolated sandboxes. date: 2026-09-10 authors: - openai tags: - agents-api - agents - sandbox - title: Build a data analyst with the Agents API path: examples/agents_api/apps/data_analyst/README.md slug: agents-api-data-analyst description: Investigate warehouse questions with read-only SQL, business context, and saved analyst corrections. date: 2026-09-10 authors: - openai tags: - agents-api - agents - title: Combining security scanners with the Agents SDK path: examples/agents_sdk/security_scanners_with_agents_sdk.ipynb slug: evidence-grounded-security-review-swarm description: Use the OpenAI Agents SDK to route scanner findings to specialist agents, check source evidence, and prepare a Codex prompt for human review. date: 2026-08-05 authors: - hreh-oai tags: - agents-sdk - security - title: Manage SharePoint site access with the ChatGPT Admin API path: examples/chatgpt/sharepoint_site_access/sharepoint_site_access.md slug: manage-sharepoint-site-access-chatgpt-admin-api description: Resolve SharePoint URLs into site-collection identifiers and safely manage a ChatGPT workspace allowlist with the Admin API. date: 2026-08-27 authors: - hmittal-oai tags: - chatgpt - chatgpt-and-api - enterprise - api - sharepoint - security - title: Generate Transparent Image Assets for Campaigns and Presentations path: examples/multimodal/transparent-image-assets-for-campaigns-and-presentations.ipynb slug: transparent-image-assets-for-campaigns-and-presentations description: Generate reusable transparent PNG assets for seasonal ecommerce campaigns and branded PowerPoint presentations. date: 2026-08-20 authors: - the-OAI tags: - image-generation - images - multimodal - transparency - ecommerce - presentations - codex - title: Iterating Development Workflows with Codex path: examples/codex/iterating-development-workflows-with-codex.md slug: iterating-development-workflows-with-codex description: Build and improve Codex development workflows using repository harnesses, phased implementation plans, approval gates, reusable skills, and evidence-backed retrospectives. date: 2026-08-03 authors: - talaniz-oai tags: - codex - agents - planning - automation - documentation - title: Build a per-run spending controller with the Responses API path: articles/per_run_spending_controller_responses_api.md slug: per-run-spending-controller-responses-api description: Enforce an application-owned model-token budget for each Responses API run using token counts, maximum-cost estimates, usage tracking, and safe error handling. date: 2026-08-17 authors: - alexey-openai tags: - responses - agents - cost-management - title: Migrate from Whisper to GPT-Transcribe and GPT-Live-Transcribe path: examples/migrating_from_whisper_to_gpt_transcribe.ipynb slug: migrating-from-whisper-to-gpt-transcribe description: Migrate existing Whisper integrations to GPT-Transcribe and GPT-Live-Transcribe with before-and-after examples for file, streaming, and Realtime transcription. date: 2026-07-28 authors: - cguo-oai tags: - audio - transcription - realtime - migration - whisper - title: AML Analysis with the Agents SDK on Amazon Bedrock path: examples/partners/AWS/evidence_grounded_aml_agent_with_bedrock.ipynb slug: evidence-grounded-aml-agent-amazon-bedrock description: Run a synthetic AML analysis with the OpenAI Agents SDK and GPT-5.6 Sol on Amazon Bedrock, verify structured claims against deterministic evidence, test failure cases, and enforce an application-owned human review gate. date: 2026-07-23 authors: - deepakjain108 tags: - partners - agents-sdk - agents - evals - structured-outputs - bedrock - security - title: Controlled Agentic Commerce with AgentCore Payments path: examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/controlled_agentic_commerce.ipynb slug: controlled-agentic-commerce-agentcore-payments description: Build a controlled agentic-commerce workflow with the OpenAI Agents SDK, x402, application-owned payment authority, deterministic validation, and an optional gated Amazon Bedrock AgentCore Payments testnet path. date: 2026-08-13 authors: - deepakjain108 - sidrampally-oai tags: - partners - agents-sdk - agents - bedrock - security - payments - title: Build a ChatGPT plugin with the OpenAI Agents SDK and Amazon Bedrock AgentCore path: examples/partners/AWS/chatgpt_agents_sdk_aws_agentcore_cookbook/notebooks/chatgpt_agents_sdk_aws_agentcore_cookbook.ipynb slug: chatgpt-agents-sdk-amazon-bedrock-agentcore description: Build a private ChatGPT flight-assistant plugin with the OpenAI Agents SDK on Amazon Bedrock, connect it through Secure MCP Tunnel, and validate tracing and Promptfoo evaluations. date: 2026-09-03 authors: - rohan-eliza - chuck-eliza - syedahmed-oai - smcateer-eliza tags: - partners - chatgpt - agents-sdk - agents - bedrock - mcp - tracing - evals - title: Enabling Long-Term Agent Memory with Oracle AI Agent Memory path: examples/vector_databases/oracle_db/deep_research_openai_agents.ipynb slug: deep-research-openai-agents description: Build a deep-research agent with the OpenAI Agents SDK, Oracle-backed session persistence, durable memory, and Tavily web search. date: 2026-07-16 authors: - Ela689 tags: - agents-sdk - agents - memory - deep-research - title: Build a Speaker-Aware Meeting Intelligence Pipeline with Audio Diarization path: examples/audio/speaker_aware_meeting_intelligence/speaker_aware_meeting_intelligence.ipynb slug: speaker-aware-meeting-intelligence date: 2026-06-18 authors: - saptob tags: - audio - speech-to-text - transcription - diarization - meetings - structured-outputs description: Build a production-style reference pipeline that turns recorded audio into speaker-labeled transcripts, summaries, decisions, risks, and follow-up actions. - title: Trigger a Workspace Agent from the API path: examples/chatgpt/workspace_agents/workspace-agents-api-trigger.ipynb slug: workspace-agents-api-trigger description: Configure a Workspace Agent, add an API channel, and send a live trigger that writes to the agent's configured destination. date: 2026-06-18 authors: - neilh-oai tags: - chatgpt - chatgpt-and-api - agents - enterprise - api - workspace-agents - title: "SchemaFlow: Agentic Database Change Impact Analysis, SQL Generation, and Eval Guardrails" path: examples/partners/schemaflow_design_guide/schemaflow_cookbook.ipynb slug: schemaflow-design-guide description: Build a staged SchemaFlow pipeline with the OpenAI Agents SDK for database change parsing, impact analysis, rollout planning, SQL generation, guardrails, artifacts, optional File Search grounding, and Promptfoo evals. date: 2026-06-05 authors: - shikhar-cyber - Atharva Joshi - Mohan Kocherlakota - Adam Horvath - Shashwat Jha tags: - partners - agents-sdk - agents - evals - tracing - promptfoo - RAG - structured-outputs - title: Getting Started with OpenAI Models on Amazon Bedrock path: examples/partners/AWS/openai_models_with_amazon_bedrock.ipynb slug: openai-models-with-amazon-bedrock description: Learn how to invoke an OpenAI-compatible Amazon Bedrock endpoint using the OpenAI Python SDK, along with equivalent cURL examples, and leverage Responses API capabilities available through Amazon Bedrock. date: 2026-05-31 authors: - shikhar-cyber - sudee-oai tags: - partners - responses - api - bedrock - title: Macro Evals for Agentic Systems path: examples/partners/macro_evals_for_agentic_systems/macro_evals_for_agentic_systems.ipynb slug: macro-evals-for-agentic-systems description: A cookbook showing how to evaluate multi-agent systems by clustering trace-level eval signals into recurring behavior patterns and drilling into high-impact patterns. date: 2026-05-19 authors: - shikhar-cyber - Will Thieme - Bradley Strauss tags: - partners - agents - evals - tracing - promptfoo - clustering - title: Evaluating Grounded Spatial Reasoning with GPT-5.5 path: examples/multimodal/grounded_spatial_reasoning_layouts.ipynb slug: grounded-spatial-reasoning-layouts description: Build a spec-first floorplan layout workflow with vision, structured outputs, and deterministic spatial evals. date: 2026-05-11 authors: - sidrampally-oai - kathylau-oai tags: - images - vision - reasoning - structured-outputs - evals - title: Using Goals in Codex path: examples/codex/using_goals_in_codex.ipynb slug: using-goals-in-codex description: Use Goals in Codex to keep long-running work moving toward a persistent, evidence-checked outcome across turns. date: 2026-05-09 authors: - rajpathak-openai - stefanofabbri-oai tags: - codex - goals - agents - planning - title: Building workspace agents in ChatGPT to complete repeatable, end-to-end work path: articles/chatgpt-agents-sales-meeting-prep.md slug: chatgpt-agents-sales-meeting-prep description: Build, test, schedule, and share a ChatGPT workspace agent that prepares sales meeting briefs with calendar, SharePoint, and web search context. date: 2026-04-22 authors: - nikhils-oai tags: - chatgpt - agents - enterprise - security - title: Computer Use Agents in Daytona Sandboxes path: examples/agents_sdk/computer_use_with_daytona/computer_use_with_daytona.ipynb slug: computer-use-with-daytona description: Build an Agents SDK agent that uses Computer Use on a Daytona sandbox desktop to fill a multi-section web form end to end. date: 2026-04-19 authors: - lpesut-daytona tags: - agents-sdk - agents - sandbox - security - title: Migrate a Legacy Codebase with Sandbox Agents path: examples/agents_sdk/sandboxed-code-migration/sandboxed_code_migration_agent.ipynb slug: sandboxed-code-migration-agent description: Build a sandboxed code-migration agent that splits a modernization campaign into isolated tasks and returns validated patch bundles. date: 2026-04-07 authors: - kkahadze-oai tags: - agents-sdk - agents - sandbox - security - evals - title: Migrate from the Claude Agent SDK to the OpenAI Agents SDK path: examples/agents_sdk/migrate-from-claude-agent-sdk/README.md slug: migrate-from-claude-agent-sdk description: Learn how to migrate Claude Agent SDK applications to the OpenAI Agents SDK, including tool mapping, guardrails, handoffs, approvals, and sandbox boundaries. date: 2026-05-07 authors: - anshgupta-oai tags: - agents-sdk - agents - migration - sandbox - security - title: Agents SDK Deployment Manager path: examples/agents_sdk/deployment_manager/README.md slug: agents-sdk-deployment-manager description: Run, inspect, and trace local Agents SDK demo apps from a browser-based deployment manager. date: 2026-05-05 authors: - openai tags: - agents-sdk - agents - tracing - deployment - title: Getting the Most out of GPT-5.4 for Vision and Document Understanding path: examples/multimodal/document_and_multimodal_understanding_tips.ipynb slug: vision-understanding description: A practical guide to get the best performance on vision tasks with GPT-5.4. date: 2026-03-06 authors: - annikab-oai - kathylau-oai - nsingaraju-oai tags: - images - vision - gpt-5.4 - title: Building Governed AI Agents - A Practical Guide to Agentic Scaffolding path: examples/partners/agentic_governance_guide/agentic_governance_cookbook.ipynb slug: agentic-governance-cookbook description: A practical guide to building governed AI agents with OpenAI Agents SDK and Guardrails. date: 2026-02-23 authors: - shikhar-cyber - Pavan Kumar Muthozu - Frankie LaCarrubba tags: - agents - tracing - guardrails - governance - evals - promptfoo - partners - security archived: true - title: Realtime Eval Guide path: examples/Realtime_eval_guide.ipynb slug: realtime-eval-guide date: 2026-01-25 authors: - minh-hoque tags: - realtime - speech - audio - responses - evals - title: Build your own content fact checker with gpt-oss-120B, Cerebras, and Parallel path: articles/gpt-oss/build-your-own-fact-checker-cerebras.ipynb slug: build-your-own-fact-checker-cerebras description: Cookbook to build a content fact checker with gpt-oss-120B on Cerebras using Parallel. date: 2026-01-13 authors: - zhenweig-cerebras tags: - gpt-oss - open-models - fact-checking - search - reasoning - cerebras - title: Transcribing User Audio with a Separate Realtime Request path: examples/Realtime_out_of_band_transcription.ipynb slug: realtime-out-of-band-transcription description: Cookbook to transcribe user audio using out-of-band Realtime sessions. date: 2025-11-20 authors: - minh-hoque tags: - realtime - transcription - speech - audio archived: true - title: Self-Evolving Agents - A Cookbook for Autonomous Agent Retraining path: examples/partners/self_evolving_agents/autonomous_agent_retraining.ipynb slug: autonomous-agent-retraining date: 2025-11-04 authors: - shikhar-cyber - Calvin Maguranis - Valentina Frenkel - Fanny Perraudeau - Giorgio Saladino tags: - partners - self-evolving-agents - evals - llmops - prompt-engineering - agent-retraining archived: true - title: User guide for gpt-oss-safeguard path: articles/gpt-oss-safeguard-guide.md slug: gpt-oss-safeguard-guide date: 2025-10-29 authors: - roost tags: - gpt-oss - open-models - guardrails - title: Build, deploy, and optimize agentic workflows with AgentKit path: examples/agentkit/agentkit_walkthrough.ipynb slug: agentkit-walkthrough date: 2025-10-17 authors: - nikhils-oai tags: - agentkit - evals archived: true - title: Building with Realtime Mini path: examples/building_w_rt_mini/building_w_rt_mini.ipynb slug: building-w-rt-mini date: 2025-10-11 archived: true authors: - carter-oai tags: - gpt-realtime-mini - title: Sora 2 Prompting Guide path: examples/sora/sora2_prompting_guide.ipynb slug: sora2-prompting-guide description: Cookbook to craft effective video prompts for Sora 2 generation. date: 2026-03-12 authors: - rkoenig-openai - joanneshin-openai - annikab-oai tags: - sora - prompt archived: true - title: Using PLANS.md for multi-hour problem solving path: articles/codex_exec_plans.md archived: true slug: codex-exec-plans date: 2025-10-07 authors: - aaronfriel tags: - codex - gpt-5 - planning - documentation - agents - title: Building Consistent Workflows with Codex CLI & Agents SDK path: examples/codex/codex_mcp_agents_sdk/building_consistent_workflows_codex_cli_agents_sdk.ipynb slug: building-consistent-workflows-codex-cli-agents-sdk archived: true date: 2025-10-01 authors: - jhall-openai - charlie-openai tags: - agents-sdk - codex - mcp - title: GPT-5 Troubleshooting Guide path: examples/gpt-5/gpt-5_troubleshooting_guide.ipynb slug: gpt-5-troubleshooting-guide date: 2025-09-17 authors: - prashantmital-openai - bfioca-openai - carter-oai tags: - gpt-5 - prompt-optimization archived: true - title: Context Engineering - Short-Term Memory Management with Sessions path: examples/agents_sdk/session_memory.ipynb slug: session-memory date: 2025-09-09 authors: - emreokcular tags: - agents-sdk - title: Automating Code Quality and Security Fixes with Codex CLI on GitLab path: examples/codex/secure_quality_gitlab.md slug: secure-quality-gitlab date: 2025-08-29 authors: - jonlim-openai - pap-openai tags: - codex - security - title: Realtime Prompting Guide path: examples/Realtime_prompting_guide.ipynb slug: realtime-prompting-guide archived: true date: 2026-02-25 authors: - minh-hoque tags: - realtime - speech - audio - responses - title: "Fine-tune gpt-oss for better Korean language performance" path: articles/gpt-oss/fine-tune-korean.ipynb slug: fine-tune-korean archived: true date: 2025-08-26 authors: - heejingithub - danial-openai - joanneshin-openai tags: - gpt-oss - open-models - title: Verifying gpt-oss implementations path: articles/gpt-oss/verifying-implementations.md slug: verifying-implementations date: 2025-08-11 authors: - dkundel-openai tags: - gpt-oss - open-models - gpt-oss-providers - title: How to run gpt-oss locally with LM Studio path: articles/gpt-oss/run-locally-lmstudio.md slug: run-locally-lmstudio date: 2025-08-07 archived: true authors: - yagil tags: - gpt-oss - open-models - gpt-oss-local - title: GPT-5 Prompt Migration and Improvement Using the New Optimizer path: examples/gpt-5/prompt-optimization-cookbook.ipynb slug: prompt-optimization-cookbook date: 2025-08-07 authors: - rajpathak-openai - corwin tags: - gpt-5 - responses - reasoning - prompt-optimization - title: GPT-5 prompting guide path: examples/gpt-5/gpt-5_prompting_guide.ipynb slug: gpt-5-prompting-guide date: 2025-08-07 archived: true authors: - anoop-openai - julian-openai - ericzakariasson - erinkav-openai tags: - gpt-5 - responses - reasoning - title: Frontend coding with GPT-5 path: examples/gpt-5/gpt-5_frontend.ipynb slug: gpt-5-frontend date: 2025-08-07 archived: true authors: - WJPBProjects - anoop-openai tags: - gpt-5 - responses - reasoning - title: GPT-5 New Params and Tools path: examples/gpt-5/gpt-5_new_params_and_tools.ipynb slug: gpt-5-new-params-and-tools date: 2025-08-07 authors: - msingh-openai tags: - gpt-5 - functions - reasoning archived: true - title: How to run gpt-oss-20b on Google Colab path: articles/gpt-oss/run-colab.ipynb slug: run-colab date: 2025-08-06 authors: - pcuenca - Vaibhavs10 tags: - gpt-oss - open-models - gpt-oss-server archived: true - title: Using NVIDIA TensorRT-LLM to run gpt-oss-20b path: articles/gpt-oss/run-nvidia.ipynb slug: run-nvidia archived: true date: 2025-08-05 authors: - jayrodge tags: - gpt-oss - open-models - gpt-oss-server - title: Fine-tuning with gpt-oss and Hugging Face Transformers path: articles/gpt-oss/fine-tune-transfomers.ipynb slug: fine-tune-transfomers date: 2025-08-05 authors: - edbeeching - qgallouedec - lewtun tags: - open-models - gpt-oss - gpt-oss-fine-tuning - title: How to handle the raw chain of thought in gpt-oss path: articles/gpt-oss/handle-raw-cot.md slug: handle-raw-cot date: 2025-08-05 authors: - dkundel-openai tags: - open-models - gpt-oss - gpt-oss-fine-tuning - gpt-oss-providers - title: How to run gpt-oss with Transformers path: articles/gpt-oss/run-transformers.md slug: run-transformers date: 2025-08-05 authors: - dkundel-openai tags: - open-models - gpt-oss - gpt-oss-server - title: How to run gpt-oss with vLLM path: articles/gpt-oss/run-vllm.md slug: run-vllm date: 2025-08-05 authors: - dkundel-openai tags: - open-models - gpt-oss - gpt-oss-server archived: true - title: How to run gpt-oss locally with Ollama path: articles/gpt-oss/run-locally-ollama.md slug: run-locally-ollama date: 2025-08-05 authors: - dkundel-openai tags: - open-models - gpt-oss - gpt-oss-local - title: OpenAI Harmony Response Format path: articles/openai-harmony.md slug: openai-harmony date: 2025-08-05 authors: - dkundel-openai tags: - open-models - gpt-oss - harmony - gpt-oss-providers - gpt-oss-fine-tuning - title: Temporal Agents with Knowledge Graphs path: examples/partners/temporal_agents_with_knowledge_graphs/temporal_agents.ipynb slug: temporal-agents date: 2025-07-22 authors: - dwigg-openai - shikhar-cyber - Alex Heald - Douglas Adams - Rishabh Sagar tags: - knowledge-graphs - retrieval - functions - responses - title: Using Evals API on Image Inputs path: examples/evaluation/use-cases/EvalsAPI_Image_Inputs.ipynb slug: evalsapi-image-inputs date: 2025-07-15 authors: - daisyshe-oai tags: - evals - images archived: true - title: Using Evals API on Audio Inputs path: examples/evaluation/use-cases/EvalsAPI_Audio_Inputs.ipynb slug: evalsapi-audio-inputs date: 2025-08-13 authors: - hendrytl tags: - evals - audio archived: true - title: Optimize Prompts path: examples/Optimize_Prompts.ipynb slug: optimize-prompts date: 2025-07-14 authors: - corwin tags: - prompt - completions - responses - agents-sdk - tracing archived: true - title: Automate Jira ↔ GitHub with Codex path: examples/codex/jira-github.ipynb slug: jira-github date: 2025-06-21 authors: - alwell-kevin - narenoai tags: - codex - automation archived: true - title: Prompt Migration Guide path: examples/Prompt_migration_guide.ipynb slug: prompt-migration-guide date: 2025-06-26 authors: - minh-hoque - corwin tags: - prompt - completions - responses archived: true - title: Fine-Tuning Techniques - Choosing Between SFT, DPO, and RFT (With a Guide to DPO) path: examples/Fine_tuning_direct_preference_optimization_guide.ipynb slug: fine-tuning-direct-preference-optimization-guide date: 2025-06-18 authors: - alexl-oai tags: - fine-tuning archived: true - title: MCP-Powered Agentic Voice Framework path: examples/partners/mcp_powered_voice_agents/mcp_powered_agents_cookbook.ipynb slug: mcp-powered-agents-cookbook date: 2025-06-17 authors: - shikhar-cyber - Cece Z - Sibon li tags: - mcp - speech - agents-sdk - functions - tracing archived: true - title: Building a Supply-Chain Copilot with OpenAI Agent SDK and Databricks MCP Servers path: examples/mcp/databricks_mcp_cookbook.ipynb slug: databricks-mcp-cookbook date: 2025-07-08 authors: - lara-openai tags: - agents-sdk - mcp - tracing - security archived: true - title: Eval Driven System Design - From Prototype to Production path: examples/partners/eval_driven_system_design/receipt_inspection.ipynb slug: receipt-inspection description: Cookbook for eval-driven design of a receipt parsing automation workflow. date: 2025-06-02 authors: - shikhar-cyber - Hugh Wimberly - Joshua Marker - Eddie Siegel tags: - evals - API Flywheel - completions - responses - functions - tracing archived: true - title: Multi-Agent Portfolio Collaboration with OpenAI Agents SDK path: examples/agents_sdk/multi-agent-portfolio-collaboration/multi_agent_portfolio_collaboration.ipynb slug: multi-agent-portfolio-collaboration description: Cookbook for multi-agent portfolio analysis workflows using the OpenAI Agents SDK. date: 2025-05-28 authors: - rajpathak-openai - chelseahu-openai tags: - agents-sdk - functions - responses - mutli-agent-collaboration archived: true - title: o3/o4-mini Function Calling Guide path: examples/o-series/o3o4-mini_prompting_guide.ipynb slug: o3o4-mini-prompting-guide description: Cookbook to improve o3/o4-mini function calling with prompt best practices. archived: true date: 2025-05-26 authors: - billchen-openai - prashantmital-openai tags: - functions - responses - reasoning - title: Exploring Model Graders for Reinforcement Fine-Tuning path: examples/Reinforcement_Fine_Tuning.ipynb slug: reinforcement-fine-tuning description: Cookbook to use model graders for reinforcement fine-tuning in expert tasks. date: 2025-05-23 authors: - theophile-oai tags: - reinforcement-learning - fine-tuning - reinforcement-learning-graders archived: true - title: Reinforcement Fine-Tuning for Conversational Reasoning with the OpenAI API path: examples/fine-tuned_qa/reinforcement_finetuning_healthbench.ipynb slug: reinforcement-finetuning-healthbench description: Cookbook for reinforcement fine-tuning conversational reasoning using HealthBench evaluations. date: 2025-05-21 authors: - robert-tinn tags: - fine-tuning - qa - evals - reinforcement archived: true - title: Guide to Using the Responses API's MCP Tool path: examples/mcp/mcp_tool_guide.ipynb slug: mcp-tool-guide description: Cookbook to connect external services using the Responses API MCP tool. date: 2025-05-21 authors: - charuj tags: - mcp - security archived: true - title: Image Understanding with RAG path: examples/multimodal/image_understanding_with_rag.ipynb slug: image-understanding-with-rag date: 2025-05-16 authors: - robert-tinn tags: - responses - images - RAG - vision archived: true - title: Better performance from reasoning models using the Responses API path: examples/responses_api/reasoning_items.ipynb slug: reasoning-items date: 2025-05-11 authors: - billchen-openai tags: - responses - functions archived: true - title: Context Summarization with Realtime API path: examples/Context_summarization_with_realtime_api.ipynb slug: context-summarization-with-realtime-api date: 2025-05-10 authors: - minh-hoque tags: - audio - speech - tiktoken archived: true - title: Comparing Speech-to-Text Methods with the OpenAI API path: examples/Speech_transcription_methods.ipynb slug: speech-transcription-methods description: Cookbook to compare speech-to-text methods and choose the right approach. date: 2025-04-29 authors: - minh-hoque tags: - audio - speech - agents-sdk archived: true - title: Practical Guide for Model Selection for Real‑World Use Cases path: examples/partners/model_selection_guide/model_selection_guide.ipynb slug: model-selection-guide date: 2025-05-07 authors: - shikhar-cyber - kashyapm-tribe - saip-tribe - nharada-tribe tags: - responses - functions - web-search - tool calling - RAG - insurance - legal - pharma archived: true - title: Evals API Use-case - Detecting prompt regressions path: examples/evaluation/use-cases/regression.ipynb slug: regression date: 2025-04-08 authors: - josiah-openai tags: - evals - completions archived: true - title: Evals API Use-case - Bulk model and prompt experimentation path: examples/evaluation/use-cases/bulk-experimentation.ipynb slug: bulk-experimentation date: 2025-04-08 authors: - josiah-openai tags: - evals - completions archived: true - title: Evals API Use-case - Monitoring stored completions path: examples/evaluation/use-cases/completion-monitoring.ipynb slug: completion-monitoring date: 2025-04-08 authors: - josiah-openai tags: - evals - completions archived: true - title: Evals API Use-case - Responses Evaluation path: examples/evaluation/use-cases/responses-evaluation.ipynb slug: responses-evaluation description: Cookbook to evaluate new models against stored Responses API logs. date: 2025-05-13 authors: - willhath-openai tags: - evals - responses archived: true - title: Multi-Tool Orchestration with RAG approach using OpenAI's Responses API path: examples/responses_api/responses_api_tool_orchestration.ipynb slug: responses-api-tool-orchestration description: Cookbook to route queries across tools with RAG using the Responses API. date: 2025-03-28 authors: - shikhar-cyber tags: - responses - functions - pinecone - web-search archived: true - title: Automating Dispute Management with Agents SDK and Stripe API path: examples/agents_sdk/dispute_agent.ipynb slug: dispute-agent archived: true date: 2025-03-17 authors: - danbell-openai tags: - responses - agents-sdk - functions - title: Web Search and States with Responses API path: examples/responses_api/responses_example.ipynb slug: responses-example date: 2025-03-11 archived: true authors: - billchen-openai tags: - responses - web-search - functions - title: Using logprobs path: examples/Using_logprobs.ipynb slug: using-logprobs date: 2023-12-20 authors: - jhills20 - shyamal-anadkat tags: - completions archived: true - title: Creating slides with the Assistants API and DALL·E 3 path: examples/Creating_slides_with_Assistants_API_and_DALL-E3.ipynb slug: creating-slides-with-assistants-api-and-dall-e3 date: 2023-12-08 authors: - jhills20 tags: - assistants - dall-e archived: true - title: Data preparation and analysis for chat model fine-tuning path: examples/Chat_finetuning_data_prep.ipynb slug: chat-finetuning-data-prep date: 2023-08-22 authors: - mwu1993 - simonpfish tags: - completions - tiktoken - fine-tuning archived: true - title: Classification using embeddings path: examples/Classification_using_embeddings.ipynb slug: classification-using-embeddings date: 2022-07-11 authors: - ted-at-openai - logankilpatrick tags: - embeddings - title: Clustering path: examples/Clustering.ipynb slug: clustering date: 2022-03-10 authors: - BorisPower - ted-at-openai - logankilpatrick tags: - embeddings - title: Clustering for transaction classification path: examples/Clustering_for_transaction_classification.ipynb slug: clustering-for-transaction-classification date: 2022-10-20 authors: - colin-openai - ted-at-openai tags: - embeddings - completions - title: Code search using embeddings path: examples/Code_search_using_embeddings.ipynb slug: code-search-using-embeddings date: 2022-03-10 authors: - BorisPower - logankilpatrick - eli64s tags: - embeddings - title: Customizing embeddings path: examples/Customizing_embeddings.ipynb slug: customizing-embeddings date: 2022-03-10 authors: - ted-at-openai - BorisPower tags: - embeddings - title: Embedding Wikipedia articles for search path: examples/Embedding_Wikipedia_articles_for_search.ipynb slug: embedding-wikipedia-articles-for-search date: 2024-11-26 authors: - ted-at-openai tags: - embeddings - completions archived: true - title: Embedding texts that are longer than the model's maximum context length path: examples/Embedding_long_inputs.ipynb slug: embedding-long-inputs date: 2023-01-18 authors: - filipeabperes tags: - embeddings - tiktoken - title: Long document content extraction path: examples/Entity_extraction_for_long_documents.ipynb slug: entity-extraction-for-long-documents date: 2023-02-20 authors: - colin-openai tags: - completions - title: Fine tuning classification example path: examples/Fine-tuned_classification.ipynb slug: fine-tuned-classification date: 2022-03-10 authors: - BorisPower tags: - completions - fine-tuning - title: >- Function calling for nearby places: Leveraging the Google Places API and customer profiles path: examples/Function_calling_finding_nearby_places.ipynb slug: function-calling-finding-nearby-places date: 2023-08-11 authors: - prestontuggle tags: - completions - functions archived: true - title: Using embeddings path: examples/Using_embeddings.ipynb slug: using-embeddings date: 2022-03-10 authors: - BorisPower - ted-at-openai - logankilpatrick - jbeutler-openai tags: - embeddings - title: How to build a tool-using agent with LangChain path: examples/How_to_build_a_tool-using_agent_with_Langchain.ipynb slug: how-to-build-a-tool-using-agent-with-langchain date: 2023-05-02 authors: - colin-openai tags: - completions - embeddings - agents - title: How to use functions with a knowledge base path: examples/How_to_call_functions_for_knowledge_retrieval.ipynb slug: how-to-call-functions-for-knowledge-retrieval archived: true date: 2023-06-14 authors: - colin-openai - ishida-openai tags: - completions - functions - title: How to call functions with chat models path: examples/How_to_call_functions_with_chat_models.ipynb slug: how-to-call-functions-with-chat-models date: 2023-06-13 authors: - colin-openai - joe-at-openai tags: - completions - functions archived: true - title: How to count tokens with Tiktoken path: examples/How_to_count_tokens_with_tiktoken.ipynb slug: how-to-count-tokens-with-tiktoken date: 2022-12-16 authors: - ted-at-openai tags: - tiktoken - completions - title: How to fine-tune chat models path: examples/How_to_finetune_chat_models.ipynb slug: how-to-finetune-chat-models date: 2024-07-23 authors: - simonpfish - shyamal-anadkat tags: - completions - fine-tuning archived: true - title: How to format inputs to ChatGPT models path: examples/How_to_format_inputs_to_ChatGPT_models.ipynb slug: how-to-format-inputs-to-chatgpt-models date: 2023-03-01 authors: - ted-at-openai tags: - completions - tiktoken - title: How to handle rate limits path: examples/How_to_handle_rate_limits.ipynb slug: how-to-handle-rate-limits date: 2025-01-22 authors: - ted-at-openai - dwigg-openai tags: - completions - embeddings archived: true - title: How to stream completions path: examples/How_to_stream_completions.ipynb slug: how-to-stream-completions date: 2022-09-02 authors: - ted-at-openai tags: - completions - title: Multiclass Classification for Transactions path: examples/Multiclass_classification_for_transactions.ipynb slug: multiclass-classification-for-transactions date: 2022-10-20 authors: - colin-openai - vishnu-oai tags: - embeddings - completions - title: Get embeddings from dataset path: examples/Get_embeddings_from_dataset.ipynb slug: get-embeddings-from-dataset date: 2022-03-10 authors: - BorisPower - ted-at-openai tags: - embeddings - title: Question answering using a search API and re-ranking path: examples/Question_answering_using_a_search_API.ipynb slug: question-answering-using-a-search-api date: 2023-06-16 authors: - simonpfish - ted-at-openai tags: - embeddings - completions archived: true - title: Question answering using embeddings-based search path: examples/Question_answering_using_embeddings.ipynb slug: question-answering-using-embeddings date: 2022-06-10 authors: - ted-at-openai - MikeHeaton tags: - embeddings - completions archived: true - title: Recommendation using embeddings and nearest neighbor search path: examples/Recommendation_using_embeddings.ipynb slug: recommendation-using-embeddings date: 2022-03-10 authors: - ted-at-openai - BorisPower - logankilpatrick tags: - embeddings - title: Regression using the embeddings path: examples/Regression_using_embeddings.ipynb slug: regression-using-embeddings date: 2022-03-10 authors: - BorisPower - ted-at-openai - logankilpatrick tags: - embeddings - title: Search reranking with cross-encoders path: examples/Search_reranking_with_cross-encoders.ipynb slug: search-reranking-with-cross-encoders date: 2023-06-28 authors: - colin-openai tags: - embeddings - completions archived: true - title: Semantic text search using embeddings path: examples/Semantic_text_search_using_embeddings.ipynb slug: semantic-text-search-using-embeddings date: 2022-03-10 authors: - BorisPower - ted-at-openai - logankilpatrick tags: - embeddings - title: Unit test writing using a multi-step prompt path: examples/Unit_test_writing_using_a_multi-step_prompt.ipynb slug: unit-test-writing-using-a-multi-step-prompt date: 2022-11-15 authors: - ted-at-openai tags: - completions - title: Unit test writing using a multi-step prompt with legacy Completions path: >- examples/Unit_test_writing_using_a_multi-step_prompt_with_older_completions_API.ipynb slug: unit-test-writing-using-a-multi-step-prompt-with-older-completions-api date: 2023-05-19 authors: - ted-at-openai tags: - completions - title: User and product embeddings path: examples/User_and_product_embeddings.ipynb slug: user-and-product-embeddings date: 2022-03-10 authors: - BorisPower tags: - embeddings - title: Visualizing the embeddings in 2D path: examples/Visualizing_embeddings_in_2D.ipynb slug: visualizing-embeddings-in-2d date: 2022-03-10 authors: - BorisPower - ted-at-openai tags: - embeddings - title: Visualizing embeddings in 3D path: examples/Visualizing_embeddings_in_3D.ipynb slug: visualizing-embeddings-in-3d date: 2022-03-10 authors: - BorisPower - ted-at-openai tags: - embeddings - title: Visualizing embeddings in Weights and Biases path: examples/third_party/Visualizing_embeddings_in_wandb.ipynb slug: visualizing-embeddings-in-wandb date: 2023-02-01 authors: - scottire tags: - embeddings - title: Visualizing embeddings in Atlas path: examples/third_party/Visualizing_embeddings_with_Atlas.ipynb slug: visualizing-embeddings-with-atlas date: 2023-03-28 authors: - AndriyMulyar - TDulka tags: - embeddings - title: "Addressing transcription misspellings: prompt vs post-processing" path: examples/Whisper_correct_misspelling.ipynb slug: whisper-correct-misspelling date: 2023-08-11 authors: - prestontuggle tags: - whisper - audio - completions archived: true - title: "Enhancing Whisper transcriptions: pre- & post-processing techniques" path: examples/Whisper_processing_guide.ipynb slug: whisper-processing-guide date: 2023-08-11 authors: - prestontuggle tags: - whisper - audio archived: true - title: Whisper prompting guide path: examples/Whisper_prompting_guide.ipynb slug: whisper-prompting-guide date: 2023-06-27 authors: - prestontuggle tags: - whisper - audio - completions archived: true - title: Zero-shot classification with embeddings path: examples/Zero-shot_classification_with_embeddings.ipynb slug: zero-shot-classification-with-embeddings date: 2022-03-10 authors: - BorisPower - ted-at-openai - logankilpatrick tags: - embeddings - title: Azure Chat Completions example (preview) path: examples/azure/chat.ipynb slug: chat date: 2023-03-28 authors: - cmurtz-msft - glecaros - kristapratico tags: - completions archived: true - title: Azure Chat Completion models with your own data (preview) path: examples/azure/chat_with_your_own_data.ipynb slug: chat-with-your-own-data date: 2023-09-11 authors: - kristapratico tags: - completions archived: true - title: Azure embeddings example path: examples/azure/embeddings.ipynb slug: embeddings date: 2022-07-12 authors: - ted-at-openai - cmurtz-msft - glecaros - kristapratico tags: - embeddings archived: true - title: Azure functions example path: examples/azure/functions.ipynb slug: functions date: 2023-07-21 authors: - kristapratico tags: - completions - functions archived: true - title: Translate a book writen in LaTeX from Slovenian into English path: examples/book_translation/translate_latex_book.ipynb slug: translate-latex-book date: 2022-03-10 authors: - BorisPower tags: - completions - tiktoken - title: How to create dynamic masks with DALL·E and Segment Anything path: >- examples/dalle/How_to_create_dynamic_masks_with_DALL-E_and_Segment_Anything.ipynb slug: how-to-create-dynamic-masks-with-dall-e-and-segment-anything date: 2023-05-19 authors: - colin-openai tags: - dall-e archived: true - title: How to use the DALL·E API path: examples/dalle/Image_generations_edits_and_variations_with_DALL-E.ipynb slug: image-generations-edits-and-variations-with-dall-e date: 2022-11-04 authors: - ted-at-openai tags: - dall-e archived: true - title: How to evaluate a summarization task path: examples/evaluation/How_to_eval_abstractive_summarization.ipynb slug: how-to-eval-abstractive-summarization date: 2023-08-16 authors: - shyamal-anadkat - simonpfish tags: - embeddings - completions archived: true - title: Getting Started with OpenAI Evals path: examples/evaluation/Getting_Started_with_OpenAI_Evals.ipynb slug: getting-started-with-openai-evals date: 2024-03-21 authors: - royziv11 - shyamal-anadkat tags: - completions archived: true - title: Developing Hallucination Guardrails path: examples/Developing_hallucination_guardrails.ipynb slug: developing-hallucination-guardrails description: Cookbook to build hallucination guardrails with evals for support agents. date: 2024-05-29 authors: - royziv11 tags: - guardrails archived: true - title: Fine-Tuned Q&A - collect data path: examples/fine-tuned_qa/olympics-1-collect-data.ipynb slug: olympics-1-collect-data date: 2022-03-10 authors: - ted-at-openai - BorisPower tags: - embeddings - completions - fine-tuning - title: Fine-Tuned Q&A - create Q&A path: examples/fine-tuned_qa/olympics-2-create-qa.ipynb slug: olympics-2-create-qa date: 2022-03-10 authors: - ted-at-openai - BorisPower tags: - embeddings - completions - fine-tuning - title: Fine-Tuned Q&A - train path: examples/fine-tuned_qa/olympics-3-train-qa.ipynb slug: olympics-3-train-qa date: 2022-03-10 authors: - ted-at-openai - BorisPower tags: - completions - embeddings - fine-tuning - title: Visualizing the embeddings in Kangas path: examples/third_party/Visualizing_embeddings_in_Kangas.ipynb slug: visualizing-embeddings-in-kangas date: 2023-07-11 authors: - dsblank tags: - embeddings archived: true - title: Financial document analysis with LlamaIndex path: >- examples/third_party/financial_document_analysis_with_llamaindex.ipynb slug: financial-document-analysis-with-llamaindex date: 2023-06-22 authors: - Disiok tags: - embeddings - completions archived: true - title: Vector databases path: examples/vector_databases/README.md slug: vector-databases-readme date: 2023-06-28 authors: - colin-openai - moizsajid tags: - embeddings archived: true - title: Using PolarDB-PG as a vector database for OpenAI embeddings path: >- examples/vector_databases/PolarDB/Getting_started_with_PolarDB_and_OpenAI.ipynb slug: getting-started-with-polardb-and-openai date: 2023-07-11 authors: - liuchengshan-lcs tags: - embeddings archived: true - title: Semantic search with SingleStoreDB path: >- examples/vector_databases/SingleStoreDB/OpenAI_wikipedia_semantic_search.ipynb slug: openai-wikipedia-semantic-search date: 2023-05-22 authors: - arno756 tags: - completions - embeddings - title: SingleStoreDB path: examples/vector_databases/SingleStoreDB/README.md slug: singlestoredb-readme date: 2023-05-22 authors: - arno756 tags: - embeddings - completions - title: Using AnalyticDB as a vector database for OpenAI embeddings path: >- examples/vector_databases/analyticdb/Getting_started_with_AnalyticDB_and_OpenAI.ipynb slug: getting-started-with-analyticdb-and-openai date: 2023-04-06 authors: - wangxuqi tags: - embeddings - title: Question answering with Langchain, AnalyticDB and OpenAI path: >- examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb slug: qa-with-langchain-analyticdb-and-openai date: 2023-05-05 authors: - wangxuqi tags: - embeddings - tiktoken - title: Azure AI Search as a vector database for OpenAI embeddings path: >- examples/vector_databases/azuresearch/Getting_started_with_azure_ai_search_and_openai.ipynb slug: getting-started-with-azure-ai-search-and-openai date: 2023-09-11 authors: - farzad528 tags: - embeddings archived: true - title: Philosophy with vector embeddings, OpenAI and Cassandra / Astra DB path: examples/vector_databases/cassandra_astradb/Philosophical_Quotes_CQL.ipynb slug: philosophical-quotes-cql date: 2023-08-29 authors: - hemidactylus tags: - embeddings - completions archived: true - title: Philosophy with vector embeddings, OpenAI and Cassandra / Astra DB path: >- examples/vector_databases/cassandra_astradb/Philosophical_Quotes_cassIO.ipynb slug: philosophical-quotes-cassio date: 2023-08-29 authors: - hemidactylus tags: - embeddings - completions archived: true - title: Cassandra / Astra DB path: examples/vector_databases/cassandra_astradb/README.md slug: cassandra-astradb-readme date: 2023-08-29 authors: - hemidactylus tags: - embeddings archived: true - title: Using Chroma for embeddings search path: examples/vector_databases/chroma/Using_Chroma_for_embeddings_search.ipynb slug: using-chroma-for-embeddings-search date: 2023-06-28 authors: - colin-openai - atroyn tags: - embeddings archived: true - title: Robust question answering with Chroma and OpenAI path: examples/vector_databases/chroma/hyde-with-chroma-and-openai.ipynb slug: hyde-with-chroma-and-openai date: 2025-04-23 authors: - atroyn - brandonbaker-openai tags: - embeddings - completions archived: true - title: Elasticsearch path: examples/vector_databases/elasticsearch/README.md slug: elasticsearch-readme date: 2023-08-29 authors: - leemthompo tags: - embeddings - completions archived: true - title: Retrieval augmented generation using Elasticsearch and OpenAI path: >- examples/vector_databases/elasticsearch/elasticsearch-retrieval-augmented-generation.ipynb slug: elasticsearch-retrieval-augmented-generation date: 2023-08-29 authors: - leemthompo tags: - embeddings - completions archived: true - title: Semantic search using Elasticsearch and OpenAI path: examples/vector_databases/elasticsearch/elasticsearch-semantic-search.ipynb slug: elasticsearch-semantic-search date: 2023-08-29 authors: - leemthompo tags: - embeddings archived: true - title: Using Hologres as a vector database for OpenAI embeddings path: >- examples/vector_databases/hologres/Getting_started_with_Hologres_and_OpenAI.ipynb slug: getting-started-with-hologres-and-openai date: 2023-05-19 authors: - zcgeng tags: - embeddings - title: Kusto as a vector database for embeddings path: >- examples/vector_databases/kusto/Getting_started_with_kusto_and_openai_embeddings.ipynb slug: getting-started-with-kusto-and-openai-embeddings date: 2023-05-10 authors: - Anshul Sharma tags: - embeddings - title: Kusto as a vector database path: examples/vector_databases/kusto/README.md slug: kusto-readme date: 2023-05-10 authors: - Anshul Sharma tags: - embeddings - title: Filtered search with Milvus and OpenAI path: >- examples/vector_databases/milvus/Filtered_search_with_Milvus_and_OpenAI.ipynb slug: filtered-search-with-milvus-and-openai date: 2023-03-28 authors: - filip-halt tags: - embeddings - title: Getting started with Milvus and OpenAI path: >- examples/vector_databases/milvus/Getting_started_with_Milvus_and_OpenAI.ipynb slug: getting-started-with-milvus-and-openai date: 2023-03-28 authors: - filip-halt tags: - embeddings - title: Using MyScale as a vector database for OpenAI embeddings path: >- examples/vector_databases/myscale/Getting_started_with_MyScale_and_OpenAI.ipynb slug: getting-started-with-myscale-and-openai date: 2023-05-01 authors: - melovy tags: - embeddings - title: Using MyScale for embeddings search path: examples/vector_databases/myscale/Using_MyScale_for_embeddings_search.ipynb slug: using-myscale-for-embeddings-search date: 2023-06-28 authors: - colin-openai tags: - embeddings archived: true - title: Retrieval augmentation for GPT-4 using Pinecone path: examples/vector_databases/pinecone/GPT4_Retrieval_Augmentation.ipynb slug: gpt4-retrieval-augmentation date: 2023-03-24 authors: - jamescalam tags: - embeddings - completions - tiktoken - title: Retrieval augmented generative question answering with Pinecone path: examples/vector_databases/pinecone/Gen_QA.ipynb slug: gen-qa date: 2023-02-07 authors: - jamescalam tags: - embeddings - completions - title: Pinecone vector database path: examples/vector_databases/pinecone/README.md slug: pinecone-readme date: 2023-03-24 authors: - jamescalam tags: - embeddings - completions - title: Semantic search with Pinecone and OpenAI path: examples/vector_databases/pinecone/Semantic_Search.ipynb slug: pinecone-semantic-search date: 2023-03-24 authors: - jamescalam tags: - embeddings - title: Using Pinecone for embeddings search path: >- examples/vector_databases/pinecone/Using_Pinecone_for_embeddings_search.ipynb slug: using-pinecone-for-embeddings-search date: 2023-06-28 authors: - colin-openai tags: - embeddings archived: true - title: Using Qdrant as a vector database for OpenAI embeddings path: >- examples/vector_databases/qdrant/Getting_started_with_Qdrant_and_OpenAI.ipynb slug: getting-started-with-qdrant-and-openai date: 2023-02-16 authors: - kacperlukawski tags: - embeddings - title: Question answering with Langchain, Qdrant and OpenAI path: examples/vector_databases/qdrant/QA_with_Langchain_Qdrant_and_OpenAI.ipynb slug: qa-with-langchain-qdrant-and-openai date: 2023-02-16 authors: - kacperlukawski tags: - embeddings - title: Using Qdrant for embeddings search path: examples/vector_databases/qdrant/Using_Qdrant_for_embeddings_search.ipynb slug: using-qdrant-for-embeddings-search date: 2023-06-28 authors: - colin-openai - kacperlukawski tags: - embeddings archived: true - title: Redis path: examples/vector_databases/redis/README.md slug: redis-readme date: 2023-02-13 authors: - Spartee tags: - embeddings - completions archived: true - title: Using Redis for embeddings search path: examples/vector_databases/redis/Using_Redis_for_embeddings_search.ipynb slug: using-redis-for-embeddings-search date: 2023-06-28 authors: - colin-openai tags: - embeddings archived: true - title: Using Redis as a vector database with OpenAI path: examples/vector_databases/redis/getting-started-with-redis-and-openai.ipynb slug: getting-started-with-redis-and-openai date: 2023-02-13 authors: - Spartee tags: - embeddings - title: Running hybrid VSS queries with Redis and OpenAI path: examples/vector_databases/redis/redis-hybrid-query-examples.ipynb slug: redis-hybrid-query-examples date: 2023-05-11 authors: - Michael Yuan tags: - embeddings - title: Redis vectors as JSON with OpenAI path: examples/vector_databases/redis/redisjson/redisjson.ipynb slug: redisjson date: 2023-05-10 authors: - Michael Yuan tags: - embeddings - title: Redis as a context store with Chat Completions path: examples/vector_databases/redis/redisqna/redisqna.ipynb slug: redisqna date: 2023-05-11 authors: - Michael Yuan tags: - completions - embeddings - title: Using Tair as a vector database for OpenAI embeddings path: examples/vector_databases/tair/Getting_started_with_Tair_and_OpenAI.ipynb slug: getting-started-with-tair-and-openai date: 2023-09-11 authors: - dongqqcom tags: - embeddings archived: true - title: Question answering with Langchain, Tair and OpenAI path: examples/vector_databases/tair/QA_with_Langchain_Tair_and_OpenAI.ipynb slug: qa-with-langchain-tair-and-openai date: 2023-09-11 authors: - dongqqcom tags: - embeddings - tiktoken - completions archived: true - title: Typesense path: examples/vector_databases/typesense/README.md slug: typesense-readme date: 2023-04-13 authors: - jasonbosco tags: - embeddings archived: true - title: Using Typesense for embeddings search path: >- examples/vector_databases/typesense/Using_Typesense_for_embeddings_search.ipynb slug: using-typesense-for-embeddings-search date: 2023-06-28 authors: - colin-openai tags: - embeddings archived: true - title: Weaviate <> OpenAI path: examples/vector_databases/weaviate/README.md slug: weaviate-readme date: 2023-02-13 authors: - colin-openai tags: - embeddings - title: Using Weaviate for embeddings search path: >- examples/vector_databases/weaviate/Using_Weaviate_for_embeddings_search.ipynb slug: using-weaviate-for-embeddings-search date: 2023-06-28 authors: - colin-openai tags: - embeddings archived: true - title: Using Weaviate with generative OpenAI module for generative search path: >- examples/vector_databases/weaviate/generative-search-with-weaviate-and-openai.ipynb slug: generative-search-with-weaviate-and-openai date: 2023-05-22 authors: - sebawita tags: - embeddings - completions - title: Using Weaviate with OpenAI vectorize module for embeddings search path: >- examples/vector_databases/weaviate/getting-started-with-weaviate-and-openai.ipynb slug: getting-started-with-weaviate-and-openai date: 2023-02-13 authors: - colin-openai tags: - embeddings - title: Using Weaviate with OpenAI vectorize module for hybrid search path: >- examples/vector_databases/weaviate/hybrid-search-with-weaviate-and-openai.ipynb slug: hybrid-search-with-weaviate-and-openai date: 2023-02-13 authors: - colin-openai tags: - embeddings - title: Question Answering in Weaviate with OpenAI Q&A module path: >- examples/vector_databases/weaviate/question-answering-with-weaviate-and-openai.ipynb slug: question-answering-with-weaviate-and-openai date: 2023-02-13 authors: - colin-openai tags: - embeddings - completions - title: Filtered Search with Zilliz and OpenAI path: >- examples/vector_databases/zilliz/Filtered_search_with_Zilliz_and_OpenAI.ipynb slug: filtered-search-with-zilliz-and-openai date: 2023-03-28 authors: - filip-halt tags: - embeddings - title: Getting Started with Zilliz and OpenAI path: >- examples/vector_databases/zilliz/Getting_started_with_Zilliz_and_OpenAI.ipynb slug: getting-started-with-zilliz-and-openai date: 2023-03-28 authors: - filip-halt tags: - embeddings - title: Techniques to improve reliability path: articles/techniques_to_improve_reliability.md slug: techniques-to-improve-reliability redirects: - techniques_to_improve_reliability date: 2022-09-12 authors: - ted-at-openai tags: - completions - title: How to work with large language models path: articles/how_to_work_with_large_language_models.md slug: how-to-work-with-large-language-models redirects: - how_to_work_with_large_language_models date: 2023-01-20 authors: - ted-at-openai tags: - completions - title: Use cases for embeddings path: articles/text_comparison_examples.md slug: text-comparison-examples redirects: - text_comparison_examples date: 2023-01-20 authors: - ted-at-openai tags: - embeddings - title: ElatoAI - Realtime Speech AI Agents for ESP32 on Arduino path: examples/voice_solutions/running_realtime_api_speech_on_esp32_arduino_edge_runtime_elatoai.md slug: running-realtime-api-speech-on-esp32-arduino-edge-runtime-elatoai date: 2025-05-01 authors: - akashdeepdeb tags: - realtime-api - speech - audio - esp32 - iot - arduino archived: true - title: Related resources from around the web path: articles/related_resources.md slug: related-resources redirects: - related_resources date: 2023-01-20 authors: - ted-at-openai - simonpfish tags: - completions - embeddings - title: Fine-Tuning for retrieval augmented generation (RAG) with Qdrant path: examples/fine-tuned_qa/ft_retrieval_augmented_generation_qdrant.ipynb slug: ft-retrieval-augmented-generation-qdrant date: 2023-09-04 authors: - NirantK tags: - completions - embeddings - fine-tuning archived: true - title: How to automate AWS tasks with function calling path: examples/third_party/How_to_automate_S3_storage_with_functions.ipynb slug: how-to-automate-s3-storage-with-functions archived: true date: 2023-09-27 authors: - Barqawiz tags: - completions - embeddings - functions - title: Neon as a vector database path: examples/vector_databases/neon/README.md slug: neon-readme date: 2023-09-28 authors: - Barqawiz tags: - embeddings archived: true - title: Vector similarity search using Neon Postgres path: examples/vector_databases/neon/neon-postgres-vector-search-pgvector.ipynb slug: neon-postgres-vector-search-pgvector date: 2023-09-28 authors: - danieltprice tags: - embeddings archived: true - title: Question answering with LangChain, Deep Lake, & OpenAI path: examples/vector_databases/deeplake/deeplake_langchain_qa.ipynb slug: deeplake-langchain-qa date: 2023-09-30 authors: - FayazRahman tags: - embeddings archived: true - title: Fine-tuning OpenAI models with Weights & Biases path: examples/third_party/GPT_finetuning_with_wandb.ipynb slug: gpt-finetuning-with-wandb date: 2023-10-04 authors: - ash0ts tags: - tiktoken - completions - fine-tuning archived: true - title: OpenAI API Monitoring with Weights & Biases Weave path: examples/third_party/Openai_monitoring_with_wandb_weave.ipynb slug: openai-monitoring-with-wandb-weave date: 2023-10-04 authors: - ash0ts tags: - tiktoken - completions archived: true - title: How to build an agent with the OpenAI Node.js SDK path: examples/How_to_build_an_agent_with_the_node_sdk.mdx slug: how-to-build-an-agent-with-the-node-sdk date: 2023-10-05 authors: - perborgen tags: - completions - functions - agents archived: true - title: Named Entity Recognition to Enrich Text path: examples/Named_Entity_Recognition_to_enrich_text.ipynb slug: named-entity-recognition-to-enrich-text date: 2023-10-20 authors: - dcarpintero tags: - completions - functions archived: true - title: What makes documentation good path: articles/what_makes_documentation_good.md slug: what-makes-documentation-good redirects: - what_makes_documentation_good date: 2023-09-01 authors: - ted-at-openai tags: [] archived: true - title: Function calling with an OpenAPI specification path: examples/Function_calling_with_an_OpenAPI_spec.ipynb slug: function-calling-with-an-openapi-spec date: 2023-10-15 authors: - shyamal-anadkat - simonpfish tags: - completions - functions archived: true - title: Fine tuning for function calling path: examples/Fine_tuning_for_function_calling.ipynb slug: fine-tuning-for-function-calling date: 2023-11-07 authors: - jhills20 - ibigio - shyamal-anadkat - teomusatoiu tags: - completions - functions - fine-tuning archived: true - title: Processing and narrating a video with GPT-4.1-mini's visual capabilities and GPT-4o TTS API path: examples/GPT_with_vision_for_video_understanding.ipynb slug: gpt-with-vision-for-video-understanding date: 2025-04-22 authors: - cathykc - rzhao-openai tags: - responses - vision - speech archived: true - title: What's new with DALL·E 3? path: articles/what_is_new_with_dalle_3.mdx slug: what-is-new-with-dalle-3 date: 2023-11-06 authors: - 0hq tags: - dall-e archived: true - title: How to make your completions outputs consistent with the new seed parameter path: examples/Reproducible_outputs_with_the_seed_parameter.ipynb slug: reproducible-outputs-with-the-seed-parameter date: 2023-11-06 authors: - shyamal-anadkat tags: - completions archived: true - title: Assistants API Overview (Python SDK) path: examples/Assistants_API_overview_python.ipynb slug: assistants-api-overview-python date: 2023-11-10 authors: - ibigio tags: - assistants - functions archived: true - title: "Orchestrating Agents: Routines and Handoffs" path: examples/Orchestrating_agents.ipynb slug: orchestrating-agents description: Cookbook for orchestrating agent workflows with routines and handoffs. date: 2024-10-10 authors: - ibigio tags: - completions - functions - agents archived: true - title: MongoDB Atlas Vector Search path: examples/vector_databases/mongodb_atlas/README.md slug: mongodb-atlas-readme date: 2023-11-21 authors: - prakul tags: - embeddings - completions archived: true - title: Semantic search using MongoDB Atlas Vector Search and OpenAI path: examples/vector_databases/mongodb_atlas/semantic_search_using_mongodb_atlas_vector_search.ipynb slug: semantic-search-using-mongodb-atlas-vector-search date: 2023-11-21 authors: - prakul tags: - embeddings - completions archived: true - title: Evaluate RAG with LlamaIndex path: examples/evaluation/Evaluate_RAG_with_LlamaIndex.ipynb slug: evaluate-rag-with-llamaindex date: 2023-11-06 authors: - Ravi Theja tags: - embeddings - completions archived: true - title: RAG with a Graph database path: examples/RAG_with_graph_db.ipynb slug: rag-with-graph-db date: 2023-12-08 authors: - katiagg tags: - embeddings - completions archived: true - title: Supabase Vector Database path: examples/vector_databases/supabase/README.md slug: supabase-readme date: 2023-12-04 authors: - ggrn tags: - embeddings archived: true - title: Semantic search using Supabase Vector path: examples/vector_databases/supabase/semantic-search.mdx slug: supabase-semantic-search date: 2023-12-04 authors: - ggrn tags: - embeddings archived: true - title: How to implement LLM guardrails path: examples/How_to_use_guardrails.ipynb slug: how-to-use-guardrails date: 2023-12-19 authors: - colin-openai tags: - guardrails archived: true - title: How to combine GPT4o mini with RAG to create a clothing matchmaker app path: examples/How_to_combine_GPT4o_with_RAG_Outfit_Assistant.ipynb slug: how-to-combine-gpt4o-with-rag-outfit-assistant date: 2024-07-18 authors: - teomusatoiu tags: - vision - embeddings archived: true - title: How to parse PDF docs for RAG path: examples/Parse_PDF_docs_for_RAG.ipynb slug: parse-pdf-docs-for-rag date: 2024-09-29 authors: - katiagg - MW-OAI tags: - vision - embeddings archived: true - title: Using GPT4o mini to tag and caption images path: examples/Tag_caption_images_with_GPT4V.ipynb slug: tag-caption-images-with-gpt4v date: 2024-07-18 authors: - katiagg tags: - vision - embeddings archived: true - title: How to use the moderation API path: examples/How_to_use_moderation.ipynb slug: how-to-use-moderation date: 2024-03-05 authors: - teomusatoiu tags: - moderation archived: true - title: Summarizing Long Documents path: examples/Summarizing_long_documents.ipynb slug: summarizing-long-documents date: 2024-04-19 authors: - joe-at-openai tags: - chat archived: true - title: Using GPT4 Vision with Function Calling path: examples/multimodal/Using_GPT4_Vision_With_Function_Calling.ipynb slug: using-gpt4-vision-with-function-calling date: 2024-12-13 authors: - shyamal-anadkat - MW-OAI tags: - chat - vision archived: true - title: Synthetic data generation (Part 1) path: examples/SDG1.ipynb slug: sdg1 date: 2024-04-10 authors: - dylanra-openai tags: - completions archived: true - title: CLIP embeddings to improve multimodal RAG with GPT-4 Vision path: examples/custom_image_embedding_search.ipynb slug: custom-image-embedding-search date: 2024-04-10 authors: - dylanra-openai tags: - vision - embeddings archived: true - title: Batch processing with the Batch API path: examples/batch_processing.ipynb slug: batch-processing date: 2024-04-24 authors: - katiagg tags: - batch - completions archived: true - title: Using tool required for customer service path: examples/Using_tool_required_for_customer_service.ipynb slug: using-tool-required-for-customer-service date: 2024-05-01 authors: - colin-openai tags: - completions - functions archived: true - title: Introduction to GPT-4o and GPT-4o mini path: examples/gpt4o/introduction_to_gpt4o.ipynb slug: introduction-to-gpt4o date: 2024-07-18 authors: - justonf tags: - completions - vision - whisper - audio archived: true - title: Azure AI Search with Azure Functions and GPT Actions in ChatGPT path: examples/chatgpt/rag-quickstart/azure/Azure_AI_Search_with_Azure_Functions_and_GPT_Actions_in_ChatGPT.ipynb slug: azure-ai-search-with-azure-functions-and-gpt-actions-in-chatgpt date: 2024-07-08 authors: - maxreid-openai tags: - embeddings - chatgpt - tiktoken - completions - chatgpt-and-api archived: true - title: GPT Actions library - getting started path: examples/chatgpt/gpt_actions_library/.gpt_action_getting_started.ipynb slug: gpt-action-getting-started date: 2024-07-09 authors: - aaronwilkowitz-openai tags: - gpt-actions-library - chatgpt archived: true - title: GPT Actions library - BigQuery path: examples/chatgpt/gpt_actions_library/gpt_action_bigquery.ipynb slug: gpt-action-bigquery date: 2024-07-09 authors: - aaronwilkowitz-openai tags: - gpt-actions-library - chatgpt - chatgpt-data archived: true - title: Data Extraction and Transformation in ELT Workflows using GPT-4o as an OCR Alternative path: examples/Data_extraction_transformation.ipynb slug: data-extraction-transformation date: 2024-07-09 authors: - charuj tags: - completions - vision archived: true - title: GPT Actions library - Outlook path: examples/chatgpt/gpt_actions_library/gpt_action_outlook.ipynb slug: gpt-action-outlook date: 2024-07-15 authors: - rupert-openai tags: - gpt-actions-library - chatgpt - chatgpt-communication archived: true - title: GPT Actions library - Sharepoint (Return Docs) path: examples/chatgpt/gpt_actions_library/gpt_action_sharepoint_doc.ipynb slug: gpt-action-sharepoint-doc date: 2024-05-24 authors: - maxreid-openai tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: GPT Actions library - Sharepoint (Return Text) path: examples/chatgpt/gpt_actions_library/gpt_action_sharepoint_text.ipynb slug: gpt-action-sharepoint-text date: 2024-05-24 authors: - maxreid-openai tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: GPT Actions library (Middleware) - Azure Functions path: examples/chatgpt/gpt_actions_library/gpt_middleware_azure_function.ipynb slug: gpt-middleware-azure-function date: 2024-05-24 authors: - maxreid-openai tags: - gpt-actions-library - chatgpt - chatgpt-middleware archived: true - title: GPT Actions library - Canvas Learning Management System path: examples/chatgpt/gpt_actions_library/gpt_action_canvas.md slug: gpt-action-canvas date: 2024-09-17 authors: - keelan-openai - joecasson-openai tags: - gpt-actions-library - chatgpt archived: true - title: GPT Actions library - Salesforce path: examples/chatgpt/gpt_actions_library/gpt_action_salesforce.ipynb slug: gpt-action-salesforce date: 2024-07-18 authors: - aa-openai tags: - gpt-actions-library - chatgpt archived: true - title: GPT Actions library - Gmail path: examples/chatgpt/gpt_actions_library/gpt_action_gmail.ipynb slug: gpt-action-gmail date: 2024-07-24 authors: - alwestmo-openai tags: - gpt-actions-library - chatgpt - chatgpt-communication archived: true - title: GPT Actions library - Jira path: examples/chatgpt/gpt_actions_library/gpt_action_jira.ipynb slug: gpt-action-jira date: 2024-07-24 authors: - rupert-openai tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: GPT Actions library - Notion path: examples/chatgpt/gpt_actions_library/gpt_action_notion.ipynb slug: gpt-action-notion date: 2024-07-25 authors: - dan-openai tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: GPT Actions library - Confluence path: examples/chatgpt/gpt_actions_library/gpt_action_confluence.ipynb slug: gpt-action-confluence date: 2024-07-31 authors: - eszuhany-openai tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: GPT Actions library - SQL Database path: examples/chatgpt/gpt_actions_library/gpt_action_sql_database.ipynb slug: gpt-action-sql-database date: 2024-07-31 authors: - evanweiss-openai tags: - chatgpt - gpt-actions-library - chatgpt-data archived: true - title: GPT Actions library - Box path: examples/chatgpt/gpt_actions_library/gpt_action_box.ipynb slug: gpt-action-box date: 2024-08-02 authors: - keelan-openai tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: GCP BigQuery Vector Search with GCP Functions and GPT Actions in ChatGPT path: examples/chatgpt/rag-quickstart/gcp/Getting_started_with_bigquery_vector_search_and_openai.ipynb slug: getting-started-with-bigquery-vector-search-and-openai date: 2024-08-02 authors: - pap-openai - maxreid-openai tags: - embeddings - chatgpt - tiktoken - completions - chatgpt-and-api archived: true - title: GPT Actions library - Zapier path: examples/chatgpt/gpt_actions_library/gpt_action_zapier.ipynb slug: gpt-action-zapier date: 2024-08-05 authors: - dan-openai tags: - gpt-actions-library - chatgpt - chatgpt-middleware archived: true - title: Structured Outputs for Multi-Agent Systems path: examples/Structured_outputs_multi_agent.ipynb slug: structured-outputs-multi-agent date: 2024-08-06 authors: - dylanra-openai tags: - completions - functions - agents archived: true - title: Introduction to Structured Outputs path: examples/Structured_Outputs_Intro.ipynb slug: structured-outputs-intro date: 2024-08-06 authors: - katiagg tags: - completions - functions archived: true - title: GPT Actions library (Middleware) - Google Cloud Function path: examples/chatgpt/gpt_actions_library/gpt_middleware_google_cloud_function.md slug: gpt-middleware-google-cloud-function date: 2024-08-11 authors: - girishd tags: - chatgpt - gpt-actions-library - chatgpt-middleware archived: true - title: GPT Actions library - AWS Redshift path: examples/chatgpt/gpt_actions_library/gpt_action_redshift.ipynb slug: gpt-action-redshift date: 2024-08-09 authors: - pap-openai tags: - gpt-actions-library - chatgpt - chatgpt-data archived: true - title: GPT Actions library - AWS Middleware path: examples/chatgpt/gpt_actions_library/gpt_middleware_aws_function.ipynb slug: gpt-middleware-aws-function date: 2024-08-09 authors: - pap-openai tags: - gpt-actions-library - chatgpt - chatgpt-middleware archived: true - title: GPT Actions library - Google Drive path: examples/chatgpt/gpt_actions_library/gpt_action_google_drive.ipynb slug: gpt-action-google-drive date: 2024-08-11 authors: - lxing-oai tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: GPT Actions library - Snowflake Direct path: examples/chatgpt/gpt_actions_library/gpt_action_snowflake_direct.ipynb slug: gpt-action-snowflake-direct date: 2024-08-13 authors: - gladstone-openai tags: - gpt-actions-library - chatgpt - chatgpt-data archived: true - title: GPT Actions library - Snowflake Middleware path: examples/chatgpt/gpt_actions_library/gpt_action_snowflake_middleware.ipynb slug: gpt-action-snowflake-middleware date: 2024-08-14 authors: - gladstone-openai tags: - gpt-actions-library - chatgpt - chatgpt-data archived: true - title: GPT Actions library - Retool Workflow path: examples/chatgpt/gpt_actions_library/gpt_action_retool_workflow.md slug: gpt-action-retool-workflow date: 2024-08-28 authors: - lspacagna-oai tags: - gpt-actions-library - chatgpt - chatgpt-middleware archived: true - title: Using reasoning for data validation path: examples/o1/Using_reasoning_for_data_validation.ipynb slug: using-reasoning-for-data-validation date: 2024-09-12 authors: - royziv11 tags: - completions - reasoning archived: true - title: Using reasoning for routine generation path: examples/o1/Using_reasoning_for_routine_generation.ipynb slug: using-reasoning-for-routine-generation date: 2024-09-12 authors: - royziv11 tags: - completions - reasoning archived: true - title: Using chained calls for o1 structured outputs path: examples/o1/Using_chained_calls_for_o1_structured_outputs.ipynb slug: using-chained-calls-for-o1-structured-outputs date: 2024-09-26 authors: - ericning-o tags: - completions - reasoning archived: true - title: Building a Bring Your Own Browser (BYOB) Tool for Web Browsing and Summarization path: examples/third_party/Web_search_with_google_api_bring_your_own_browser_tool.ipynb slug: web-search-with-google-api-bring-your-own-browser-tool date: 2024-09-26 authors: - msingh-openai tags: - completions archived: true - title: Prompt Caching 101 path: examples/Prompt_Caching101.ipynb slug: prompt-caching101 description: Cookbook to reduce latency and cost using OpenAI prompt caching. date: 2024-10-01 authors: - charuj tags: - latency - cost - prompt caching - completions archived: true - title: GPT Actions library - Google Ads via Adzviser path: examples/chatgpt/gpt_actions_library/gpt_action_googleads_adzviser.ipynb slug: gpt-action-googleads-adzviser date: 2024-10-10 authors: - zeyuangu-adzviser tags: - gpt-actions-library - chatgpt - chatgpt-data - chatgpt-productivity - chatgpt-middleware archived: true - title: Leveraging model distillation to fine-tune a model path: examples/Leveraging_model_distillation_to_fine-tune_a_model.ipynb slug: leveraging-model-distillation-to-fine-tune-a-model description: Cookbook to distill a larger model into a smaller fine-tuned model. date: 2024-10-16 authors: - pap-openai tags: - completions - fine-tuning archived: true - title: Voice Translation into Different Languages path: examples/voice_solutions/voice_translation_into_different_languages_using_GPT-4o.ipynb slug: voice-translation-into-different-languages-using-gpt-4o date: 2024-10-21 authors: - msingh-openai tags: - completions - audio archived: true - title: Enhance your prompts with meta prompting path: examples/Enhance_your_prompts_with_meta_prompting.ipynb slug: enhance-your-prompts-with-meta-prompting date: 2024-10-23 authors: - teomusatoiu tags: - completions - reasoning archived: true - title: GPT Actions library - GitHub path: examples/chatgpt/gpt_actions_library/gpt_action_github.md slug: gpt-action-github date: 2024-10-23 authors: - alwell-kevin tags: - gpt-actions-library - chatgpt - chatgpt-productivity archived: true - title: Custom LLM as a Judge to Detect Hallucinations with Braintrust path: examples/Custom-LLM-as-a-Judge.ipynb slug: custom-llm-as-a-judge date: 2024-10-14 authors: - ankrgyl - shyamal-anadkat tags: - evals - completions archived: true - title: Vision Fine-tuning on GPT-4o for Visual Question Answering path: examples/multimodal/Vision_Fine_tuning_on_GPT4o_for_Visual_Question_Answering.ipynb slug: vision-fine-tuning-on-gpt4o-for-visual-question-answering date: 2024-11-01 authors: - danial-openai tags: - vision - fine-tuning - completions archived: true - title: Steering Text-to-Speech for more dynamic audio generation path: examples/voice_solutions/steering_tts.ipynb slug: steering-tts date: 2024-11-01 authors: - ericning-o - gbergengruen tags: - completions - audio archived: true - title: Pinecone Vector Database and Retool Workflow with GPT Actions path: examples/chatgpt/rag-quickstart/pinecone-retool/gpt-action-pinecone-retool-rag.ipynb slug: gpt-action-pinecone-retool-rag date: 2024-11-11 authors: - lspacagna-oai tags: - gpt-actions-library - embeddings - chatgpt - chatgpt-and-api archived: true - title: Optimizing Retrieval-Augmented Generation using GPT-4o Vision Modality path: examples/vector_databases/pinecone/Using_vision_modality_for_RAG_with_Pinecone.ipynb slug: using-vision-modality-for-rag-with-pinecone date: 2024-11-12 authors: - msingh-openai tags: - completions - vision archived: true - title: GPT Actions library - Workday path: examples/chatgpt/gpt_actions_library/gpt_action_workday.md slug: gpt-action-workday date: 2024-11-20 authors: - erickgort - pap-openai tags: - gpt-actions-library - chatgpt-productivity - chatgpt archived: true - title: GPT Actions library - Google Calendar path: examples/chatgpt/gpt_actions_library/gpt_action_google_calendar.md slug: gpt-action-google-calendar date: 2024-11-22 authors: - lspacagna-oai tags: - gpt-actions-library - chatgpt - chatgpt-communication archived: true - title: GPT Actions library - Tray.ai APIM path: examples/chatgpt/gpt_actions_library/gpt_action_trayai_apim.md slug: gpt-action-trayai-apim date: 2024-11-26 authors: - kylecote-tray tags: - gpt-actions-library - chatgpt - chatgpt-middleware archived: true - title: Reasoning over Code Quality and Security in GitHub Pull Requests path: examples/third_party/Code_quality_and_security_scan_with_GitHub_Actions.md slug: code-quality-and-security-scan-with-github-actions date: 2024-12-24 authors: - alwell-kevin tags: - SDLC - reasoning - completions - security archived: true - title: How to evaluate LLMs for SQL generation path: examples/evaluation/How_to_evaluate_LLMs_for_SQL_generation.ipynb slug: how-to-evaluate-llms-for-sql-generation date: 2024-01-23 authors: - colin-openai tags: - guardrails archived: true - title: How to use the Usage API and Cost API to monitor your OpenAI usage path: examples/completions_usage_api.ipynb slug: completions-usage-api description: Cookbook to fetch and visualize Completions Usage and cost data via API. date: 2025-01-14 authors: - MW-OAI - thli-openai tags: - usage-api - cost-api - title: Build Your Own Code Interpreter - Dynamic Tool Generation and Execution With o3-mini path: examples/object_oriented_agentic_approach/Secure_code_interpreter_tool_for_LLM_agents.ipynb slug: secure-code-interpreter-tool-for-llm-agents date: 2025-02-03 authors: - msingh-openai tags: - completions - security archived: true - title: Doing RAG on PDFs using File Search in the Responses API path: examples/File_Search_Responses.ipynb slug: file-search-responses description: Cookbook to search PDFs with the Responses API file search tool. date: 2025-03-11 archived: true authors: - pap-openai tags: - responses - functions - title: Building a Voice Assistant with the Agents SDK path: examples/agents_sdk/app_assistant_voice_agents.ipynb slug: app-assistant-voice-agents date: 2025-03-27 authors: - rupert-openai tags: - audio - responses - speech archived: true - title: Build Live Translation Apps with gpt-realtime-translate path: examples/voice_solutions/realtime_translation_guide.mdx slug: realtime-translation-guide description: Cookbook for building browser, phone, and video-call translation experiences with Realtime Translation. date: 2026-05-07 authors: - erikakettleson-openai tags: - realtime - audio - speech - translation - webrtc - websockets - title: Multi-Language One-Way Translation with the Realtime API path: examples/voice_solutions/one_way_translation_using_realtime_api.mdx slug: one-way-translation-using-realtime-api description: Cookbook to build one-way speech translation with the Realtime API. date: 2025-03-24 archived: true authors: - erikakettleson-openai tags: - audio - speech - title: Evaluating Agents with Langfuse path: examples/agents_sdk/evaluate_agents.ipynb slug: evaluate-agents date: 2025-03-31 authors: - jannik-maierhofer tags: - evals - agents-sdk archived: true - title: GPT Actions library - Salesforce & Gong path: examples/chatgpt/gpt_actions_library/gpt_action_salesforce_gong.md slug: gpt-action-salesforce-gong archived: true date: 2025-04-07 authors: - girishd tags: - chatgpt - gpt-actions-library - chatgpt-productivity - title: GPT-4.1 Prompting Guide path: examples/gpt4-1_prompting_guide.ipynb slug: gpt4-1-prompting-guide date: 2025-04-14 authors: - nm-openai - julian-openai tags: - responses - api archived: true - title: Generate images with GPT Image path: examples/Generate_Images_With_GPT_Image.ipynb slug: generate-images-with-gpt-image description: Cookbook to generate and edit images with GPT Image capabilities. date: 2025-04-23 archived: true authors: - katiagg tags: - images - title: Handling Function Calls with Reasoning Models path: examples/reasoning_function_calls.ipynb slug: reasoning-function-calls date: 2025-04-25 authors: - tompakeman-oai tags: - reasoning - functions - responses - api archived: true - title: Parallel Agents with the OpenAI Agents SDK path: examples/agents_sdk/parallel_agents.ipynb slug: parallel-agents date: 2025-05-01 authors: - brandonbaker-openai tags: - agents - agents-sdk - parallel-agents archived: true - title: Practical guide to data-intensive apps with the Realtime API path: examples/Data-intensive-Realtime-apps.ipynb slug: data-intensive-realtime-apps date: 2025-05-29 authors: - alistair-openai - rkoenig-openai - phundal-openai tags: - audio - speech archived: true - title: Selecting a Model Based on Stripe Conversion – A Practical Eval for Startups path: examples/stripe_model_eval/selecting_a_model_based_on_stripe_conversion.ipynb slug: selecting-a-model-based-on-stripe-conversion date: 2025-06-02 authors: - joshbickett - lupie - shyamal-anadkat tags: - evals - stripe - conversion archived: true - title: Evals API Use-case - MCP Evaluation path: examples/evaluation/use-cases/mcp_eval_notebook.ipynb slug: mcp-eval-notebook date: 2025-06-09 authors: - josiah-openai - shikhar-cyber tags: - evals-api - responses - evals - mcp archived: true - title: Evals API Use-case - Structured Outputs Evaluation path: examples/evaluation/use-cases/structured-outputs-evaluation.ipynb slug: structured-outputs-evaluation date: 2025-06-09 authors: - josiah-openai - shikhar-cyber tags: - evals-api - responses - evals archived: true - title: Evals API Use-case - Tools Evaluation path: examples/evaluation/use-cases/tools-evaluation.ipynb slug: tools-evaluation date: 2025-06-09 authors: - josiah-openai - shikhar-cyber tags: - evals-api - responses - evals archived: true - title: Evals API Use-case - Web Search Evaluation path: examples/evaluation/use-cases/web-search-evaluation.ipynb slug: web-search-evaluation date: 2025-06-09 authors: - josiah-openai - shikhar-cyber tags: - evals-api - responses - evals archived: true - title: Introduction to deep research in the OpenAI API path: examples/deep_research_api/introduction_to_deep_research_api.ipynb slug: introduction-to-deep-research-api date: 2025-06-25 authors: - glojain - alwell-kevin tags: - deep-research-api - responses - mcp - deep-research archived: true - title: Deep Research API with the Agents SDK path: examples/deep_research_api/introduction_to_deep_research_api_agents.ipynb slug: introduction-to-deep-research-api-agents date: 2025-06-25 authors: - alwell-kevin - glojain tags: - deep-research-api - mcp - deep-research - agents - agents-sdk archived: true - title: Building a Deep Research MCP Server path: examples/deep_research_api/how_to_build_a_deep_research_mcp_server/README.md slug: how-to-build-a-deep-research-mcp-server-readme date: 2025-06-25 authors: - alwell-kevin - glojain tags: - mcp - deep-research-api - responses - deep-research - agents - agents-sdk archived: true - title: Generate images with high input fidelity path: examples/Generate_Images_With_High_Input_Fidelity.ipynb slug: generate-images-with-high-input-fidelity description: Cookbook to preserve image details using high input fidelity in Image API. date: 2025-07-17 authors: - katiagg tags: - images archived: true - title: Use Codex CLI to automatically fix CI failures path: examples/codex/Autofix-github-actions.ipynb slug: autofix-github-actions archived: true date: 2025-09-30 authors: - himadri518 - alwell-kevin - charlie-openai tags: - codex - title: Building resilient prompts using an evaluation flywheel path: examples/evaluation/Building_resilient_prompts_using_an_evaluation_flywheel.md slug: building-resilient-prompts-using-an-evaluation-flywheel archived: true date: 2025-10-06 authors: - neelk-oai - hamel tags: - evals - datasets - title: Build Code Review with the Codex SDK path: examples/codex/build_code_review_with_codex_sdk.md slug: build-code-review-with-codex-sdk date: 2025-10-21 authors: - charlie-openai - joanneshin-openai tags: - codex - security archived: true - title: Context Engineering for Personalization - State Management with Long-Term Memory Notes path: examples/agents_sdk/context_personalization.ipynb slug: context-personalization description: Cookbook to build personalized agents with long-term memory state using the Agents SDK. date: 2026-01-05 authors: - emreokcular tags: - agents-sdk - title: Build a coding agent with GPT 5.1 path: examples/Build_a_coding_agent_with_GPT-5.1.ipynb slug: build-a-coding-agent-with-gpt-5-1 date: 2025-11-13 authors: - katiagg tags: - agents-sdk - security archived: true - title: GPT-5.1 Prompting Guide path: examples/gpt-5/gpt-5-1_prompting_guide.ipynb slug: gpt-5-1-prompting-guide date: 2025-11-13 authors: - samarth-oai tags: - gpt-5.1 archived: true - title: Codex Prompting Guide path: examples/gpt-5/codex_prompting_guide.ipynb slug: codex-prompting-guide redirects: - gpt-5-1-codex-max-prompting-guide - gpt-5-1-codex-max_prompting_guide - gpt-5-codex-prompting-guide - gpt-5-codex_prompting_guide date: 2026-02-25 authors: - nm-openai - bfioca-openai tags: - codex - responses - compaction - title: Modernizing your Codebase with Codex path: examples/codex/code_modernization.md slug: code-modernization description: Cookbook to modernize legacy codebases using the OpenAI Codex CLI. date: 2025-11-19 authors: - derrickchoi-openai tags: - codex - title: OpenAI Compliance Logs Platform quickstart path: examples/chatgpt/compliance_api/logs_platform.ipynb slug: logs-platform date: 2025-12-11 archived: true authors: - kevinv-openai tags: - chatgpt - chatgpt-data - chatgpt-and-api - compliance - enterprise - title: GPT-5.2 Prompting Guide path: examples/gpt-5/gpt-5-2_prompting_guide.ipynb slug: gpt-5-2-prompting-guide description: Cookbook to prompt GPT-5.2 for accurate, concise enterprise workflows. date: 2025-12-11 authors: - msingh-openai - emreokcular tags: - gpt-5.2 archived: true - title: Gpt-image-1.5 Prompting Guide path: examples/multimodal/image-gen-1.5-prompting_guide.ipynb slug: image-gen-1-5-prompting-guide description: Cookbook to prompt gpt-image-1.5 for reliable image generation results. date: 2025-12-16 authors: - annikab-oai - msingh-openai - emreokcular tags: - images - vision archived: true - title: Prompt Personalities path: examples/gpt-5/prompt_personalities.ipynb slug: prompt-personalities description: Cookbook to shape agent personality via instruction prompts for tone and style. date: 2026-01-05 authors: - msingh-openai - kathylau-oai tags: - gpt-5 - prompt-personalities - title: Image Evals for Image Generation and Editing Use Cases path: examples/multimodal/image_evals.ipynb slug: image-evals description: Cookbook to build image evals for image generation and editing use cases. date: 2026-01-29 authors: - emreokcular - kathylau-oai tags: - evals - vision - images - title: Skills in OpenAI API path: examples/skills_in_api.ipynb slug: skills-in-api description: Cookbook for building skills with the OpenAI API. date: 2026-02-10 authors: - emreokcular tags: - responses - security - title: Prompt Caching 201 path: examples/Prompt_Caching_201.ipynb slug: prompt-caching-201 archived: true description: Cookbook for improving prompt caching hit rate, latency, and cost. date: 2026-02-18 authors: - erikakettleson-openai tags: - prompt-caching - latency - cost - responses - realtime - title: GPT Image Generation Models Prompting Guide path: examples/multimodal/image-gen-models-prompting-guide.ipynb slug: image-gen-models-prompting-guide archived: true description: Cookbook to prompt gpt-image models for reliable image generation results. date: 2026-04-21 authors: - msingh-openai - emreokcular - the-OAI tags: - images - vision - title: ChatGPT Enterprise Prompting Guide path: examples/chatgpt/chatgpt_prompt_guide/chatgpt_prompt_guide.md slug: chatgpt_prompt_engineering description: Cookbook for writing better prompts for everyday work in ChatGPT Enterprise. date: 2026-04-27 authors: - sophiaqin-openai - aaronwilkowitz-openai tags: - chatgpt - title: Building Reliable Agents with Memory and Compaction path: examples/agents_sdk/building_reliable_agents_memory_compaction.ipynb slug: building-reliable-agents-memory-compaction description: Cookbook for building evidence review agent that uses compaction and memory from Agents SDK. date: 2026-05-01 authors: - PASFIELD-OAI - emreokcular tags: - agents-sdk - agents - memory - compaction - title: Build iterative repair loops with Codex path: examples/codex/Build_iterative_repair_loops_with_Codex.ipynb slug: build-iterative-repair-loops-with-codex description: A Codex cookbook showing how to use review, repair, and validation loops to improve technical documentation artifacts. date: 2026-05-11 authors: - shreekant-openai tags: - codex - agents - evals - title: Build an Agent Improvement Loop with Traces, Evals, and Codex path: examples/agents_sdk/agent_improvement_loop.ipynb slug: agent-improvement-loop description: Build a trace-driven improvement loop that turns human and model feedback into Promptfoo evals, HALO-ranked harness changes, and a Codex handoff. date: 2026-05-12 authors: - PASFIELD-OAI tags: - agents-sdk - agents - evals - promptfoo - tracing - codex - halo - title: Moving from OpenAI Evals to Promptfoo path: examples/evaluation/moving-from-openai-evals-to-promptfoo.md slug: moving-from-openai-evals-to-promptfoo description: Manually recreate OpenAI Evals evaluations in Promptfoo, then run and validate them. date: 2026-06-03 authors: - kkahadze-oai tags: - evals - promptfoo - title: Optimizing Customer Support Agents for Cost and Quality path: examples/agent_optimization/optimizing_agents_for_cost_and_quality.ipynb slug: optimizing_agents_for_cost_and_quality description: Optimize agents on cost, latency and performance. date: 2026-09-14 authors: - emreokcular - lara-openai tags: - evals - agents - title: GPT-Live evaluation guide path: examples/audio/voice_agent_evaluation.md slug: voice-agent-evaluation description: Evaluate full-duplex voice agents with controlled requests, recorded audio, and simulated conversations, measuring interaction quality and verified task outcomes. date: '2026-09-10' authors: - kait-oai - karsten-oai - erikakettleson-openai tags: - audio - speech - evals - agents - responses