Examples and guides for using the OpenAI API
Adding slug/description fields to schema and registry (#2365)
cguo-oaib0f3cdf9ef02
diff --git a/.github/registry_schema.json b/.github/registry_schema.jsonindex c617d4f0..22972fb1 100644--- a/.github/registry_schema.json+++ b/.github/registry_schema.json@@ -10,6 +10,12 @@"path": {"type": "string"},+ "slug": {+ "type": "string"+ },+ "description": {+ "type": "string"+ },"redirects": {"type": "array","items": {@@ -36,7 +42,7 @@"type": "boolean"}},- "required": ["title", "path", "tags", "authors"],+ "required": ["title", "path", "slug", "tags", "authors"],"additionalProperties": false}}diff --git a/registry.yaml b/registry.yamlindex 3c8ceb7a..a38271a5 100644--- a/registry.yaml+++ b/registry.yaml@@ -6,6 +6,8 @@- title: Transcribing User Audio with a Separate Realtime Requestpath: 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-20authors:- minh-hoque@@ -18,6 +20,7 @@- title: Self-Evolving Agents - A Cookbook for Autonomous Agent Retrainingpath: examples/partners/self_evolving_agents/autonomous_agent_retraining.ipynb+ slug: autonomous-agent-retrainingdate: 2025-11-04authors:- shikhar-cyber@@ -35,6 +38,7 @@- title: User guide for gpt-oss-safeguardpath: articles/gpt-oss-safeguard-guide.md+ slug: gpt-oss-safeguard-guidedate: 2025-10-29authors:- roost@@ -45,6 +49,7 @@- title: Build, deploy, and optimize agentic workflows with AgentKitpath: examples/agentkit/agentkit_walkthrough.ipynb+ slug: agentkit-walkthroughdate: 2025-10-17authors:- nikhils-oai@@ -54,6 +59,7 @@- title: Building with Realtime Minipath: examples/building_w_rt_mini/building_w_rt_mini.ipynb+ slug: building-w-rt-minidate: 2025-10-11authors:- carter-oai@@ -62,6 +68,8 @@- title: Sora 2 Prompting Guidepath: examples/sora/sora2_prompting_guide.ipynb+ slug: sora2-prompting-guide+ description: Cookbook to craft effective video prompts for Sora 2 generation.date: 2025-10-06authors:- rkoenig-openai@@ -72,6 +80,7 @@- title: Using PLANS.md for multi-hour problem solvingpath: articles/codex_exec_plans.md+ slug: codex-exec-plansdate: 2025-10-07authors:- aaronfriel@@ -84,6 +93,7 @@- title: Building Consistent Workflows with Codex CLI & Agents SDKpath: examples/codex/codex_mcp_agents_sdk/building_consistent_workflows_codex_cli_agents_sdk.ipynb+ slug: building-consistent-workflows-codex-cli-agents-sdkdate: 2025-10-01authors:- jhall-openai@@ -95,6 +105,8 @@- title: GPT-5-Codex Prompting Guidepath: examples/gpt-5-codex_prompting_guide.ipynb+ slug: gpt-5-codex-prompting-guide+ description: Cookbook to prompt GPT-5-Codex effectively for agentic and interactive coding tasks.date: 2025-09-23authors:- daveleo-openai@@ -104,6 +116,7 @@- title: GPT-5 Troubleshooting Guidepath: examples/gpt-5/gpt-5_troubleshooting_guide.ipynb+ slug: gpt-5-troubleshooting-guidedate: 2025-09-17authors:- prashantmital-openai@@ -115,6 +128,7 @@- title: Context Engineering - Short-Term Memory Management with Sessions from OpenAI Agents SDKpath: examples/agents_sdk/session_memory.ipynb+ slug: session-memorydate: 2025-09-09authors:- emreokcular@@ -123,6 +137,7 @@- title: Automating Code Quality and Security Fixes with Codex CLI on GitLabpath: examples/codex/secure_quality_gitlab.md+ slug: secure-quality-gitlabdate: 2025-08-29authors:- jonlim-openai@@ -132,6 +147,7 @@- title: Realtime Prompting Guidepath: examples/Realtime_prompting_guide.ipynb+ slug: realtime-prompting-guidedate: 2025-08-28authors:- minh-hoque@@ -143,6 +159,7 @@- title: "Fine-tune gpt-oss for better Korean language performance"path: articles/gpt-oss/fine-tune-korean.ipynb+ slug: fine-tune-koreandate: 2025-08-26authors:- heejingithub@@ -154,6 +171,7 @@- title: Verifying gpt-oss implementationspath: articles/gpt-oss/verifying-implementations.md+ slug: verifying-implementationsdate: 2025-08-11authors:- dkundel-openai@@ -164,6 +182,7 @@- title: How to run gpt-oss locally with LM Studiopath: articles/gpt-oss/run-locally-lmstudio.md+ slug: run-locally-lmstudiodate: 2025-08-07authors:- yagil@@ -174,6 +193,7 @@- title: GPT-5 Prompt Migration and Improvement Using the New Optimizerpath: examples/gpt-5/prompt-optimization-cookbook.ipynb+ slug: prompt-optimization-cookbookdate: 2025-08-07authors:- rajpathak-openai@@ -186,6 +206,7 @@- title: GPT-5 prompting guidepath: examples/gpt-5/gpt-5_prompting_guide.ipynb+ slug: gpt-5-prompting-guidedate: 2025-08-07authors:- anoop-openai@@ -199,6 +220,7 @@- title: Frontend coding with GPT-5path: examples/gpt-5/gpt-5_frontend.ipynb+ slug: gpt-5-frontenddate: 2025-08-07authors:- WJPBProjects@@ -210,6 +232,7 @@- title: GPT-5 New Params and Toolspath: examples/gpt-5/gpt-5_new_params_and_tools.ipynb+ slug: gpt-5-new-params-and-toolsdate: 2025-08-07authors:- msingh-openai@@ -220,6 +243,7 @@- title: How to run gpt-oss-20b on Google Colabpath: articles/gpt-oss/run-colab.ipynb+ slug: run-colabdate: 2025-08-06authors:- pcuenca@@ -231,6 +255,7 @@- title: Using NVIDIA TensorRT-LLM to run gpt-oss-20bpath: articles/gpt-oss/run-nvidia.ipynb+ slug: run-nvidiadate: 2025-08-05authors:- jayrodge@@ -241,6 +266,7 @@- title: Fine-tuning with gpt-oss and Hugging Face Transformerspath: articles/gpt-oss/fine-tune-transfomers.ipynb+ slug: fine-tune-transfomersdate: 2025-08-05authors:- edbeeching@@ -253,6 +279,7 @@- title: How to handle the raw chain of thought in gpt-osspath: articles/gpt-oss/handle-raw-cot.md+ slug: handle-raw-cotdate: 2025-08-05authors:- dkundel-openai@@ -264,6 +291,7 @@- title: How to run gpt-oss with Transformerspath: articles/gpt-oss/run-transformers.md+ slug: run-transformersdate: 2025-08-05authors:- dkundel-openai@@ -274,6 +302,7 @@- title: How to run gpt-oss with vLLMpath: articles/gpt-oss/run-vllm.md+ slug: run-vllmdate: 2025-08-05authors:- dkundel-openai@@ -284,6 +313,7 @@- title: How to run gpt-oss locally with Ollamapath: articles/gpt-oss/run-locally-ollama.md+ slug: run-locally-ollamadate: 2025-08-05authors:- dkundel-openai@@ -294,6 +324,7 @@- title: OpenAI Harmony Response Formatpath: articles/openai-harmony.md+ slug: openai-harmonydate: 2025-08-05authors:- dkundel-openai@@ -306,6 +337,7 @@- title: Temporal Agents with Knowledge Graphspath: examples/partners/temporal_agents_with_knowledge_graphs/temporal_agents.ipynb+ slug: temporal-agentsdate: 2025-07-22authors:- dwigg-openai@@ -321,6 +353,7 @@- title: Using Evals API on Image Inputspath: examples/evaluation/use-cases/EvalsAPI_Image_Inputs.ipynb+ slug: evalsapi-image-inputsdate: 2025-07-15authors:- daisyshe-oai@@ -330,6 +363,7 @@- title: Using Evals API on Audio Inputspath: examples/evaluation/use-cases/EvalsAPI_Audio_Inputs.ipynb+ slug: evalsapi-audio-inputsdate: 2025-08-13authors:- hendrytl@@ -339,6 +373,7 @@- title: Optimize Promptspath: examples/Optimize_Prompts.ipynb+ slug: optimize-promptsdate: 2025-07-14authors:- corwin@@ -351,6 +386,7 @@- title: Automate Jira ↔ GitHub with Codexpath: examples/codex/jira-github.ipynb+ slug: jira-githubdate: 2025-06-21authors:- alwell-kevin@@ -361,6 +397,7 @@- title: Prompt Migration Guidepath: examples/Prompt_migration_guide.ipynb+ slug: prompt-migration-guidedate: 2025-06-26authors:- minh-hoque@@ -372,6 +409,7 @@- 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-guidedate: 2025-06-18authors:- alexl-oai@@ -380,6 +418,7 @@- title: MCP-Powered Agentic Voice Frameworkpath: examples/partners/mcp_powered_voice_agents/mcp_powered_agents_cookbook.ipynb+ slug: mcp-powered-agents-cookbookdate: 2025-06-17authors:- shikhar-cyber@@ -394,6 +433,7 @@- title: Building a Supply-Chain Copilot with OpenAI Agent SDK and Databricks MCP Serverspath: examples/mcp/databricks_mcp_cookbook.ipynb+ slug: databricks-mcp-cookbookdate: 2025-07-08authors:- lara-openai@@ -404,6 +444,8 @@- title: Eval Driven System Design - From Prototype to Productionpath: 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-02authors:- shikhar-cyber@@ -420,6 +462,8 @@- title: Multi-Agent Portfolio Collaboration with OpenAI Agents SDKpath: 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-28authors:- rajpathak-openai@@ -432,6 +476,8 @@- title: o3/o4-mini Function Calling Guidepath: 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.date: 2025-05-26authors:- billchen-openai@@ -443,6 +489,8 @@- title: Exploring Model Graders for Reinforcement Fine-Tuningpath: 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-23authors:- theophile-oai@@ -453,6 +501,8 @@- title: Reinforcement Fine-Tuning for Conversational Reasoning with the OpenAI APIpath: 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-21authors:- robert-tinn@@ -464,6 +514,8 @@- title: Guide to Using the Responses API's MCP Toolpath: 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-21authors:- charuj@@ -472,6 +524,7 @@- title: Image Understanding with RAGpath: examples/multimodal/image_understanding_with_rag.ipynb+ slug: image-understanding-with-ragdate: 2025-05-16authors:- robert-tinn@@ -483,6 +536,7 @@- title: Better performance from reasoning models using the Responses APIpath: examples/responses_api/reasoning_items.ipynb+ slug: reasoning-itemsdate: 2025-05-11authors:- billchen-openai@@ -492,6 +546,7 @@- title: Context Summarization with Realtime APIpath: examples/Context_summarization_with_realtime_api.ipynb+ slug: context-summarization-with-realtime-apidate: 2025-05-10authors:- minh-hoque@@ -502,6 +557,8 @@- title: Comparing Speech-to-Text Methods with the OpenAI APIpath: 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-29authors:- minh-hoque@@ -512,6 +569,7 @@- title: Practical Guide for Model Selection for Real‑World Use Casespath: examples/partners/model_selection_guide/model_selection_guide.ipynb+ slug: model-selection-guidedate: 2025-05-07authors:- shikhar-cyber@@ -530,6 +588,7 @@- title: Evals API Use-case - Detecting prompt regressionspath: examples/evaluation/use-cases/regression.ipynb+ slug: regressiondate: 2025-04-08authors:- josiah-openai@@ -539,6 +598,7 @@- title: Evals API Use-case - Bulk model and prompt experimentationpath: examples/evaluation/use-cases/bulk-experimentation.ipynb+ slug: bulk-experimentationdate: 2025-04-08authors:- josiah-openai@@ -548,6 +608,7 @@- title: Evals API Use-case - Monitoring stored completionspath: examples/evaluation/use-cases/completion-monitoring.ipynb+ slug: completion-monitoringdate: 2025-04-08authors:- josiah-openai@@ -557,6 +618,8 @@- title: Evals API Use-case - Responses Evaluationpath: examples/evaluation/use-cases/responses-evaluation.ipynb+ slug: responses-evaluation+ description: Cookbook to evaluate new models against stored Responses API logs.date: 2025-05-13authors:- willhath-openai@@ -566,6 +629,8 @@- title: Multi-Tool Orchestration with RAG approach using OpenAI's Responses APIpath: 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-28authors:- shikhar-cyber@@ -577,6 +642,7 @@- title: Automating Dispute Management with Agents SDK and Stripe APIpath: examples/agents_sdk/dispute_agent.ipynb+ slug: dispute-agentdate: 2025-03-17authors:- danbell-openai@@ -587,6 +653,7 @@- title: Web Search and States with Responses APIpath: examples/responses_api/responses_example.ipynb+ slug: responses-exampledate: 2025-03-11authors:- billchen-openai@@ -597,6 +664,7 @@- title: Using logprobspath: examples/Using_logprobs.ipynb+ slug: using-logprobsdate: 2023-12-20authors:- jhills20@@ -606,6 +674,7 @@- title: Creating slides with the Assistants API and DALL·E 3path: examples/Creating_slides_with_Assistants_API_and_DALL-E3.ipynb+ slug: creating-slides-with-assistants-api-and-dall-e3date: 2023-12-08authors:- jhills20@@ -616,6 +685,7 @@- title: Data preparation and analysis for chat model fine-tuningpath: examples/Chat_finetuning_data_prep.ipynb+ slug: chat-finetuning-data-prepdate: 2023-08-22authors:- mwu1993@@ -627,6 +697,7 @@- title: Classification using embeddingspath: examples/Classification_using_embeddings.ipynb+ slug: classification-using-embeddingsdate: 2022-07-11authors:- ted-at-openai@@ -636,6 +707,7 @@- title: Clusteringpath: examples/Clustering.ipynb+ slug: clusteringdate: 2022-03-10authors:- BorisPower@@ -646,6 +718,7 @@- title: Clustering for transaction classificationpath: examples/Clustering_for_transaction_classification.ipynb+ slug: clustering-for-transaction-classificationdate: 2022-10-20authors:- colin-openai@@ -656,6 +729,7 @@- title: Code search using embeddingspath: examples/Code_search_using_embeddings.ipynb+ slug: code-search-using-embeddingsdate: 2022-03-10authors:- BorisPower@@ -666,6 +740,7 @@- title: Customizing embeddingspath: examples/Customizing_embeddings.ipynb+ slug: customizing-embeddingsdate: 2022-03-10authors:- ted-at-openai@@ -675,6 +750,7 @@- title: Embedding Wikipedia articles for searchpath: examples/Embedding_Wikipedia_articles_for_search.ipynb+ slug: embedding-wikipedia-articles-for-searchdate: 2024-11-26authors:- ted-at-openai@@ -684,6 +760,7 @@- title: Embedding texts that are longer than the model's maximum context lengthpath: examples/Embedding_long_inputs.ipynb+ slug: embedding-long-inputsdate: 2023-01-18authors:- filipeabperes@@ -693,6 +770,7 @@- title: Long document content extractionpath: examples/Entity_extraction_for_long_documents.ipynb+ slug: entity-extraction-for-long-documentsdate: 2023-02-20authors:- colin-openai@@ -701,6 +779,7 @@- title: Fine tuning classification examplepath: examples/Fine-tuned_classification.ipynb+ slug: fine-tuned-classificationdate: 2022-03-10authors:- BorisPower@@ -712,6 +791,7 @@Function calling for nearby places: Leveraging the Google Places API andcustomer profilespath: examples/Function_calling_finding_nearby_places.ipynb+ slug: function-calling-finding-nearby-placesdate: 2023-08-11authors:- prestontuggle@@ -721,6 +801,7 @@- title: Using embeddingspath: examples/Using_embeddings.ipynb+ slug: using-embeddingsdate: 2022-03-10authors:- BorisPower@@ -732,6 +813,7 @@- title: How to build a tool-using agent with LangChainpath: examples/How_to_build_a_tool-using_agent_with_Langchain.ipynb+ slug: how-to-build-a-tool-using-agent-with-langchaindate: 2023-05-02authors:- colin-openai@@ -742,6 +824,7 @@- title: How to use functions with a knowledge basepath: examples/How_to_call_functions_for_knowledge_retrieval.ipynb+ slug: how-to-call-functions-for-knowledge-retrievaldate: 2023-06-14authors:- colin-openai@@ -752,6 +835,7 @@- title: How to call functions with chat modelspath: examples/How_to_call_functions_with_chat_models.ipynb+ slug: how-to-call-functions-with-chat-modelsdate: 2023-06-13authors:- colin-openai@@ -762,6 +846,7 @@- title: How to count tokens with Tiktokenpath: examples/How_to_count_tokens_with_tiktoken.ipynb+ slug: how-to-count-tokens-with-tiktokendate: 2022-12-16authors:- ted-at-openai@@ -771,6 +856,7 @@- title: How to fine-tune chat modelspath: examples/How_to_finetune_chat_models.ipynb+ slug: how-to-finetune-chat-modelsdate: 2024-07-23authors:- simonpfish@@ -781,6 +867,7 @@- title: How to format inputs to ChatGPT modelspath: examples/How_to_format_inputs_to_ChatGPT_models.ipynb+ slug: how-to-format-inputs-to-chatgpt-modelsdate: 2023-03-01authors:- ted-at-openai@@ -790,6 +877,7 @@- title: How to handle rate limitspath: examples/How_to_handle_rate_limits.ipynb+ slug: how-to-handle-rate-limitsdate: 2025-01-22authors:- ted-at-openai@@ -800,6 +888,7 @@- title: How to stream completionspath: examples/How_to_stream_completions.ipynb+ slug: how-to-stream-completionsdate: 2022-09-02authors:- ted-at-openai@@ -808,6 +897,7 @@- title: Multiclass Classification for Transactionspath: examples/Multiclass_classification_for_transactions.ipynb+ slug: multiclass-classification-for-transactionsdate: 2022-10-20authors:- colin-openai@@ -818,6 +908,7 @@- title: Get embeddings from datasetpath: examples/Get_embeddings_from_dataset.ipynb+ slug: get-embeddings-from-datasetdate: 2022-03-10authors:- BorisPower@@ -827,6 +918,7 @@- title: Question answering using a search API and re-rankingpath: examples/Question_answering_using_a_search_API.ipynb+ slug: question-answering-using-a-search-apidate: 2023-06-16authors:- simonpfish@@ -837,6 +929,7 @@- title: Question answering using embeddings-based searchpath: examples/Question_answering_using_embeddings.ipynb+ slug: question-answering-using-embeddingsdate: 2022-06-10authors:- ted-at-openai@@ -847,6 +940,7 @@- title: Recommendation using embeddings and nearest neighbor searchpath: examples/Recommendation_using_embeddings.ipynb+ slug: recommendation-using-embeddingsdate: 2022-03-10authors:- ted-at-openai@@ -857,6 +951,7 @@- title: Regression using the embeddingspath: examples/Regression_using_embeddings.ipynb+ slug: regression-using-embeddingsdate: 2022-03-10authors:- BorisPower@@ -867,6 +962,7 @@- title: Search reranking with cross-encoderspath: examples/Search_reranking_with_cross-encoders.ipynb+ slug: search-reranking-with-cross-encodersdate: 2023-06-28authors:- colin-openai@@ -876,6 +972,7 @@- title: Semantic text search using embeddingspath: examples/Semantic_text_search_using_embeddings.ipynb+ slug: semantic-text-search-using-embeddingsdate: 2022-03-10authors:- BorisPower@@ -886,6 +983,7 @@- title: Unit test writing using a multi-step promptpath: examples/Unit_test_writing_using_a_multi-step_prompt.ipynb+ slug: unit-test-writing-using-a-multi-step-promptdate: 2022-11-15authors:- ted-at-openai@@ -895,6 +993,7 @@- title: Unit test writing using a multi-step prompt with legacy Completionspath: >-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-apidate: 2023-05-19authors:- ted-at-openai@@ -903,6 +1002,7 @@- title: User and product embeddingspath: examples/User_and_product_embeddings.ipynb+ slug: user-and-product-embeddingsdate: 2022-03-10authors:- BorisPower@@ -911,6 +1011,7 @@- title: Visualizing the embeddings in 2Dpath: examples/Visualizing_embeddings_in_2D.ipynb+ slug: visualizing-embeddings-in-2ddate: 2022-03-10authors:- BorisPower@@ -920,6 +1021,7 @@- title: Visualizing embeddings in 3Dpath: examples/Visualizing_embeddings_in_3D.ipynb+ slug: visualizing-embeddings-in-3ddate: 2022-03-10authors:- BorisPower@@ -929,6 +1031,7 @@- title: Visualizing embeddings in Weights and Biasespath: examples/third_party/Visualizing_embeddings_in_wandb.ipynb+ slug: visualizing-embeddings-in-wandbdate: 2023-02-01authors:- scottire@@ -937,6 +1040,7 @@- title: Visualizing embeddings in Atlaspath: examples/third_party/Visualizing_embeddings_with_Atlas.ipynb+ slug: visualizing-embeddings-with-atlasdate: 2023-03-28authors:- AndriyMulyar@@ -946,6 +1050,7 @@- title: "Addressing transcription misspellings: prompt vs post-processing"path: examples/Whisper_correct_misspelling.ipynb+ slug: whisper-correct-misspellingdate: 2023-08-11authors:- prestontuggle@@ -956,6 +1061,7 @@- title: "Enhancing Whisper transcriptions: pre- & post-processing techniques"path: examples/Whisper_processing_guide.ipynb+ slug: whisper-processing-guidedate: 2023-08-11authors:- prestontuggle@@ -965,6 +1071,7 @@- title: Whisper prompting guidepath: examples/Whisper_prompting_guide.ipynb+ slug: whisper-prompting-guidedate: 2023-06-27authors:- prestontuggle@@ -975,6 +1082,7 @@- title: Zero-shot classification with embeddingspath: examples/Zero-shot_classification_with_embeddings.ipynb+ slug: zero-shot-classification-with-embeddingsdate: 2022-03-10authors:- BorisPower@@ -985,6 +1093,7 @@- title: Azure Chat Completions example (preview)path: examples/azure/chat.ipynb+ slug: chatdate: 2023-03-28authors:- cmurtz-msft@@ -995,6 +1104,7 @@- title: Azure Chat Completion models with your own data (preview)path: examples/azure/chat_with_your_own_data.ipynb+ slug: chat-with-your-own-datadate: 2023-09-11authors:- kristapratico@@ -1003,6 +1113,7 @@- title: Azure embeddings examplepath: examples/azure/embeddings.ipynb+ slug: embeddingsdate: 2022-07-12authors:- ted-at-openai@@ -1014,6 +1125,7 @@- title: Azure functions examplepath: examples/azure/functions.ipynb+ slug: functionsdate: 2023-07-21authors:- kristapratico@@ -1023,6 +1135,7 @@- title: Translate a book writen in LaTeX from Slovenian into Englishpath: examples/book_translation/translate_latex_book.ipynb+ slug: translate-latex-bookdate: 2022-03-10authors:- BorisPower@@ -1033,6 +1146,7 @@- title: How to create dynamic masks with DALL·E and Segment Anythingpath: >-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-anythingdate: 2023-05-19authors:- colin-openai@@ -1042,6 +1156,7 @@- title: How to use the DALL·E APIpath: examples/dalle/Image_generations_edits_and_variations_with_DALL-E.ipynb+ slug: image-generations-edits-and-variations-with-dall-edate: 2022-11-04authors:- ted-at-openai@@ -1051,6 +1166,7 @@- title: How to evaluate a summarization taskpath: examples/evaluation/How_to_eval_abstractive_summarization.ipynb+ slug: how-to-eval-abstractive-summarizationdate: 2023-08-16authors:- shyamal-anadkat@@ -1061,6 +1177,7 @@- title: Getting Started with OpenAI Evalspath: examples/evaluation/Getting_Started_with_OpenAI_Evals.ipynb+ slug: getting-started-with-openai-evalsdate: 2024-03-21authors:- royziv11@@ -1070,6 +1187,8 @@- title: Developing Hallucination Guardrailspath: examples/Developing_hallucination_guardrails.ipynb+ slug: developing-hallucination-guardrails+ description: Cookbook to build hallucination guardrails with evals for support agents.date: 2024-05-29authors:- royziv11@@ -1078,6 +1197,7 @@- title: Fine-Tuned Q&A - collect datapath: examples/fine-tuned_qa/olympics-1-collect-data.ipynb+ slug: olympics-1-collect-datadate: 2022-03-10authors:- ted-at-openai@@ -1089,6 +1209,7 @@- title: Fine-Tuned Q&A - create Q&Apath: examples/fine-tuned_qa/olympics-2-create-qa.ipynb+ slug: olympics-2-create-qadate: 2022-03-10authors:- ted-at-openai@@ -1100,6 +1221,7 @@- title: Fine-Tuned Q&A - trainpath: examples/fine-tuned_qa/olympics-3-train-qa.ipynb+ slug: olympics-3-train-qadate: 2022-03-10authors:- ted-at-openai@@ -1111,6 +1233,7 @@- title: Visualizing the embeddings in Kangaspath: examples/third_party/Visualizing_embeddings_in_Kangas.ipynb+ slug: visualizing-embeddings-in-kangasdate: 2023-07-11authors:- dsblank@@ -1120,6 +1243,7 @@- title: Financial document analysis with LlamaIndexpath: >-examples/third_party/financial_document_analysis_with_llamaindex.ipynb+ slug: financial-document-analysis-with-llamaindexdate: 2023-06-22authors:- Disiok@@ -1129,6 +1253,7 @@- title: Vector databasespath: examples/vector_databases/README.md+ slug: vector-databases-readmedate: 2023-06-28authors:- colin-openai@@ -1139,6 +1264,7 @@- title: Using PolarDB-PG as a vector database for OpenAI embeddingspath: >-examples/vector_databases/PolarDB/Getting_started_with_PolarDB_and_OpenAI.ipynb+ slug: getting-started-with-polardb-and-openaidate: 2023-07-11authors:- liuchengshan-lcs@@ -1148,6 +1274,7 @@- title: Semantic search with SingleStoreDBpath: >-examples/vector_databases/SingleStoreDB/OpenAI_wikipedia_semantic_search.ipynb+ slug: openai-wikipedia-semantic-searchdate: 2023-05-22authors:- arno756@@ -1157,6 +1284,7 @@- title: SingleStoreDBpath: examples/vector_databases/SingleStoreDB/README.md+ slug: singlestoredb-readmedate: 2023-05-22authors:- arno756@@ -1167,6 +1295,7 @@- title: Using AnalyticDB as a vector database for OpenAI embeddingspath: >-examples/vector_databases/analyticdb/Getting_started_with_AnalyticDB_and_OpenAI.ipynb+ slug: getting-started-with-analyticdb-and-openaidate: 2023-04-06authors:- wangxuqi@@ -1176,6 +1305,7 @@- title: Question answering with Langchain, AnalyticDB and OpenAIpath: >-examples/vector_databases/analyticdb/QA_with_Langchain_AnalyticDB_and_OpenAI.ipynb+ slug: qa-with-langchain-analyticdb-and-openaidate: 2023-05-05authors:- wangxuqi@@ -1186,6 +1316,7 @@- title: Azure AI Search as a vector database for OpenAI embeddingspath: >-examples/vector_databases/azuresearch/Getting_started_with_azure_ai_search_and_openai.ipynb+ slug: getting-started-with-azure-ai-search-and-openaidate: 2023-09-11authors:- farzad528@@ -1194,6 +1325,7 @@- title: Philosophy with vector embeddings, OpenAI and Cassandra / Astra DBpath: examples/vector_databases/cassandra_astradb/Philosophical_Quotes_CQL.ipynb+ slug: philosophical-quotes-cqldate: 2023-08-29authors:- hemidactylus@@ -1204,6 +1336,7 @@- title: Philosophy with vector embeddings, OpenAI and Cassandra / Astra DBpath: >-examples/vector_databases/cassandra_astradb/Philosophical_Quotes_cassIO.ipynb+ slug: philosophical-quotes-cassiodate: 2023-08-29authors:- hemidactylus@@ -1213,6 +1346,7 @@- title: Cassandra / Astra DBpath: examples/vector_databases/cassandra_astradb/README.md+ slug: cassandra-astradb-readmedate: 2023-08-29authors:- hemidactylus@@ -1221,6 +1355,7 @@- title: Using Chroma for embeddings searchpath: examples/vector_databases/chroma/Using_Chroma_for_embeddings_search.ipynb+ slug: using-chroma-for-embeddings-searchdate: 2023-06-28authors:- colin-openai@@ -1230,6 +1365,7 @@- title: Robust question answering with Chroma and OpenAIpath: examples/vector_databases/chroma/hyde-with-chroma-and-openai.ipynb+ slug: hyde-with-chroma-and-openaidate: 2025-04-23authors:- atroyn@@ -1240,6 +1376,7 @@- title: Elasticsearchpath: examples/vector_databases/elasticsearch/README.md+ slug: elasticsearch-readmedate: 2023-08-29authors:- leemthompo@@ -1250,6 +1387,7 @@- title: Retrieval augmented generation using Elasticsearch and OpenAIpath: >-examples/vector_databases/elasticsearch/elasticsearch-retrieval-augmented-generation.ipynb+ slug: elasticsearch-retrieval-augmented-generationdate: 2023-08-29authors:- leemthompo@@ -1259,6 +1397,7 @@- title: Semantic search using Elasticsearch and OpenAIpath: examples/vector_databases/elasticsearch/elasticsearch-semantic-search.ipynb+ slug: elasticsearch-semantic-searchdate: 2023-08-29authors:- leemthompo@@ -1268,6 +1407,7 @@- title: Using Hologres as a vector database for OpenAI embeddingspath: >-examples/vector_databases/hologres/Getting_started_with_Hologres_and_OpenAI.ipynb+ slug: getting-started-with-hologres-and-openaidate: 2023-05-19authors:- zcgeng@@ -1277,6 +1417,7 @@- title: Kusto as a vector database for embeddingspath: >-examples/vector_databases/kusto/Getting_started_with_kusto_and_openai_embeddings.ipynb+ slug: getting-started-with-kusto-and-openai-embeddingsdate: 2023-05-10authors:- Anshul Sharma@@ -1285,6 +1426,7 @@- title: Kusto as a vector databasepath: examples/vector_databases/kusto/README.md+ slug: kusto-readmedate: 2023-05-10authors:- Anshul Sharma@@ -1294,6 +1436,7 @@- title: Filtered search with Milvus and OpenAIpath: >-examples/vector_databases/milvus/Filtered_search_with_Milvus_and_OpenAI.ipynb+ slug: filtered-search-with-milvus-and-openaidate: 2023-03-28authors:- filip-halt@@ -1303,6 +1446,7 @@- title: Getting started with Milvus and OpenAIpath: >-examples/vector_databases/milvus/Getting_started_with_Milvus_and_OpenAI.ipynb+ slug: getting-started-with-milvus-and-openaidate: 2023-03-28authors:- filip-halt@@ -1312,6 +1456,7 @@- title: Using MyScale as a vector database for OpenAI embeddingspath: >-examples/vector_databases/myscale/Getting_started_with_MyScale_and_OpenAI.ipynb+ slug: getting-started-with-myscale-and-openaidate: 2023-05-01authors:- melovy@@ -1320,6 +1465,7 @@- title: Using MyScale for embeddings searchpath: examples/vector_databases/myscale/Using_MyScale_for_embeddings_search.ipynb+ slug: using-myscale-for-embeddings-searchdate: 2023-06-28authors:- colin-openai@@ -1328,6 +1474,7 @@- title: Retrieval augmentation for GPT-4 using Pineconepath: examples/vector_databases/pinecone/GPT4_Retrieval_Augmentation.ipynb+ slug: gpt4-retrieval-augmentationdate: 2023-03-24authors:- jamescalam@@ -1338,6 +1485,7 @@- title: Retrieval augmented generative question answering with Pineconepath: examples/vector_databases/pinecone/Gen_QA.ipynb+ slug: gen-qadate: 2023-02-07authors:- jamescalam@@ -1347,6 +1495,7 @@- title: Pinecone vector databasepath: examples/vector_databases/pinecone/README.md+ slug: pinecone-readmedate: 2023-03-24authors:- jamescalam@@ -1356,6 +1505,7 @@- title: Semantic search with Pinecone and OpenAIpath: examples/vector_databases/pinecone/Semantic_Search.ipynb+ slug: pinecone-semantic-searchdate: 2023-03-24authors:- jamescalam@@ -1365,6 +1515,7 @@- title: Using Pinecone for embeddings searchpath: >-examples/vector_databases/pinecone/Using_Pinecone_for_embeddings_search.ipynb+ slug: using-pinecone-for-embeddings-searchdate: 2023-06-28authors:- colin-openai@@ -1374,6 +1525,7 @@- title: Using Qdrant as a vector database for OpenAI embeddingspath: >-examples/vector_databases/qdrant/Getting_started_with_Qdrant_and_OpenAI.ipynb+ slug: getting-started-with-qdrant-and-openaidate: 2023-02-16authors:- kacperlukawski@@ -1382,6 +1534,7 @@- title: Question answering with Langchain, Qdrant and OpenAIpath: examples/vector_databases/qdrant/QA_with_Langchain_Qdrant_and_OpenAI.ipynb+ slug: qa-with-langchain-qdrant-and-openaidate: 2023-02-16authors:- kacperlukawski@@ -1390,6 +1543,7 @@- title: Using Qdrant for embeddings searchpath: examples/vector_databases/qdrant/Using_Qdrant_for_embeddings_search.ipynb+ slug: using-qdrant-for-embeddings-searchdate: 2023-06-28authors:- colin-openai@@ -1399,6 +1553,7 @@- title: Redispath: examples/vector_databases/redis/README.md+ slug: redis-readmedate: 2023-02-13authors:- Spartee@@ -1409,6 +1564,7 @@- title: Using Redis for embeddings searchpath: examples/vector_databases/redis/Using_Redis_for_embeddings_search.ipynb+ slug: using-redis-for-embeddings-searchdate: 2023-06-28authors:- colin-openai@@ -1417,6 +1573,7 @@- title: Using Redis as a vector database with OpenAIpath: examples/vector_databases/redis/getting-started-with-redis-and-openai.ipynb+ slug: getting-started-with-redis-and-openaidate: 2023-02-13authors:- Spartee@@ -1425,6 +1582,7 @@- title: Running hybrid VSS queries with Redis and OpenAIpath: examples/vector_databases/redis/redis-hybrid-query-examples.ipynb+ slug: redis-hybrid-query-examplesdate: 2023-05-11authors:- Michael Yuan@@ -1433,6 +1591,7 @@- title: Redis vectors as JSON with OpenAIpath: examples/vector_databases/redis/redisjson/redisjson.ipynb+ slug: redisjsondate: 2023-05-10authors:- Michael Yuan@@ -1441,6 +1600,7 @@- title: Redis as a context store with Chat Completionspath: examples/vector_databases/redis/redisqna/redisqna.ipynb+ slug: redisqnadate: 2023-05-11authors:- Michael Yuan@@ -1450,6 +1610,7 @@- title: Using Tair as a vector database for OpenAI embeddingspath: examples/vector_databases/tair/Getting_started_with_Tair_and_OpenAI.ipynb+ slug: getting-started-with-tair-and-openaidate: 2023-09-11authors:- dongqqcom@@ -1458,6 +1619,7 @@- title: Question answering with Langchain, Tair and OpenAIpath: examples/vector_databases/tair/QA_with_Langchain_Tair_and_OpenAI.ipynb+ slug: qa-with-langchain-tair-and-openaidate: 2023-09-11authors:- dongqqcom@@ -1468,6 +1630,7 @@- title: Typesensepath: examples/vector_databases/typesense/README.md+ slug: typesense-readmedate: 2023-04-13authors:- jasonbosco@@ -1478,6 +1641,7 @@- title: Using Typesense for embeddings searchpath: >-examples/vector_databases/typesense/Using_Typesense_for_embeddings_search.ipynb+ slug: using-typesense-for-embeddings-searchdate: 2023-06-28authors:- colin-openai@@ -1487,6 +1651,7 @@- title: Weaviate <> OpenAIpath: examples/vector_databases/weaviate/README.md+ slug: weaviate-readmedate: 2023-02-13authors:- colin-openai@@ -1496,6 +1661,7 @@- title: Using Weaviate for embeddings searchpath: >-examples/vector_databases/weaviate/Using_Weaviate_for_embeddings_search.ipynb+ slug: using-weaviate-for-embeddings-searchdate: 2023-06-28authors:- colin-openai@@ -1505,6 +1671,7 @@- title: Using Weaviate with generative OpenAI module for generative searchpath: >-examples/vector_databases/weaviate/generative-search-with-weaviate-and-openai.ipynb+ slug: generative-search-with-weaviate-and-openaidate: 2023-05-22authors:- sebawita@@ -1515,6 +1682,7 @@- title: Using Weaviate with OpenAI vectorize module for embeddings searchpath: >-examples/vector_databases/weaviate/getting-started-with-weaviate-and-openai.ipynb+ slug: getting-started-with-weaviate-and-openaidate: 2023-02-13authors:- colin-openai@@ -1524,6 +1692,7 @@- title: Using Weaviate with OpenAI vectorize module for hybrid searchpath: >-examples/vector_databases/weaviate/hybrid-search-with-weaviate-and-openai.ipynb+ slug: hybrid-search-with-weaviate-and-openaidate: 2023-02-13authors:- colin-openai@@ -1533,6 +1702,7 @@- title: Question Answering in Weaviate with OpenAI Q&A modulepath: >-examples/vector_databases/weaviate/question-answering-with-weaviate-and-openai.ipynb+ slug: question-answering-with-weaviate-and-openaidate: 2023-02-13authors:- colin-openai@@ -1543,6 +1713,7 @@- title: Filtered Search with Zilliz and OpenAIpath: >-examples/vector_databases/zilliz/Filtered_search_with_Zilliz_and_OpenAI.ipynb+ slug: filtered-search-with-zilliz-and-openaidate: 2023-03-28authors:- filip-halt@@ -1552,6 +1723,7 @@- title: Getting Started with Zilliz and OpenAIpath: >-examples/vector_databases/zilliz/Getting_started_with_Zilliz_and_OpenAI.ipynb+ slug: getting-started-with-zilliz-and-openaidate: 2023-03-28authors:- filip-halt@@ -1560,6 +1732,7 @@- title: Techniques to improve reliabilitypath: articles/techniques_to_improve_reliability.md+ slug: techniques-to-improve-reliabilityredirects:- techniques_to_improve_reliabilitydate: 2022-09-12@@ -1570,6 +1743,7 @@- title: How to work with large language modelspath: articles/how_to_work_with_large_language_models.md+ slug: how-to-work-with-large-language-modelsredirects:- how_to_work_with_large_language_modelsdate: 2023-01-20@@ -1580,6 +1754,7 @@- title: Use cases for embeddingspath: articles/text_comparison_examples.md+ slug: text-comparison-examplesredirects:- text_comparison_examplesdate: 2023-01-20@@ -1590,6 +1765,7 @@- title: ElatoAI - Realtime Speech AI Agents for ESP32 on Arduinopath: examples/voice_solutions/running_realtime_api_speech_on_esp32_arduino_edge_runtime_elatoai.md+ slug: running-realtime-api-speech-on-esp32-arduino-edge-runtime-elatoaidate: 2025-05-01authors:- akashdeepdeb@@ -1603,6 +1779,7 @@- title: Related resources from around the webpath: articles/related_resources.md+ slug: related-resourcesredirects:- related_resourcesdate: 2023-01-20@@ -1615,6 +1792,7 @@- title: Fine-Tuning for retrieval augmented generation (RAG) with Qdrantpath: examples/fine-tuned_qa/ft_retrieval_augmented_generation_qdrant.ipynb+ slug: ft-retrieval-augmented-generation-qdrantdate: 2023-09-04authors:- NirantK@@ -1626,6 +1804,7 @@- title: How to automate AWS tasks with function callingpath: examples/third_party/How_to_automate_S3_storage_with_functions.ipynb+ slug: how-to-automate-s3-storage-with-functionsdate: 2023-09-27authors:- Barqawiz@@ -1636,6 +1815,7 @@- title: Neon as a vector databasepath: examples/vector_databases/neon/README.md+ slug: neon-readmedate: 2023-09-28authors:- Barqawiz@@ -1644,6 +1824,7 @@- title: Vector similarity search using Neon Postgrespath: examples/vector_databases/neon/neon-postgres-vector-search-pgvector.ipynb+ slug: neon-postgres-vector-search-pgvectordate: 2023-09-28authors:- danieltprice@@ -1652,6 +1833,7 @@- title: Question answering with LangChain, Deep Lake, & OpenAIpath: examples/vector_databases/deeplake/deeplake_langchain_qa.ipynb+ slug: deeplake-langchain-qadate: 2023-09-30authors:- FayazRahman@@ -1660,6 +1842,7 @@- title: Fine-tuning OpenAI models with Weights & Biasespath: examples/third_party/GPT_finetuning_with_wandb.ipynb+ slug: gpt-finetuning-with-wandbdate: 2023-10-04authors:- ash0ts@@ -1670,6 +1853,7 @@- title: OpenAI API Monitoring with Weights & Biases Weavepath: examples/third_party/Openai_monitoring_with_wandb_weave.ipynb+ slug: openai-monitoring-with-wandb-weavedate: 2023-10-04authors:- ash0ts@@ -1679,6 +1863,7 @@- title: How to build an agent with the OpenAI Node.js SDKpath: examples/How_to_build_an_agent_with_the_node_sdk.mdx+ slug: how-to-build-an-agent-with-the-node-sdkdate: 2023-10-05authors:- perborgen@@ -1689,6 +1874,7 @@- title: Named Entity Recognition to Enrich Textpath: examples/Named_Entity_Recognition_to_enrich_text.ipynb+ slug: named-entity-recognition-to-enrich-textdate: 2023-10-20authors:- dcarpintero@@ -1698,6 +1884,7 @@- title: What makes documentation goodpath: articles/what_makes_documentation_good.md+ slug: what-makes-documentation-goodredirects:- what_makes_documentation_gooddate: 2023-09-01@@ -1707,6 +1894,7 @@- title: Function calling with an OpenAPI specificationpath: examples/Function_calling_with_an_OpenAPI_spec.ipynb+ slug: function-calling-with-an-openapi-specdate: 2023-10-15authors:- shyamal-anadkat@@ -1717,6 +1905,7 @@- title: Fine tuning for function callingpath: examples/Fine_tuning_for_function_calling.ipynb+ slug: fine-tuning-for-function-callingdate: 2023-11-07authors:- jhills20@@ -1730,6 +1919,7 @@- title: Processing and narrating a video with GPT-4.1-mini's visual capabilities and GPT-4o TTS APIpath: examples/GPT_with_vision_for_video_understanding.ipynb+ slug: gpt-with-vision-for-video-understandingdate: 2025-04-22authors:- cathykc@@ -1741,6 +1931,7 @@- title: What's new with DALL·E 3?path: articles/what_is_new_with_dalle_3.mdx+ slug: what-is-new-with-dalle-3date: 2023-11-06authors:- 0hq@@ -1750,6 +1941,7 @@- title: How to make your completions outputs consistent with the new seed parameterpath: examples/Reproducible_outputs_with_the_seed_parameter.ipynb+ slug: reproducible-outputs-with-the-seed-parameterdate: 2023-11-06authors:- shyamal-anadkat@@ -1758,6 +1950,7 @@- title: Assistants API Overview (Python SDK)path: examples/Assistants_API_overview_python.ipynb+ slug: assistants-api-overview-pythondate: 2023-11-10authors:- ibigio@@ -1768,6 +1961,8 @@- 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-10authors:- ibigio@@ -1778,6 +1973,7 @@- title: MongoDB Atlas Vector Searchpath: examples/vector_databases/mongodb_atlas/README.md+ slug: mongodb-atlas-readmedate: 2023-11-21authors:- prakul@@ -1787,6 +1983,7 @@- title: Semantic search using MongoDB Atlas Vector Search and OpenAIpath: examples/vector_databases/mongodb_atlas/semantic_search_using_mongodb_atlas_vector_search.ipynb+ slug: semantic-search-using-mongodb-atlas-vector-searchdate: 2023-11-21authors:- prakul@@ -1796,6 +1993,7 @@- title: Evaluate RAG with LlamaIndexpath: examples/evaluation/Evaluate_RAG_with_LlamaIndex.ipynb+ slug: evaluate-rag-with-llamaindexdate: 2023-11-06authors:- Ravi Theja@@ -1805,6 +2003,7 @@- title: RAG with a Graph databasepath: examples/RAG_with_graph_db.ipynb+ slug: rag-with-graph-dbdate: 2023-12-08authors:- katiagg@@ -1814,6 +2013,7 @@- title: Supabase Vector Databasepath: examples/vector_databases/supabase/README.md+ slug: supabase-readmedate: 2023-12-04authors:- ggrn@@ -1822,6 +2022,7 @@- title: Semantic search using Supabase Vectorpath: examples/vector_databases/supabase/semantic-search.mdx+ slug: supabase-semantic-searchdate: 2023-12-04authors:- ggrn@@ -1830,6 +2031,7 @@- title: How to implement LLM guardrailspath: examples/How_to_use_guardrails.ipynb+ slug: how-to-use-guardrailsdate: 2023-12-19authors:- colin-openai@@ -1838,6 +2040,7 @@- title: How to combine GPT4o mini with RAG to create a clothing matchmaker apppath: examples/How_to_combine_GPT4o_with_RAG_Outfit_Assistant.ipynb+ slug: how-to-combine-gpt4o-with-rag-outfit-assistantdate: 2024-07-18authors:- teomusatoiu@@ -1847,6 +2050,7 @@- title: How to parse PDF docs for RAGpath: examples/Parse_PDF_docs_for_RAG.ipynb+ slug: parse-pdf-docs-for-ragdate: 2024-09-29authors:- katiagg@@ -1857,6 +2061,7 @@- title: Using GPT4o mini to tag and caption imagespath: examples/Tag_caption_images_with_GPT4V.ipynb+ slug: tag-caption-images-with-gpt4vdate: 2024-07-18authors:- katiagg@@ -1866,6 +2071,7 @@- title: How to use the moderation APIpath: examples/How_to_use_moderation.ipynb+ slug: how-to-use-moderationdate: 2024-03-05authors:- teomusatoiu@@ -1874,6 +2080,7 @@- title: Summarizing Long Documentspath: examples/Summarizing_long_documents.ipynb+ slug: summarizing-long-documentsdate: 2024-04-19authors:- joe-at-openai@@ -1882,6 +2089,7 @@- title: Using GPT4 Vision with Function Callingpath: examples/multimodal/Using_GPT4_Vision_With_Function_Calling.ipynb+ slug: using-gpt4-vision-with-function-callingdate: 2024-12-13authors:- shyamal-anadkat@@ -1892,6 +2100,7 @@- title: Synthetic data generation (Part 1)path: examples/SDG1.ipynb+ slug: sdg1date: 2024-04-10authors:- dylanra-openai@@ -1900,6 +2109,7 @@- title: CLIP embeddings to improve multimodal RAG with GPT-4 Visionpath: examples/custom_image_embedding_search.ipynb+ slug: custom-image-embedding-searchdate: 2024-04-10authors:- dylanra-openai@@ -1909,6 +2119,7 @@- title: Batch processing with the Batch APIpath: examples/batch_processing.ipynb+ slug: batch-processingdate: 2024-04-24authors:- katiagg@@ -1918,6 +2129,7 @@- title: Using tool required for customer servicepath: examples/Using_tool_required_for_customer_service.ipynb+ slug: using-tool-required-for-customer-servicedate: 2024-05-01authors:- colin-openai@@ -1927,6 +2139,7 @@- title: Introduction to GPT-4o and GPT-4o minipath: examples/gpt4o/introduction_to_gpt4o.ipynb+ slug: introduction-to-gpt4odate: 2024-07-18authors:- justonf@@ -1937,6 +2150,7 @@- title: Azure AI Search with Azure Functions and GPT Actions in ChatGPTpath: 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-chatgptdate: 2024-07-08authors:- maxreid-openai@@ -1949,6 +2163,7 @@- title: GPT Actions library - getting startedpath: examples/chatgpt/gpt_actions_library/.gpt_action_getting_started.ipynb+ slug: gpt-action-getting-starteddate: 2024-07-09authors:- aaronwilkowitz-openai@@ -1958,6 +2173,7 @@- title: GPT Actions library - BigQuerypath: examples/chatgpt/gpt_actions_library/gpt_action_bigquery.ipynb+ slug: gpt-action-bigquerydate: 2024-07-09authors:- aaronwilkowitz-openai@@ -1968,6 +2184,7 @@- title: Data Extraction and Transformation in ELT Workflows using GPT-4o as an OCR Alternativepath: examples/Data_extraction_transformation.ipynb+ slug: data-extraction-transformationdate: 2024-07-09authors:- charuj@@ -1977,6 +2194,7 @@- title: GPT Actions library - Outlookpath: examples/chatgpt/gpt_actions_library/gpt_action_outlook.ipynb+ slug: gpt-action-outlookdate: 2024-07-15authors:- rupert-openai@@ -1987,6 +2205,7 @@- title: GPT Actions library - Sharepoint (Return Docs)path: examples/chatgpt/gpt_actions_library/gpt_action_sharepoint_doc.ipynb+ slug: gpt-action-sharepoint-docdate: 2024-05-24authors:- maxreid-openai@@ -1997,6 +2216,7 @@- title: GPT Actions library - Sharepoint (Return Text)path: examples/chatgpt/gpt_actions_library/gpt_action_sharepoint_text.ipynb+ slug: gpt-action-sharepoint-textdate: 2024-05-24authors:- maxreid-openai@@ -2007,6 +2227,7 @@- title: GPT Actions library (Middleware) - Azure Functionspath: examples/chatgpt/gpt_actions_library/gpt_middleware_azure_function.ipynb+ slug: gpt-middleware-azure-functiondate: 2024-05-24authors:- maxreid-openai@@ -2017,6 +2238,7 @@- title: GPT Actions library - Canvas Learning Management Systempath: examples/chatgpt/gpt_actions_library/gpt_action_canvas.md+ slug: gpt-action-canvasdate: 2024-09-17authors:- keelan-openai@@ -2027,6 +2249,7 @@- title: GPT Actions library - Salesforcepath: examples/chatgpt/gpt_actions_library/gpt_action_salesforce.ipynb+ slug: gpt-action-salesforcedate: 2024-07-18authors:- aa-openai@@ -2036,6 +2259,7 @@- title: GPT Actions library - Gmailpath: examples/chatgpt/gpt_actions_library/gpt_action_gmail.ipynb+ slug: gpt-action-gmaildate: 2024-07-24authors:- alwestmo-openai@@ -2046,6 +2270,7 @@- title: GPT Actions library - Jirapath: examples/chatgpt/gpt_actions_library/gpt_action_jira.ipynb+ slug: gpt-action-jiradate: 2024-07-24authors:- rupert-openai@@ -2056,6 +2281,7 @@- title: GPT Actions library - Notionpath: examples/chatgpt/gpt_actions_library/gpt_action_notion.ipynb+ slug: gpt-action-notiondate: 2024-07-25authors:- dan-openai@@ -2066,6 +2292,7 @@- title: GPT Actions library - Confluencepath: examples/chatgpt/gpt_actions_library/gpt_action_confluence.ipynb+ slug: gpt-action-confluencedate: 2024-07-31authors:- eszuhany-openai@@ -2076,6 +2303,7 @@- title: GPT Actions library - SQL Databasepath: examples/chatgpt/gpt_actions_library/gpt_action_sql_database.ipynb+ slug: gpt-action-sql-databasedate: 2024-07-31authors:- evanweiss-openai@@ -2086,6 +2314,7 @@- title: GPT Actions library - Boxpath: examples/chatgpt/gpt_actions_library/gpt_action_box.ipynb+ slug: gpt-action-boxdate: 2024-08-02authors:- keelan-openai@@ -2096,6 +2325,7 @@- title: GCP BigQuery Vector Search with GCP Functions and GPT Actions in ChatGPTpath: examples/chatgpt/rag-quickstart/gcp/Getting_started_with_bigquery_vector_search_and_openai.ipynb+ slug: getting-started-with-bigquery-vector-search-and-openaidate: 2024-08-02authors:- pap-openai@@ -2109,6 +2339,7 @@- title: GPT Actions library - Zapierpath: examples/chatgpt/gpt_actions_library/gpt_action_zapier.ipynb+ slug: gpt-action-zapierdate: 2024-08-05authors:- dan-openai@@ -2119,6 +2350,7 @@- title: Structured Outputs for Multi-Agent Systemspath: examples/Structured_outputs_multi_agent.ipynb+ slug: structured-outputs-multi-agentdate: 2024-08-06authors:- dylanra-openai@@ -2129,6 +2361,7 @@- title: Introduction to Structured Outputspath: examples/Structured_Outputs_Intro.ipynb+ slug: structured-outputs-introdate: 2024-08-06authors:- katiagg@@ -2138,6 +2371,7 @@- title: GPT Actions library (Middleware) - Google Cloud Functionpath: examples/chatgpt/gpt_actions_library/gpt_middleware_google_cloud_function.md+ slug: gpt-middleware-google-cloud-functiondate: 2024-08-11authors:- girishd@@ -2148,6 +2382,7 @@- title: GPT Actions library - AWS Redshiftpath: examples/chatgpt/gpt_actions_library/gpt_action_redshift.ipynb+ slug: gpt-action-redshiftdate: 2024-08-09authors:- pap-openai@@ -2158,6 +2393,7 @@- title: GPT Actions library - AWS Middlewarepath: examples/chatgpt/gpt_actions_library/gpt_middleware_aws_function.ipynb+ slug: gpt-middleware-aws-functiondate: 2024-08-09authors:- pap-openai@@ -2168,6 +2404,7 @@- title: GPT Actions library - Google Drivepath: examples/chatgpt/gpt_actions_library/gpt_action_google_drive.ipynb+ slug: gpt-action-google-drivedate: 2024-08-11authors:- lxing-oai@@ -2178,6 +2415,7 @@- title: GPT Actions library - Snowflake Directpath: examples/chatgpt/gpt_actions_library/gpt_action_snowflake_direct.ipynb+ slug: gpt-action-snowflake-directdate: 2024-08-13authors:- gladstone-openai@@ -2188,6 +2426,7 @@- title: GPT Actions library - Snowflake Middlewarepath: examples/chatgpt/gpt_actions_library/gpt_action_snowflake_middleware.ipynb+ slug: gpt-action-snowflake-middlewaredate: 2024-08-14authors:- gladstone-openai@@ -2198,6 +2437,7 @@- title: GPT Actions library - Retool Workflowpath: examples/chatgpt/gpt_actions_library/gpt_action_retool_workflow.md+ slug: gpt-action-retool-workflowdate: 2024-08-28authors:- lspacagna-oai@@ -2208,6 +2448,7 @@- title: Using reasoning for data validationpath: examples/o1/Using_reasoning_for_data_validation.ipynb+ slug: using-reasoning-for-data-validationdate: 2024-09-12authors:- royziv11@@ -2217,6 +2458,7 @@- title: Using reasoning for routine generationpath: examples/o1/Using_reasoning_for_routine_generation.ipynb+ slug: using-reasoning-for-routine-generationdate: 2024-09-12authors:- royziv11@@ -2226,6 +2468,7 @@- title: Using chained calls for o1 structured outputspath: examples/o1/Using_chained_calls_for_o1_structured_outputs.ipynb+ slug: using-chained-calls-for-o1-structured-outputsdate: 2024-09-26authors:- ericning-o@@ -2235,6 +2478,7 @@- title: Building a Bring Your Own Browser (BYOB) Tool for Web Browsing and Summarizationpath: examples/third_party/Web_search_with_google_api_bring_your_own_browser_tool.ipynb+ slug: web-search-with-google-api-bring-your-own-browser-tooldate: 2024-09-26authors:- msingh-openai@@ -2243,6 +2487,8 @@- title: Prompt Caching 101path: examples/Prompt_Caching101.ipynb+ slug: prompt-caching101+ description: Cookbook to reduce latency and cost using OpenAI prompt caching.date: 2024-10-01authors:- charuj@@ -2254,6 +2500,7 @@- title: GPT Actions library - Google Ads via Adzviserpath: examples/chatgpt/gpt_actions_library/gpt_action_googleads_adzviser.ipynb+ slug: gpt-action-googleads-adzviserdate: 2024-10-10authors:- zeyuangu-adzviser@@ -2266,6 +2513,8 @@- title: Leveraging model distillation to fine-tune a modelpath: 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-16authors:- pap-openai@@ -2275,6 +2524,7 @@- title: Voice Translation into Different Languagespath: examples/voice_solutions/voice_translation_into_different_languages_using_GPT-4o.ipynb+ slug: voice-translation-into-different-languages-using-gpt-4odate: 2024-10-21authors:- msingh-openai@@ -2284,6 +2534,7 @@- title: Enhance your prompts with meta promptingpath: examples/Enhance_your_prompts_with_meta_prompting.ipynb+ slug: enhance-your-prompts-with-meta-promptingdate: 2024-10-23authors:- teomusatoiu@@ -2293,6 +2544,7 @@- title: GPT Actions library - GitHubpath: examples/chatgpt/gpt_actions_library/gpt_action_github.md+ slug: gpt-action-githubdate: 2024-10-23authors:- alwell-kevin@@ -2303,6 +2555,7 @@- title: Custom LLM as a Judge to Detect Hallucinations with Braintrustpath: examples/Custom-LLM-as-a-Judge.ipynb+ slug: custom-llm-as-a-judgedate: 2024-10-14authors:- ankrgyl@@ -2313,6 +2566,7 @@- title: Vision Fine-tuning on GPT-4o for Visual Question Answeringpath: examples/multimodal/Vision_Fine_tuning_on_GPT4o_for_Visual_Question_Answering.ipynb+ slug: vision-fine-tuning-on-gpt4o-for-visual-question-answeringdate: 2024-11-01authors:- danial-openai@@ -2323,6 +2577,7 @@- title: Steering Text-to-Speech for more dynamic audio generationpath: examples/voice_solutions/steering_tts.ipynb+ slug: steering-ttsdate: 2024-11-01authors:- ericning-o@@ -2333,6 +2588,7 @@- title: Pinecone Vector Database and Retool Workflow with GPT Actionspath: examples/chatgpt/rag-quickstart/pinecone-retool/gpt-action-pinecone-retool-rag.ipynb+ slug: gpt-action-pinecone-retool-ragdate: 2024-11-11authors:- lspacagna-oai@@ -2344,6 +2600,7 @@- title: Optimizing Retrieval-Augmented Generation using GPT-4o Vision Modalitypath: examples/vector_databases/pinecone/Using_vision_modality_for_RAG_with_Pinecone.ipynb+ slug: using-vision-modality-for-rag-with-pineconedate: 2024-11-12authors:- msingh-openai@@ -2353,6 +2610,7 @@- title: GPT Actions library - Workdaypath: examples/chatgpt/gpt_actions_library/gpt_action_workday.md+ slug: gpt-action-workdaydate: 2024-11-20authors:- erickgort@@ -2364,6 +2622,7 @@- title: GPT Actions library - Google Calendarpath: examples/chatgpt/gpt_actions_library/gpt_action_google_calendar.md+ slug: gpt-action-google-calendardate: 2024-11-22authors:- lspacagna-oai@@ -2374,6 +2633,7 @@- title: GPT Actions library - Tray.ai APIMpath: examples/chatgpt/gpt_actions_library/gpt_action_trayai_apim.md+ slug: gpt-action-trayai-apimdate: 2024-11-26authors:- kylecote-tray@@ -2384,6 +2644,7 @@- title: Reasoning over Code Quality and Security in GitHub Pull Requestspath: examples/third_party/Code_quality_and_security_scan_with_GitHub_Actions.md+ slug: code-quality-and-security-scan-with-github-actionsdate: 2024-12-24authors:- alwell-kevin@@ -2394,6 +2655,7 @@- title: How to evaluate LLMs for SQL generationpath: examples/evaluation/How_to_evaluate_LLMs_for_SQL_generation.ipynb+ slug: how-to-evaluate-llms-for-sql-generationdate: 2024-01-23authors:- colin-openai@@ -2402,6 +2664,8 @@- title: How to use the Usage API and Cost API to monitor your OpenAI usagepath: 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-14authors:- MW-OAI@@ -2412,6 +2676,7 @@- title: Build Your Own Code Interpreter - Dynamic Tool Generation and Execution With o3-minipath: examples/object_oriented_agentic_approach/Secure_code_interpreter_tool_for_LLM_agents.ipynb+ slug: secure-code-interpreter-tool-for-llm-agentsdate: 2025-02-03authors:- msingh-openai@@ -2420,6 +2685,8 @@- title: Doing RAG on PDFs using File Search in the Responses APIpath: examples/File_Search_Responses.ipynb+ slug: file-search-responses+ description: Cookbook to search PDFs with the Responses API file search tool.date: 2025-03-11authors:- pap-openai@@ -2429,6 +2696,7 @@- title: Building a Voice Assistant with the Agents SDKpath: examples/agents_sdk/app_assistant_voice_agents.ipynb+ slug: app-assistant-voice-agentsdate: 2025-03-27authors:- rupert-openai@@ -2439,6 +2707,8 @@- title: Multi-Language One-Way Translation with the Realtime APIpath: 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-24authors:- erikakettleson-openai@@ -2448,6 +2718,7 @@- title: Evaluating Agents with Langfusepath: examples/agents_sdk/evaluate_agents.ipynb+ slug: evaluate-agentsdate: 2025-03-31authors:- jannik-maierhofer@@ -2457,6 +2728,7 @@- title: GPT Actions library - Salesforce & Gongpath: examples/chatgpt/gpt_actions_library/gpt_action_salesforce_gong.md+ slug: gpt-action-salesforce-gongdate: 2025-04-07authors:- girishd@@ -2467,6 +2739,7 @@- title: GPT-4.1 Prompting Guidepath: examples/gpt4-1_prompting_guide.ipynb+ slug: gpt4-1-prompting-guidedate: 2025-04-14authors:- nm-openai@@ -2477,6 +2750,8 @@- title: Generate images with GPT Imagepath: 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-23authors:- katiagg@@ -2485,6 +2760,7 @@- title: Handling Function Calls with Reasoning Modelspath: examples/reasoning_function_calls.ipynb+ slug: reasoning-function-callsdate: 2025-04-25authors:- tompakeman-oai@@ -2496,6 +2772,7 @@- title: Parallel Agents with the OpenAI Agents SDKpath: examples/agents_sdk/parallel_agents.ipynb+ slug: parallel-agentsdate: 2025-05-01authors:- brandonbaker-openai@@ -2506,6 +2783,7 @@- title: Practical guide to data-intensive apps with the Realtime APIpath: examples/Data-intensive-Realtime-apps.ipynb+ slug: data-intensive-realtime-appsdate: 2025-05-29authors:- alistair-openai@@ -2517,6 +2795,7 @@- title: Selecting a Model Based on Stripe Conversion – A Practical Eval for Startupspath: examples/stripe_model_eval/selecting_a_model_based_on_stripe_conversion.ipynb+ slug: selecting-a-model-based-on-stripe-conversiondate: 2025-06-02authors:- joshbickett@@ -2529,6 +2808,7 @@- title: Evals API Use-case - MCP Evaluationpath: examples/evaluation/use-cases/mcp_eval_notebook.ipynb+ slug: mcp-eval-notebookdate: 2025-06-09authors:- josiah-openai@@ -2541,6 +2821,7 @@- title: Evals API Use-case - Structured Outputs Evaluationpath: examples/evaluation/use-cases/structured-outputs-evaluation.ipynb+ slug: structured-outputs-evaluationdate: 2025-06-09authors:- josiah-openai@@ -2552,6 +2833,7 @@- title: Evals API Use-case - Tools Evaluationpath: examples/evaluation/use-cases/tools-evaluation.ipynb+ slug: tools-evaluationdate: 2025-06-09authors:- josiah-openai@@ -2563,6 +2845,7 @@- title: Evals API Use-case - Web Search Evaluationpath: examples/evaluation/use-cases/web-search-evaluation.ipynb+ slug: web-search-evaluationdate: 2025-06-09authors:- josiah-openai@@ -2574,6 +2857,7 @@- title: Introduction to deep research in the OpenAI APIpath: examples/deep_research_api/introduction_to_deep_research_api.ipynb+ slug: introduction-to-deep-research-apidate: 2025-06-25authors:- glojain@@ -2586,6 +2870,7 @@- title: Deep Research API with the Agents SDKpath: examples/deep_research_api/introduction_to_deep_research_api_agents.ipynb+ slug: introduction-to-deep-research-api-agentsdate: 2025-06-25authors:- alwell-kevin@@ -2599,6 +2884,7 @@- title: Building a Deep Research MCP Serverpath: examples/deep_research_api/how_to_build_a_deep_research_mcp_server/README.md+ slug: how-to-build-a-deep-research-mcp-server-readmedate: 2025-06-25authors:- alwell-kevin@@ -2613,6 +2899,8 @@- title: Generate images with high input fidelitypath: 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-17authors:- katiagg@@ -2621,6 +2909,7 @@- title: Use Codex CLI to automatically fix CI failurespath: examples/codex/Autofix-github-actions.ipynb+ slug: autofix-github-actionsdate: 2025-09-30authors:- himadri518@@ -2631,6 +2920,7 @@- title: Building resilient prompts using an evaluation flywheelpath: examples/evaluation/Building_resilient_prompts_using_an_evaluation_flywheel.md+ slug: building-resilient-prompts-using-an-evaluation-flywheeldate: 2025-10-06authors:- neelk-oai@@ -2641,6 +2931,7 @@- title: Build Code Review with the Codex SDKpath: examples/codex/build_code_review_with_codex_sdk.md+ slug: build-code-review-with-codex-sdkdate: 2025-10-21authors:- charlie-openai@@ -2649,6 +2940,8 @@- title: Context Engineering for Personalization - State Management with Long-Term Memory Notes using OpenAI Agents SDKpath: 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-05authors:- emreokcular@@ -2656,6 +2949,7 @@- agents-sdk- title: Build a coding agent with GPT 5.1path: examples/Build_a_coding_agent_with_GPT-5.1.ipynb+ slug: build-a-coding-agent-with-gpt-5-1date: 2025-11-13authors:- katiagg@@ -2664,6 +2958,7 @@- title: GPT-5.1 Prompting Guidepath: examples/gpt-5/gpt-5-1_prompting_guide.ipynb+ slug: gpt-5-1-prompting-guidedate: 2025-11-13authors:- samarth-oai@@ -2672,6 +2967,7 @@- title: GPT-5.1-Codex-Max Prompting Guidepath: examples/gpt-5/gpt-5-1-codex-max_prompting_guide.ipynb+ slug: gpt-5-1-codex-max-prompting-guidedate: 2025-12-04authors:- nm-openai@@ -2682,6 +2978,8 @@- title: Modernizing your Codebase with Codexpath: examples/codex/code_modernization.md+ slug: code-modernization+ description: Cookbook to modernize legacy codebases using the OpenAI Codex CLI.date: 2025-11-19authors:- derrickchoi-openai@@ -2690,6 +2988,7 @@- title: OpenAI Compliance Logs Platform quickstartpath: examples/chatgpt/compliance_api/logs_platform.ipynb+ slug: logs-platformdate: 2025-12-11authors:- kevinv-openai@@ -2702,6 +3001,8 @@- title: GPT-5.2 Prompting Guidepath: 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-11authors:- msingh-openai@@ -2711,6 +3012,8 @@- title: Gpt-image-1.5 Prompting Guidepath: 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-16authors:- annikab-oai@@ -2722,6 +3025,8 @@- title: Prompt Personalitiespath: 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-05authors:- msingh-openai