並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 49件

新着順 人気順

cookbookの検索結果1 - 40 件 / 49件

  • GPT-4.1 Prompting Guide | OpenAI Cookbook

    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

      GPT-4.1 Prompting Guide | OpenAI Cookbook
    • Rust Cookbook for Beginners - CADDi Tech Blog

      こんにちは😉 @ryokotmngです。 今日は社内ドキュメントの、Rust初心者向けのクックブックを公開しようと思います。 私自身コードを書くのに四苦八苦していた頃にとても助けられたので、Rustをはじめたばかりの方の参考になれば嬉しいです。 目次 [toc] はじめに この記事では、The Bookに記載されている知識を前提としています。 Rustを全く書いたことがない方は、先に読んでみることをお勧めします。 サンプルコードが結構長いこと、実行環境があった方が良い内容も多いことから、サンプルコードは大体Rust Playgroundのリンクとなっています。 ぜひご自身で修正して遊んでみてください。 単位つきの計算を型で厳格に縛る 例えば複数の長さの単位 (mm, cm, mなど) を扱う場合に、単位が合っていない長さ同士の計算をする場合、単位を揃える必要がありますね。 この時、最終的

        Rust Cookbook for Beginners - CADDi Tech Blog
      • OpenAI Cookbook

        How to use the Usage API and Cost API to monitor your OpenAI usage

          OpenAI Cookbook
        • GitHub - openai/openai-cookbook: Examples and guides for using the OpenAI API

          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

            GitHub - openai/openai-cookbook: Examples and guides for using the OpenAI API
          • はじまりは神本『AWS Cookbook』との邂逅 元アンチCDKの私が「CDK、できる…」と思った理由 | ログミーBusiness

            一部のおじさんは新しいものが出てきた時にいったん拒否してしまう岡智也氏:それでは、「アンチCDKだったわたしが『CDK、できる……』と思ったところ」ということで、岡からプレゼンします。 岡と申します。今日は、個人として参加しており、私が話したことや資料の内容は、所属する組織とはなんら関係ありませんので、あらかじめご了承いただければと思います。 まず、「アンチのくせにCDKカンファレンスにお前は何をしにきたんや」というところなんですけれども。やはり歳を取ってくると、新しいものが出てきた時に、おっちゃんは拒否したくなっちゃうんですよね。 あれこれ理由をつけて、まずは否定から入るみたいなところありますよね。例えば「CDK?」「もうCloudFormationとか、Terraformとかあるし、なんでそんなの使わなあかんの?」とかですね。 あと「え? TypeScriptやPythonでコード書く

              はじまりは神本『AWS Cookbook』との邂逅 元アンチCDKの私が「CDK、できる…」と思った理由 | ログミーBusiness
            • OpenAI Cookbookで学ぶChatGPTプロンプトの基礎の基礎

              筆者がネタに苦しんでいるうちに、マイクロソフトがAzureにChatGPTを含むOpenAIのサービスを採用すると発表したり、ChatGPT Professionalのウェイトリストが用意されたりと、世の情勢は活発にうごいていますね(かわさき)。 OpenAI Cookbook OpenAIは「OpenAI Cookbook」と呼ばれるリポジトリをGitHubで公開しています。これは、OpenAIが提供するAPIを使って何らかのタスクを行うためのサンプルコードやガイドを示したものです。今回はそのうちのGPT 3に関連する内容を幾つか紹介しましょう。ただし、OpenAI Cookbookで紹介されているノウハウはChatGPTに特化して書かれているわけではないことには注意してください。

                OpenAI Cookbookで学ぶChatGPTプロンプトの基礎の基礎
              • OpenAI公式のサンプルコード集「openai-cookbook」のコードを試してみた | DevelopersIO

                openai-cookbookのサンプルコードを実行してみました。openai-cookbookはOpenAI の公式リポジトリの一つで OpenAI API で一般的なタスクを実行するためのガイド+サンプル コード集です! お疲れさまです。とーちです。 連日、ChatGPT 関連のニュースで盛り上がってますね。 私も OpenAI の API を使ってなにか作ってみたいと思っていたところ、社内からの情報で、 openai-cookbookという git リポジトリがあることを知ったので試してみました。 上記のリポジトリは OpenAI の公式リポジトリの一つで OpenAI API で一般的なタスクを実行するためのガイド+サンプル コード集となっています。 Guides & examples を読んでみる リポジトリのトップページのGuides & examplesから読み進めていくこと

                  OpenAI公式のサンプルコード集「openai-cookbook」のコードを試してみた | DevelopersIO
                • openai-cookbook/examples/How_to_call_functions_with_chat_models.ipynb at main · openai/openai-cookbook

                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                    openai-cookbook/examples/How_to_call_functions_with_chat_models.ipynb at main · openai/openai-cookbook
                  • GitHub - nsriram/lambda-the-terraform-way: AWS Lambda using Terraform., an Introductory Cookbook

                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                      GitHub - nsriram/lambda-the-terraform-way: AWS Lambda using Terraform., an Introductory Cookbook
                    • openai-cookbook/examples/Question_answering_using_embeddings.ipynb at main · openai/openai-cookbook

                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                        openai-cookbook/examples/Question_answering_using_embeddings.ipynb at main · openai/openai-cookbook
                      • anthropic-cookbook/patterns/agents/prompts at main · anthropics/anthropic-cookbook

                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                          anthropic-cookbook/patterns/agents/prompts at main · anthropics/anthropic-cookbook
                        • Using reasoning for data validation | OpenAI Cookbook

                          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

                            Using reasoning for data validation | OpenAI Cookbook
                          • DEAD CODE COOKBOOK ~デッドコードの作り方と復活の呪文~ の紹介 - Qiita

                            Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? この記事は 闇の魔術に対する防衛術 Advent Calendar 2020 の1日目の記事です。 2日目も埋まっていなかったので 存在しない正規表現 という記事を書きます。 参加しているカレンダーとして完走させたいので、是非参加してください! 枠はまだまだ空いています! DEAD CODE COOKBOOK ~デッドコードの作り方と復活の呪文~ を11/30に公開しました。 以下は、「はじめに」「🔖中断を利用するパターン」「🧪return後のコード」「👼ネスト修正による中断コードの移動」「🧟goto文のラベルによるジャンプ」「

                              DEAD CODE COOKBOOK ~デッドコードの作り方と復活の呪文~ の紹介 - Qiita
                            • langchain/cookbook at master · langchain-ai/langchain

                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                langchain/cookbook at master · langchain-ai/langchain
                              • GitHub - zigcc/zig-cookbook: Simple Zig programs that demonstrate good practices to accomplish common programming tasks.

                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                  GitHub - zigcc/zig-cookbook: Simple Zig programs that demonstrate good practices to accomplish common programming tasks.
                                • Cloud Native Security Cookbook

                                  Read it now on the O’Reilly learning platform with a 10-day free trial. O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers. With the rise of the cloud, every aspect of IT has been shaken to its core. The fundamentals for building systems are changing, and although many of the principles that underpin securi

                                    Cloud Native Security Cookbook
                                  • openai-cookbook/techniques_to_improve_reliability.md at main · openai/openai-cookbook

                                    Techniques to improve reliability When GPT-3 fails on a task, what should you do? Search for a better prompt that elicits more reliable answers? Invest in thousands of examples to fine-tune a custom model? Assume the model is incapable of the task, and move on? There is no simple answer - it depends. However, if your task involves logical reasoning or complexity, consider trying the techniques in

                                      openai-cookbook/techniques_to_improve_reliability.md at main · openai/openai-cookbook
                                    • Introduction to GPT-4o and GPT-4o mini | OpenAI Cookbook

                                      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

                                        Introduction to GPT-4o and GPT-4o mini | OpenAI Cookbook
                                      • A Cookbook of Self-Supervised Learning

                                        Self-supervised learning, dubbed the dark matter of intelligence, is a promising path to advance machine learning. Yet, much like cooking, training SSL methods is a delicate art with a high barrier to entry. While many components are familiar, successfully training a SSL method involves a dizzying set of choices from the pretext tasks to training hyper-parameters. Our goal is to lower the barrier

                                        • Assistants API Overview (Python SDK) | OpenAI Cookbook

                                          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

                                            Assistants API Overview (Python SDK) | OpenAI Cookbook
                                          • Compatibility for Windows 11- Compatibility Cookbook

                                            We have continued our compatible by design approach from Windows 10 to Windows 11, through our multiple efforts across validation, discovery and partner outreach. Based on these efforts, we have a positive signal of the continued compatibility with Windows 11, to the same standard as Windows 10. For cases where changes may cause a compatibility issues, the App Assure program provides the necessary

                                              Compatibility for Windows 11- Compatibility Cookbook
                                            • Unity ShaderGraph CookBook vol.1【ShaderGraph 入門】

                                              本書はUnityのシェーダーグラフに特化した内容となっています。 🍎がついたチャプターでは、シェーダーグラフの基本的なノードを紹介し、ノードの使用例をいくつか紹介します。 🍍がついたチャプターでは、シェーダーグラフを使った表現をレシピ感覚で紹介していきます。 ※ 無料公開期間は終了しました (2021-03-23) Ver 1.10.0 ■サンプルプロジェクト https://github.com/rngtm/ShaderGraphCookBookSample ■環境 Unity 2020.2.0f1 Universal RP 10.2.2 誤字・脱字などを見つけましたら、読者コミュニティにて報告いただけると助かります。 https://zenn.dev/r_ngtm/scraps/f727eabdaffeeb

                                                Unity ShaderGraph CookBook vol.1【ShaderGraph 入門】
                                              • Complete NGINX Cookbook

                                                F5のサイト サポート ポータル F5製品およびサービスに関するセルフサービス ヘルプの記事 DevCentral 弊社主催のコミュニティでつながり、学ぶ My F5 サブスクリプションおよび登録キーの管理 Partner Central F5パートナーのためのリソースおよびサポート ポータル LearnF5 Learn to use F5 products F5へのお問い合わせ F5販売担当部へのお問い合わせ 詳しくは、F5の営業担当社にお問い合わせください F5サポートへのお問い合わせ お近くのサポート担当者にお問い合わせください プロフェッショナルサービスへのお問い合わせ F5ソリューションを最適化するためのサポートを受ける 無料トライアル 複数の環境にわたりアプリケーションの安全性、速度、信頼性を確保するこれらの製品を、無料でお試しください。 F5 Distributed Clou

                                                  Complete NGINX Cookbook
                                                • スクロールを制御しよう | JavaScriptレシピ集 | CookBook

                                                  スクロールバーとは スクロールとは、表示領域より大きなコンテンツを表示する際にコンテンツを移動(スクロール)しながら全体を閲覧させるためのツールの総称です。 HTMLの場合、ドキュメント全体に対するスクロールバーと特定要素におけるスクロールバーの2種類が存在します。 下記例では上下のみですが、左右に対するスクロールバーも有ります。 スクロールバーの表示条件は? Webページでスクロールバーが表示されるためには、いくつかの条件があります。 表示領域より表示するコンテンツの大きさが大きいこと。cssのoverflowプロパティがscrollまたはautoに設定されていることです。 また、overflowの設定が有効になるためには、親要素(ブロックレベル要素)に高さ (height または max-height) を設定(縦スクロールの場合)するか、 white-space を nowrap に

                                                    スクロールを制御しよう | JavaScriptレシピ集 | CookBook
                                                  • GitHub - anthropics/anthropic-cookbook: A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.

                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                      GitHub - anthropics/anthropic-cookbook: A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.
                                                    • openai-cookbook を VS Code から WSL 内の Ubuntu で実行できるようにしてみた | DevelopersIO

                                                      Open AI API の使用例と使い方のガイドが openai-cookbook として GitHub で公開されています。 中身は Jupyter Notebook 集となっており、今回はこれを VS Code をガワにして WSL 内の Ubuntu で実行してみたいと思います。 環境 この記事を執筆するにあたり私が試したのは以下の環境とバージョンになります。 Windows 11 22H2 WSL バージョン: 1.1.3.0 (WSL2) VS Code 1.76.2 Ubuntu 22.04.2 LTS Python 3.10.6 事前準備 WSL WSL環境のセットアップについては省略します。公式ドキュメントを参照してください。 https://learn.microsoft.com/ja-jp/windows/wsl/install VS Code Windows 上の V

                                                        openai-cookbook を VS Code から WSL 内の Ubuntu で実行できるようにしてみた | DevelopersIO
                                                      • Orchestrating Agents: Routines and Handoffs | OpenAI Cookbook

                                                        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 how they can be used to orchestrate multiple agents in a

                                                          Orchestrating Agents: Routines and Handoffs | OpenAI Cookbook
                                                        • Custom LLM as a Judge to Detect Hallucinations with Braintrust | OpenAI Cookbook

                                                          Custom 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 whether this is a

                                                            Custom LLM as a Judge to Detect Hallucinations with Braintrust | OpenAI Cookbook
                                                          • dbt Incremental Cookbook

                                                            Incremental models are one of the most powerful features of dbt. Let’s review common patterns for implementing incrementals. OverviewIncremental models are a dbt feature that allows us to manage large tables by adding subsets of data. dbt Query Pattern In dbt, we write templates that generate SQL.We use Jinja macros to declaratively generate our SQL queries. These macros output text and are identi

                                                              dbt Incremental Cookbook
                                                            • Processing and narrating a video with GPT's visual capabilities and the TTS API | OpenAI Cookbook

                                                              Processing and narrating a video with GPT's visual capabilities and the TTS API This notebook demonstrates how to use GPT's visual capabilities with a video. GPT-4o doesn't take videos as input directly, but we can use vision and the 128K context window to describe the static frames of a whole video at once. We'll walk through two examples: Using GPT-4o to get a description of a video Generating a

                                                                Processing and narrating a video with GPT's visual capabilities and the TTS API | OpenAI Cookbook
                                                              • Python pathlib Cookbook: 57+ Examples to Master It (2022)

                                                                A mega tutorial with dozens of examples on how to use the pathlib module in Python 3 When I started learning Python, there was one thing I always had trouble with: dealing with directories and file paths! I remember the struggle to manipulate paths as strings using the os module. I was constantly looking up error messages related to improper path manipulation. The os module never felt intuitive an

                                                                  Python pathlib Cookbook: 57+ Examples to Master It (2022)
                                                                • OpenCoder: The Open Cookbook for Top-Tier Code Large Language Models

                                                                  Large language models (LLMs) for code have become indispensable in various domains, including code generation, reasoning tasks and agent systems. While open-access code LLMs are increasingly approaching the performance levels of proprietary models, high-quality code LLMs suitable for rigorous scientific investigation, particularly those with reproducible data processing pipelines and transparent t

                                                                  • 行列計算の強い味方! The Matrix Cookbook:AI・機械学習技術者のマストアイテム | 株式会社オープンストリーム

                                                                    今回は小ネタである。知っている人には当たり前、でも意外に知らないままの人もいるという、The Matrix Cookbook を紹介したい。 ■概要 The Matrix Cookbook (https://www.math.uwaterloo.ca/~hwolkowi/matrixcookbook.pdf)は行列関連の公式・計算レシピ集だ。インターネット経由で誰でも無料で入手できるPDFファイルである。行列式、逆行列、行列分解、行列の微分、確率統計関連・・・などなど、A4 約70ページに渡って様々な公式や計算法が集められていて、とても役にたつ資料となっている。作者の方に大いに感謝したい。 検索すると分かるように、この Cookbook はネット上のあちこちで公開されているが、幾つかのバージョン違いが存在する。私の知る限りでは、2012年版が最新のようだ。 なお、上図のように表紙には ma

                                                                      行列計算の強い味方! The Matrix Cookbook:AI・機械学習技術者のマストアイテム | 株式会社オープンストリーム
                                                                    • Function callingのCookbookを試してみた【1】|Ogiwara Yui

                                                                      こんにちは!株式会社デジタルレシピ CTO室の荻原(@yui_nk222)です。 2023年6月14日に、OpenAIから大きなアップデートが発表され、外部ツールを呼び出せる「Function calling」という機能が発表されました。 早速Cookbookのサンプルコードを試しながら、どんなことができるのか見ていきたいと思います。 1. Function callingの概要gpt-3.5-turbo-0613やgpt-4-0613というモデルでは、関数呼び出しに必要なJSONを生成できるようになった モデルにfunctionsパラメータで関数の内容を渡すと、その内容に基づいて関数の引数を含んだJSONを生成する このJSONを使用して、関数を呼び出すことができる 関数はモデルのコンテキスト制限に含まれ、入力トークンとしてカウントされる functionsパラメータについてChatCo

                                                                        Function callingのCookbookを試してみた【1】|Ogiwara Yui
                                                                      • Anthropic Cookbook のおすすめレシピ

                                                                        資料内に記載のリンク Anthropic Cookbook https://github.com/anthropics/anthropic-cookbook Context Window のお話 https://speakerdeck.com/schroneko/context-wind…

                                                                          Anthropic Cookbook のおすすめレシピ
                                                                        • AWS Cookbook

                                                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                            AWS Cookbook
                                                                          • GitHub - google-gemini/cookbook: Examples and guides for using the Gemini API

                                                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                              GitHub - google-gemini/cookbook: Examples and guides for using the Gemini API
                                                                            • 見出しから目次を自動で作成 | JavaScriptレシピ集 | CookBook

                                                                              見出し抜き出し機能作成 では、早速見出しから目次を作成するプログラムを作成してみましょう。 やることも単純で、対象となる見出しを探し、見出しのランクに応じて目次の階層構造(ol要素を使用します)を作成するというものになります。 見出しを出力する要素を検索する機能 これは非常にシンプルです。document.querySelectorを使うことで、出力先の要素を検索することができます。 document.querySelectorにはCSSのセレクタを指定できますので、ID名やクラス名で対象要素を1つだけ検索できます。 下記の例では、TOC_INSERT_SELECTORに出力する要素のID名を入れ、document.querySelectorで検索を行います。 const TOC_INSERT_SELECTOR = '#toc'; // [セレクター指定] 目次を挿入する要素 queryS

                                                                                見出しから目次を自動で作成 | JavaScriptレシピ集 | CookBook
                                                                              • GitHub - ImaginativeShohag/Why-Not-Compose: A collection of animations, compositions, UIs using Jetpack Compose. You can say Jetpack Compose cookbook, showcase or play-ground if you want!

                                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                  GitHub - ImaginativeShohag/Why-Not-Compose: A collection of animations, compositions, UIs using Jetpack Compose. You can say Jetpack Compose cookbook, showcase or play-ground if you want!
                                                                                • Practical Guide for Model Selection for Real‑World Use Cases | OpenAI Cookbook

                                                                                  May 7, 2025Practical Guide for Model Selection for Real‑World Use Cases 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,

                                                                                    Practical Guide for Model Selection for Real‑World Use Cases | OpenAI Cookbook