はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    ブラックフライデー

『OpenAI Cookbook』

  • 人気
  • 新着
  • すべて
  • GPT-5.1-Codex-Max Prompting Guide | OpenAI Cookbook

    6 users

    cookbook.openai.com

    GPT-5.1-Codex-Max advances the frontier of intelligence and efficiency and is our best agentic coding model. Follow this guide closely to ensure you’re getting the best performance possible from this model. This guide is for anyone using the model directly via the API for maximum customizability; we also have the Codex SDK for simpler integrations. Key improvements Faster and more token efficient:

    • テクノロジー
    • 2025/12/05 04:21
    • 人工知能
    • プログラミング
    • あとで読む
    • GPT-5.1 Prompting Guide | OpenAI Cookbook

      64 users

      cookbook.openai.com

      GPT-5.1, our newest flagship model, is designed to balance intelligence and speed for a variety of agentic and coding tasks, while also introducing a new none reasoning mode for low-latency interactions. Building on the strengths of GPT-5, GPT-5.1 is better calibrated to prompt difficulty, consuming far fewer tokens on easy inputs and more efficiently handling challenging ones. Along with these be

      • テクノロジー
      • 2025/11/14 08:03
      • OpenAI
      • あとで読む
      • 人工知能
      • プログラミング
      • Using PLANS.md for multi-hour problem solving | OpenAI Cookbook

        13 users

        cookbook.openai.com

        Oct 7, 2025Using PLANS.md for multi-hour problem solving Codex and the gpt-5-codex model can be used to implement complex tasks that take significant time to research, design, and implement. The approach described here is one way to prompt the model to implement these tasks and to steer it towards successful completion of a project. These plans are thorough design documents, and "living documents"

        • テクノロジー
        • 2025/10/27 15:34
        • 人工知能
        • プログラミング
        • あとで読む
        • Sora 2 Prompting Guide | OpenAI Cookbook

          31 users

          cookbook.openai.com

          Think of prompting like briefing a cinematographer who has never seen your storyboard. If you leave out details, they’ll improvise – and you may not get what you envisioned. By being specific about what the “shot” should achieve, you give the model more control and consistency to work with. But leaving some details open can be just as powerful. Giving the model more creative freedom can lead to su

          • テクノロジー
          • 2025/10/07 07:43
          • OpenAI
          • 人工知能
          • ai
          • GPT-5-Codex Prompting Guide | OpenAI Cookbook

            179 users

            cookbook.openai.com

            Important details about GPT-5-Codex and this guide: This model is not a drop-in replacement for GPT-5, as it requires significantly different prompting. This model is only supported with the Responses API and does not support the verbosity parameter. This guide is meant for API users of GPT-5-Codex and creating developer prompts, not for Codex users, if you are a Codex user refer to this prompting

            • テクノロジー
            • 2025/09/24 06:16
            • AI
            • あとで読む
            • Codex
            • LLM
            • OpenAI
            • programming
            • Context Engineering - Short-Term Memory Management with Sessions from OpenAI Agents SDK | OpenAI Cookbook

              5 users

              cookbook.openai.com

              Sep 9, 2025Context Engineering - Short-Term Memory Management with Sessions from OpenAI Agents SDK AI agents often operate in long-running, multi-turn interactions, where keeping the right balance of context is critical. If too much is carried forward, the model risks distraction, inefficiency, or outright failure. If too little is preserved, the agent loses coherence. Here, context refers to the

              • テクノロジー
              • 2025/09/11 12:20
              • LLM
              • あとで読む
              • Verifying gpt-oss implementations | OpenAI Cookbook

                3 users

                cookbook.openai.com

                The OpenAI gpt-oss models are introducing a lot of new concepts to the open-model ecosystem and getting them to perform as expected might take some time. This guide is meant to help developers building inference solutions to verify their implementations or for developers who want to test any provider’s implementation on their own to gain confidence. Why is implementing gpt-oss models different? Th

                • テクノロジー
                • 2025/08/17 20:04
                • GPT-5 prompting guide | OpenAI Cookbook

                  138 users

                  cookbook.openai.com

                  Anoop Kotha(OpenAI), Julian Lee(OpenAI), Eric Zakariasson, et al. GPT-5, our newest flagship model, represents a substantial leap forward in agentic task performance, coding, raw intelligence, and steerability. While we trust it will perform excellently “out of the box” across a wide range of domains, in this guide we’ll cover prompting tips to maximize the quality of model outputs, derived from o

                  • テクノロジー
                  • 2025/08/08 03:50
                  • GPT-5
                  • ChatGPT
                  • あとで読む
                  • AI
                  • OpenAI
                  • LLM
                  • プロンプト
                  • prompt
                  • Fine-tuning with gpt-oss and Hugging Face Transformers | OpenAI Cookbook

                    13 users

                    cookbook.openai.com

                    Aug 5, 2025Fine-tuning with gpt-oss and Hugging Face Transformers Authored by: Edward Beeching, Quentin Gallouédec, and Lewis Tunstall Large reasoning models like OpenAI o3 generate a chain-of-thought to improve the accuracy and quality of their responses. However, most of these models reason in English, even when a question is asked in another language. In this notebook, we show how OpenAI's open

                    • テクノロジー
                    • 2025/08/06 10:43
                    • OpenAI
                    • AI
                    • 人工知能
                    • OpenAI Cookbook

                      4 users

                      cookbook.openai.com

                      Open-weight models are freely available base models that you can fine-tune or run locally.

                      • テクノロジー
                      • 2025/08/06 04:37
                      • OpenAI Harmony Response Format | OpenAI Cookbook

                        4 users

                        cookbook.openai.com

                        The gpt-oss models were trained on the harmony response format for defining conversation structures, generating reasoning output and structuring function calls. If you are not using gpt-oss directly but through an API or a provider like Ollama, you will not have to be concerned about this as your inference solution will handle the formatting. If you are building your own inference solution, this g

                        • テクノロジー
                        • 2025/08/06 04:37
                        • あとで読む
                        • How to run gpt-oss locally with Ollama | OpenAI Cookbook

                          14 users

                          cookbook.openai.com

                          Want to get OpenAI gpt-oss running on your own hardware? This guide will walk you through how to use Ollama to set up gpt-oss-20b or gpt-oss-120b locally, to chat with it offline, use it through an API, and even connect it to the Agents SDK. Note that this guide is meant for consumer hardware, like running a model on a PC or Mac. For server applications with dedicated GPUs like NVIDIA’s H100s, che

                          • テクノロジー
                          • 2025/08/06 04:36
                          • OpenAI
                          • AI
                          • 人工知能
                          • あとで読む
                          • Practical Guide for Model Selection for Real‑World Use Cases | OpenAI Cookbook

                            3 users

                            cookbook.openai.com

                            This cookbook serves as your practical guide to selecting, prompting, and deploying the right OpenAI model (between GPT 4.1, o3, and o4-mini) for specific workloads. Instead of exhaustive documentation, we provide actionable decision frameworks and real-world examples that help Solutions Engineers, Technical Account Managers, Partner Architects, and semi-technical practitioners quickly build worki

                            • テクノロジー
                            • 2025/05/06 11:48
                            • GPT-4.1 Prompting Guide | OpenAI Cookbook

                              379 users

                              cookbook.openai.com

                              The GPT-4.1 family of models represents a significant step forward from GPT-4o in capabilities across coding, instruction following, and long context. In this prompting guide, we collate a series of important prompting tips derived from extensive internal testing to help developers fully leverage the improved abilities of this new model family. Many typical best practices still apply to GPT-4.1, s

                              • テクノロジー
                              • 2025/04/15 09:44
                              • OpenAI
                              • AI
                              • あとで読む
                              • ChatGPT
                              • GPT
                              • プロンプト
                              • prompt
                              • LLM
                              • 仕様
                              • GPT-4
                              • Doing RAG on PDFs using File Search in the Responses API | OpenAI Cookbook

                                3 users

                                cookbook.openai.com

                                Mar 11, 2025Doing RAG on PDFs using File Search in the Responses API Although RAG can be overwhelming, searching amongst PDF file shouldn't be complicated. One of the most adopted options as of now is parsing your PDF, defining your chunking strategies, uploading those chunks to a storage provider, running embeddings on those chunks of texts and storing those embeddings in a vector database. And t

                                • テクノロジー
                                • 2025/03/13 07:10
                                • 人工知能
                                • プログラミング
                                • Custom LLM as a Judge to Detect Hallucinations with Braintrust | OpenAI Cookbook

                                  5 users

                                  cookbook.openai.com

                                  Oct 14, 2024Custom LLM as a Judge to Detect Hallucinations with Braintrust Let's say you're working on a customer service bot and trying to evaluate the quality of its responses. Consider a question like "What is your return policy?" If the correct answer is "You can return items within 30 days of purchase," but your bot generates "You can return items within 30 days," how would you evaluate wheth

                                  • テクノロジー
                                  • 2024/10/30 17:21
                                  • 機械学習
                                  • Orchestrating Agents: Routines and Handoffs | OpenAI Cookbook

                                    5 users

                                    cookbook.openai.com

                                    Oct 10, 2024Orchestrating Agents: Routines and Handoffs When working with language models, quite often all you need for solid performance is a good prompt and the right tools. However, when dealing with many unique flows, things may get hairy. This cookbook will walk through one way to tackle this. We'll introduce the notion of routines and handoffs, then walk through the implementation and show h

                                    • テクノロジー
                                    • 2024/10/12 21:25
                                    • blog
                                    • あとで読む
                                    • Using reasoning for data validation | OpenAI Cookbook

                                      25 users

                                      cookbook.openai.com

                                      In this guide, we’ll explore how to use the o1 model, specifically o1-preview, to perform data validation through reasoning. We’ll walk through a practical example involving a synthetic medical dataset and demonstrate how to assess the model’s accuracy in identifying issues within the data. Overview Data validation is a critical step in ensuring the quality and reliability of datasets, especially

                                      • テクノロジー
                                      • 2024/09/13 14:24
                                      • プログラミング
                                      • あとで読む
                                      • Introduction to GPT-4o and GPT-4o mini | OpenAI Cookbook

                                        12 users

                                        cookbook.openai.com

                                        GPT-4o ("o" for "omni") and GPT-4o mini are natively multimodal models designed to handle a combination of text, audio, and video inputs, and can generate outputs in text, audio, and image formats. GPT-4o mini is the lightweight version of GPT-4o. Background Before GPT-4o, users could interact with ChatGPT using Voice Mode, which operated with three separate models. GPT-4o integrates these capabil

                                        • テクノロジー
                                        • 2024/05/14 08:12
                                        • neta
                                        • あとで読む
                                        • Assistants API Overview (Python SDK) | OpenAI Cookbook

                                          12 users

                                          cookbook.openai.com

                                          The new Assistants API is a stateful evolution of our Chat Completions API meant to simplify the creation of assistant-like experiences, and enable developer access to powerful tools like Code Interpreter and File Search. Chat Completions API vs Assistants API The primitives of the Chat Completions API are Messages, on which you perform a Completion with a Model (gpt-4o, gpt-4o-mini, etc). It is l

                                          • テクノロジー
                                          • 2023/11/14 08:34
                                          • Python
                                          • techfeed
                                          • API
                                          • AI
                                          • tool
                                          • プログラミング
                                          • あとで読む
                                          • Processing and narrating a video with GPT-4.1-mini's visual capabilities and GPT-4o TTS API | OpenAI Cookbook

                                            4 users

                                            cookbook.openai.com

                                            This notebook demonstrates how to use GPT's visual capabilities with a video. Although GPT-4.1-mini doesn't take videos as input directly, we can use vision and the 1M token context window to describe the static frames of a whole video at once. We'll walk through two examples: Using GPT-4.1-mini to get a description of a video Generating a voiceover for a video with GPT-4o TTS API from IPython.dis

                                            • テクノロジー
                                            • 2023/11/08 18:23
                                            • OpenAI Cookbook

                                              317 users

                                              cookbook.openai.com

                                              GPT-5 Prompt Migration and Improvement Using the New Optimizer

                                              • テクノロジー
                                              • 2023/09/23 11:26
                                              • ChatGPT
                                              • AI
                                              • あとで読む
                                              • OpenAI
                                              • LLM
                                              • GPT
                                              • 学習
                                              • Python
                                              • Deep Learning
                                              • プログラミング

                                              このページはまだ
                                              ブックマークされていません

                                              このページを最初にブックマークしてみませんか?

                                              『OpenAI Cookbook』の新着エントリーを見る

                                              キーボードショートカット一覧

                                              j次のブックマーク

                                              k前のブックマーク

                                              lあとで読む

                                              eコメント一覧を開く

                                              oページを開く

                                              はてなブックマーク

                                              • 総合
                                              • 一般
                                              • 世の中
                                              • 政治と経済
                                              • 暮らし
                                              • 学び
                                              • テクノロジー
                                              • エンタメ
                                              • アニメとゲーム
                                              • おもしろ
                                              • アプリ・拡張機能
                                              • 開発ブログ
                                              • ヘルプ
                                              • お問い合わせ
                                              • ガイドライン
                                              • 利用規約
                                              • プライバシーポリシー
                                              • 利用者情報の外部送信について
                                              • ガイドライン
                                              • 利用規約
                                              • プライバシーポリシー
                                              • 利用者情報の外部送信について

                                              公式Twitter

                                              • 公式アカウント
                                              • ホットエントリー

                                              はてなのサービス

                                              • はてなブログ
                                              • はてなブログPro
                                              • 人力検索はてな
                                              • はてなブログ タグ
                                              • はてなニュース
                                              • ソレドコ
                                              • App Storeからダウンロード
                                              • Google Playで手に入れよう
                                              Copyright © 2005-2025 Hatena. All Rights Reserved.
                                              設定を変更しましたx