並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 44件

新着順 人気順

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

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

cookbookに関するエントリは44件あります。 プログラミングAIgithub などが関連タグです。 人気エントリには 『Rust Cookbook for Beginners - CADDi Tech Blog』などがあります。
  • 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

      Processing and narrating a video with GPT's visual capabilities and the TTS API

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

        ✨ Navigate at cookbook.openai.com Example code and guides for accomplishing common tasks with the OpenAI API. To run these examples, you'll need an OpenAI account and associated API key (create a free account here). Set an environment variable called OPENAI_API_KEY with your API key. Alternatively, in most IDEs such as Visual Studio Code, you can create an .env file at the root of your repo contai

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

          I love to cook with curl. Here are some useful curl recipes I often use. Make a POST Request (TLDR: Use -X POST argument) Add POST Data to a Request (TLDR: Use -d var=val argument) Construct a Query String (TLDR: Use -G argument) Add HTTP Headers (TLDR: Use -H 'Header: Value' argument) Change the User Agent (TLDR: Use -A 'User Agent' argument) Set Cookies (TLDR: Use -b name=value argument) Add a R

            Curl Cookbook
          • はじまりは神本『AWS Cookbook』との邂逅 元アンチCDKの私が「CDK、できる…」と思った理由

            「AWS CDK Conference Japan」は AWS CDK ユーザーが集まって事例やノウハウを共有しあうイベントです。今回は、CDKv2をメインテーマに、初の大型カンファレンスが開催されました。ここで登壇したのは、アクセンチュア株式会社の岡智也氏。アンチCDKだった自身が、実際にCDKを使って感じたメリットについて話しました。 一部のおじさんは新しいものが出てきた時にいったん拒否してしまう 岡智也氏:それでは、「アンチCDKだったわたしが『CDK、できる……』と思ったところ」ということで、岡からプレゼンします。 岡と申します。今日は、個人として参加しており、私が話したことや資料の内容は、所属する組織とはなんら関係ありませんので、あらかじめご了承いただければと思います。 まず、「アンチのくせにCDKカンファレンスにお前は何をしにきたんや」というところなんですけれども。やはり歳を取

              はじまりは神本『AWS Cookbook』との邂逅 元アンチCDKの私が「CDK、できる…」と思った理由
            • 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
                • Golang IO Cookbook · jesseduffield/notes Wiki

                  Preamble: In the last couple of days I made a program called Horcrux which allows you to split a file into any number of horcruxes, a subset of which can then be recombined to resurrect the original file. In the process I learnt a lot about the io.Reader and io.Writer interface, and thought I would do a writeup to help build intuition for all the people out there who inevitably will find themselve

                    Golang IO Cookbook · jesseduffield/notes Wiki
                  • 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
                      • GitHub - andkret/Cookbook: The Data Engineering 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.

                          GitHub - andkret/Cookbook: The Data Engineering 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
                          • DEAD CODE COOKBOOK ~デッドコードの作り方と復活の呪文~ の紹介 - Qiita

                            この記事は 闇の魔術に対する防衛術 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
                                    • 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 Retrieval. 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-3.5-turbo, gpt-4, etc). It is li

                                          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 入門】
                                            • スクロールを制御しよう | JavaScriptレシピ集 | CookBook

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

                                                スクロールを制御しよう | JavaScriptレシピ集 | CookBook
                                              • The Original PySimpleGUI Cookbook - PySimpleGUI Documentation

                                                Demo Screenshots FAQ The Original PySimpleGUI Cookbook Welcome to the PySimpleGUI Cookbook! It's provided as but one component of a larger documentation effort for the PySimpleGUI package. Its purpose is to give you a jump start. You'll find that starting with a Recipe will give you a big jump-start on creating your custom GUI. Copy and paste one of these Recipes and modify it to match your requir

                                                • 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 事前準備 Windows 上の VS Code には以下の拡張機能がインストール済みであることを想定しています。 WSL Open AI API Key 以下の記事の「API キーの取得」を参考に API キーの生成と環境変数の設定をしてください。

                                                    openai-cookbook を VS Code から WSL 内の Ubuntu で実行できるようにしてみた | DevelopersIO
                                                  • 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-4 doesn't take videos as input directly, but we can use vision and the new 128K context window to describe the static frames of a whole video at once. We'll walk through two examples: Using GPT-4 to get a description of a video Generating

                                                        Processing and narrating a video with GPT's visual capabilities and the TTS API | OpenAI Cookbook
                                                      • 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
                                                        • KORG Germany、シンセ業界の著名人たちが調理レシピを紹介した電子書籍、『The Pyjama Cookbook』を無償で公開

                                                          今年1月、コルグの新しい関連会社としてドイツ・ベルリンに設立された”KORG Germany”。CEOにはminilogueやvolcaシリーズの開発に関わってきた高橋達也氏、COOにはE-RMのマクシミリアン・レスト(Maximilian Rest)氏が就任し、設立時には大きな話題になりました。 そんな”KORG Germany”が本日、最初のプロダクトとなる『The Pyjama Cookbook』をリリース。『The Pyjama Cookbook』は、音楽業界/楽器業界の著名人約30名がお気に入りの調理法を紹介したレシピ本(!)であり、PDF形式の電子書籍として無償で配布されています。高橋氏は『The Pyjama Cookbook』の巻頭で、このようなレシピ本を作った目的について以下のように語っています。 『The Pyjama Cookbook』の目的は、この尋常ではない日々に

                                                            KORG Germany、シンセ業界の著名人たちが調理レシピを紹介した電子書籍、『The Pyjama Cookbook』を無償で公開
                                                          • Anthropic Cookbook のおすすめレシピ

                                                            資料内に記載のリンク Anthropic Cookbook https://github.com/anthropics/anthropic-cookbook Context Window のお話 https://speakerdeck.com/schroneko/context-window-noohua 君は Anthropic Tools を知っているか? https://qiita.com/schroneko/items/a4098baa29580ec906b8 Claude Opus / Sonnet / Haiku System Prompt https://twitter.com/schroneko/status/1765372238503760324 Claude3にプロジェクト全体をぶち込むためのプロジェクトの構造とファイル内容を自動でまとめるPythonスクリプト htt

                                                              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
                                                              • Formula Cookbook

                                                                Formula Cookbook A formula is a package definition written in Ruby. It can be created with brew create <URL> where <URL> is a zip or tarball, installed with brew install <formula>, and debugged with brew install --debug --verbose <formula>. Formulae use the Formula API which provides various Homebrew-specific helpers. Homebrew terminology An introduction Basic instructions Grab the URL Fill in the

                                                                  Formula 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)
                                                                  • 見出しから目次を自動で作成 | JavaScriptレシピ集 | CookBook

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

                                                                      見出しから目次を自動で作成 | JavaScriptレシピ集 | CookBook
                                                                    • 4.13 Convert models to equations | R Markdown Cookbook

                                                                      The equatiomatic package (Anderson, Heiss, and Sumners 2023) (https://github.com/datalorax/equatiomatic) developed by Daniel Anderson et al. provides a convenient and automatic way to show the equations corresponding to models fitted in R. We show a few brief examples below: fit <- lm(mpg ~ cyl + disp, mtcars) # show the theoretical model equatiomatic::extract_eq(fit) \[ \operatorname{mpg} = \alph

                                                                        4.13 Convert models to equations | R Markdown Cookbook
                                                                      • litellm/cookbook/proxy-server/readme.md at main · BerriAI/litellm

                                                                        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

                                                                          litellm/cookbook/proxy-server/readme.md at main · BerriAI/litellm
                                                                        • FAIR Cookbook

                                                                          �O��U fab fa-github repository fas fa-lightbulb open issue fas fa-pencil-alt suggest edit The FAIR Cookbook for FAIR doers An online, open and live resource for the Life Sciences with recipes that help you to make and keep data Findable, Accessible, Interoperable and Reusable; in one word FAIR.

                                                                          • The Best Instant Noodles, According to Chefs, Cookbook Authors, and Ramen Fanatics

                                                                            Security Systems & Cameras Home security systems Indoor security cameras Outdoor security cameras Doorbell cameras Locks Electronic keypad door locks Smart locks Door locks Safety Basic smoke alarms Smart smoke alarms Fire extinguishers Flashlights Emergency Preparedness

                                                                              The Best Instant Noodles, According to Chefs, Cookbook Authors, and Ramen Fanatics
                                                                            • 行列計算の強い味方! 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・機械学習技術者のマストアイテム | 株式会社オープンストリーム
                                                                              • dpp-cookbook

                                                                                📖 Data Preprocessing Cookbook 👨‍🍳 R言語でのモデリングおよび統計解析のためのパッケージを扱うtidymodelsの中から{recipes}, {embed}, {textrecipes} パッケージを使ったデータ前処理、特徴量エンジニアリングの手法を紹介します。 (余力があればPython、scikit-learn preprocessing等を利用した処理手順についても書きます) TOC パッケージ全般 データ整形 スケーリング処理 特徴量選択(フィルタ法) 次元削減 不均衡データに対する調整 欠損値への対応 kNN データ分割 特徴量エンジニアリング numeric categorical text date and time coordinates モデル・アルゴリズムあれこれ 線形回帰 ランダムフォレスト 評価指標あれこれ パラメータ探索 D

                                                                                • 【技術書】シェーダーグラフの書籍をリリースしました【ShaderGraph CookBook vol.1】 - rn.log

                                                                                  はじめに 2021/03/21 に Unity ShaderGraphの本をリリースしました。 今回は、この本の魅力を紹介したいと思います。 zenn.dev 本書の特徴 20種以上のノードの解説 30種以上の作例 サンプルプロジェクト付き 特徴① : ノードの解説 ノードについての解説や、ノードで作れる表現の作例を紹介しています。 サンプルページ 🍎 Sineノード|Unity ShaderGraph CookBook vol.1【ShaderGraph 入門】 特徴② : 豊富な作例 書籍では、30種以上の作例を紹介しています。 ShaderGraph単体で完結するような表現に焦点を絞っています。 作例を知りたい方は以下のページをご覧ください。 🍍 レシピ一覧|Unity ShaderGraph CookBook vol.1【ShaderGraph 入門】 特徴③ : サンプルプロ

                                                                                    【技術書】シェーダーグラフの書籍をリリースしました【ShaderGraph CookBook vol.1】 - rn.log

                                                                                  新着記事