Skip to Content
初めてのLangChain ―LangChainとLangGraphによるAI/LLMアプリケーションの構築
book

初めてのLangChain ―LangChainとLangGraphによるAI/LLMアプリケーションの構築

by Mayo Oshin, Nuno Campos, 新井 翔太, 嶋田 健志
September 2025
Intermediate to advanced
296 pages
4h 30m
Japanese
O'Reilly Japan, Inc.
Content preview from 初めてのLangChain ―LangChainとLangGraphによるAI/LLMアプリケーションの構築

はじめに

2022年11月30日、サンフランシスコを拠点とする企業OpenAIは、人間のようにコンテンツを生成し、質問に答え、問題を解決できる話題のAIチャットボットChatGPT(https://openai.com/blog/chatgpt)を公開した。ChatGPTは公開からわずか2か月で、コンシューマ向けアプリケーションとして史上最速で1億人以上の月間アクティブユーザー(https://oreil.ly/ATsLe)を集めた。ChatGPTは、OpenAIの大規模言語モデル(LLM)を命令、対話形式にチューニングしたバージョンを基盤とするチャットボットである。これらの概念の定義については後ほど説明する。

その3か月後、OpenAIはChatGPT API(https://oreil.ly/DwU7R)を公開し、開発者がチャットおよび音声をテキストに変換する機能にアクセスできるようになった。これにより、「生成AI」を活用した無数の新しいアプリケーションや技術開発が生まれ始めた。

[注記]

LangChainの有無にかかわらず、LLMアプリケーションを構築するにはLLMが不可欠である。本書のコード例ではLLMプロバイダーとしてOpenAI APIを使用する(<span>使用料金は「API料金」のページ(https://openai.com/api/pricing/)に掲載されている)。LangChainを利用する利点の1つは、OpenAIはもちろん、他の商用あるいはオープンソースの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

プラットフォームエンジニアリング ―成功するプラットフォームとチームを作るガイドライン

プラットフォームエンジニアリング ―成功するプラットフォームとチームを作るガイドライン

Camille Fournier, Ian Nowland, 松浦 隼人

Publisher Resources

ISBN: 9784814401307Publisher Website