jiku log

データサイエンスの核心を掴む : 学びと発見の記録

「RAG・AIエージェント[実践]入門」 読書メモ一覧

はじめに

業務でLLMを活用していくためには,検索拡張生成(RAG)やAIエージェントといった技術が必要になってくると考えられる。これらの技術の基礎知識と実践経験を積むために,西見公宏・吉田真吾・大嶋勇樹 著「LangChainとLangGraphによるRAG・AIエージェント[実践]入門」を読むことにした。

  • 本書の紹介ページ

gihyo.jp

GitHub - GenerativeAgents/agent-book

https://image.gihyo.co.jp/assets/images/cover/2024/9784297145309.jpg

目次

記事一覧

第1章 LLMアプリケーション開発の基礎

stern-bow.hatenablog.com

第2章 OpenAIのチャットAPIの基礎

①Chat Completions API

stern-bow.hatenablog.com

②Function calling

stern-bow.hatenablog.com

第3章 プロンプトエンジニアリング

stern-bow.hatenablog.com

第4章 LangChainの基礎

①LLM/Chat model

stern-bow.hatenablog.com

②Prompt template / Output parser

stern-bow.hatenablog.com

③LCEL/LangChainのRAGに関するコンポーネント

stern-bow.hatenablog.com

第5章 LangChain Expression Language (LCEL) 徹底解説

①Runnable / RunnableLambda

stern-bow.hatenablog.com

②RunnableParallel / RunnablePassthrough

stern-bow.hatenablog.com

第6章 Advanced RAG

①検索クエリの工夫

stern-bow.hatenablog.com

②検索後の工夫 / 複数のRetrieverを使う工夫

stern-bow.hatenablog.com

第7章 LangSmithを使ったRAGアプリケーションの評価

①Ragasによる合成テストデータの生成

stern-bow.hatenablog.com

② オフライン評価の実装

stern-bow.hatenablog.com

③ フィードバックの収集

stern-bow.hatenablog.com

第8章 AIエージェントとは

stern-bow.hatenablog.com

第9章 LangGraphで作るAIエージェント実践入門

stern-bow.hatenablog.com

第10章 要件定義書生成AIエージェントの開発

stern-bow.hatenablog.com

第11章 エージェントデザインパターン

①「目標設定と計画生成」・「推論の確実性向上」のエージェントデザインパターン

stern-bow.hatenablog.com

②「エージェント間の協調」・「入出力制御」のエージェントデザインパターン

stern-bow.hatenablog.com

第12章 LangChain/LangGraphで実装するエージェントデザインパターン

①パッシブゴールクリエイター・プロンプト/レスポンス最適化の実装例

stern-bow.hatenablog.com

②シングルパスプランジェネレーター・マルチパスプランジェネレーターの実装例

stern-bow.hatenablog.com

③セルフリフレクション・クロスリフレクションの実装例

stern-bow.hatenablog.com

④役割ベースの協調の実装例

stern-bow.hatenablog.com