Skip to Content
実践 LLMアプリケーション開発 ―プロトタイプを脱却し、実用的な実装に迫るための包括的な手引き
book

実践 LLMアプリケーション開発 ―プロトタイプを脱却し、実用的な実装に迫るための包括的な手引き

by Suhas Pai, 金本 勝吉, オライリー・ジャパン編集部
September 2025
Beginner to intermediate
400 pages
6h 4m
Japanese
O'Reilly Japan, Inc.
Content preview from 実践 LLMアプリケーション開発 ―プロトタイプを脱却し、実用的な実装に迫るための包括的な手引き

10章LLMから外部ツールを利用する

 第1部と第2部では、スタンドアローンのLLMが多種多様なタスクをどのように効果的に解くのかを見てきました。LLMの能力を最大限に引き出すためには、LLMを既存のデータやソフトウェアのエコシステムと統合することが不可欠です。従来のソフトウェアシステムとは異なり、LLMは自律的にアクションを起こして、他のコンポーネントと動的に相互作用(やり取り)することができます。この柔軟性により、従来は実現不可能と思われていた多くのユースケースが、今では現実のものとなりつつあります。

 LLMがソフトウェアや外部データと連携する必要があるもう一つの理由は、現在のLLMにはいくつかの本質的な制約があるためです。1章でも示しましたが、主要な点を以下に再掲します。

  • LLMの再訓練や継続的なアップデートにはコストがかかるため、頻繁には更新できない。そのため、LLMの知識にはカットオフ(Cutoff)があり、それ以降の最近の出来事についての知識を持っていない。
  • 改善は進んでいるものの、LLMは計算問題が苦手である。
  • LLMは、生成する内容の事実性を保証したり、出典を正確に引用したりできない。
  • 各々が持つ独自のデータを利用するのが困難である。ファインチューニングは簡単ではなく、コンテキスト内学習についても使用できるコンテキストウィンドウの長さに制約がある。

 これまで本書で示してきたように、統合効果によって、技術的な壁にぶつからない限りは将来的にはこれらの制限の多くがモデル自体によって解決されていくかもしれません。しかし、そうした未来をただ待つ必要はありません。現時点でも、タスクやサブタスクを外部ツールに任せることで、これらの制約に対処することが可能だからです。 ...

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

実践 AIエージェント開発 ―マルチエージェントシステムの設計と実装

実践 AIエージェント開発 ―マルチエージェントシステムの設計と実装

Michael Albada, 鈴木 駿, 高山 洪銘, 山下 正浩
実践 パケット解析 第3版 ―Wiresharkを使ったトラブルシューティング

実践 パケット解析 第3版 ―Wiresharkを使ったトラブルシューティング

Chris Sanders, 髙橋 基信, 宮本 久仁男, 岡 真由美
直感 生成AI ―ハンズオンで動かして学ぶ拡散モデル入門

直感 生成AI ―ハンズオンで動かして学ぶ拡散モデル入門

Omar Sanseviero, Pedro Cuenca, Apolinário Passos, Jonathan Whitaker, 江川 崇

Publisher Resources

ISBN: 9784814401314Publisher Website