Skip to Content
LLMのプロンプトエンジニアリング ―GitHub Copilotを生んだ開発者が教える生成AIアプリケーション開発
book

LLMのプロンプトエンジニアリング ―GitHub Copilotを生んだ開発者が教える生成AIアプリケーション開発

by John Berryman, Albert Ziegler, 服部 佑樹, 佐藤 直生
May 2025
Intermediate to advanced
276 pages
4h
Japanese
O'Reilly Japan, Inc.
Content preview from LLMのプロンプトエンジニアリング ―GitHub Copilotを生んだ開発者が教える生成AIアプリケーション開発

9章LLMワークフロー

従来の機械学習モデルは、ツイートのセンチメント分析、クレジットカード取引の不正検出、英語からフランス語へのテキスト翻訳など、「1つ」のドメインでの「1つ」のスキルのみを持つのが、一般的でした。GPTモデルの登場により、1つのモデルで、一見あらゆるドメインの膨大なバリエーションのタスクを実行できるようになりました。

しかし、GPT-2以降、モデルの品質は大幅に向上しましたが、人レベルの認知能力を満たす、または超えるAIである汎用人工知能(AGI)を作成する段階には、ほど遠いです。私たちがAGIを作成すると、AGIは知識を取り入れ、それについて推論し、今までにない複雑な問題を解決し、さらには新しい知識を生成する能力を持つでしょう。AGIは、人のような創造性を駆使して、あらゆるドメインの実世界の問題に対処します。

対照的に、今日のLLMは、推論と問題解決に顕著な欠陥を示しており、科学的発見の重要な要素である数学が特に苦手です。これらのモデルが生成するテキストは、既存の知識に対する幅広い理解を示していますが、新しい何かを導入することはめったにありません。また、トレーニング以外では、これらのモデルは新しい情報を学習することができません。将来のAGIは、定義上、「強み」(複雑な問題を解決する能力)、「一般性」(あらゆるドメインの問題を解決する能力)の両方を備えるでしょう。しかし、現在のLLMでは、知能のこれら2つの側面の間にトレードオフがあるようです(図9-1を参照)。

分布の一端には、前章で紹介した会話型エージェントがあります。極端な例として、ChatGPTのような純粋なチャットアプリケーションは「非常に」一般的です。あなたが望むことなら、何でも話してくれます。しかし、それは、あなたに代わって複雑なタスクを解決するわけではありません。特定のドメインに対するエージェントのシステムメッセージを作成し、そのドメイン用の一連のツールを備えた場合、エージェントはより一般的ではなくなり、そのより狭いドメイン内のタスクをより達成できるようになります。それにもかかわらず、会話型エージェントは、実際に作業を完了しようとしているユーザーからの支援を受けながら、一度に1つ、2つのステップだけを伴うタスクに最も適しています。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

実用 Git 第3版

実用 Git 第3版

Prem Kumar Ponuthorai, Jon Loeliger, 萬谷 暢崇, 長尾 高弘
入門 Kubernetes

入門 Kubernetes

Kelsey Hightower, Brendan Burns, Joe Beda, 松浦 隼人

Publisher Resources

ISBN: 9784814401130Publisher Website