0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【目次】Python と Ollama で学ぶLangChain実践入門

Last updated at Posted at 2025-08-31

はじめに

これまで生成AI・AIエージェントを利用したプログラムを実装するには、有料のWeb API(Open AIのAPI等)や、高性能なクラウド環境が必要でした。しかし、Pythonの基本的な知識があれば、自分のパソコン上でAIのモデルを動かし、生成AI・AIエージェントを利用したアプリを作ることも可能になっています。

そこで、Open AIのAPI・AWSのクラウド環境等の有料のサービスは利用せず、無料で利用でき、ローカル環境で動作するLLM「Ollama」と、効率的に生成AI・AIエージェントに必須の機能を実装できるPython向けの開発ライブラリ「LangChain」を用いて、実際にプログラムを作る方法を学べる解説記事を作りました。

リンク

Chapter1. LangChainとOllamaの概要・導入
Chapter2. PromptTemplateの基本と応用
Chapter3. 会話の文脈保持と会話履歴
Chapter4. 履歴管理の高度化
Chapter5. RAGの構築 ─ Ollamaと外部検索の統合
Chapter6. Langgraphの基礎 ─ Agentの状態管理
Chapter7. Langgraphの基礎 ─ Tools呼び出し

※Qiitaでは、Chapter1からChapter3まで無料で掲載。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?