<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python AI 構築 on Negi AI Lab</title><link>https://ai.negi-lab.com/tags/python-ai-%E6%A7%8B%E7%AF%89/</link><description>Recent content in Python AI 構築 on Negi AI Lab</description><image><title>Negi AI Lab</title><url>https://ai.negi-lab.com/images/og-default.png</url><link>https://ai.negi-lab.com/images/og-default.png</link></image><generator>Hugo -- 0.154.5</generator><language>ja</language><lastBuildDate>Tue, 02 Jun 2026 05:55:46 +0900</lastBuildDate><atom:link href="https://ai.negi-lab.com/tags/python-ai-%E6%A7%8B%E7%AF%89/index.xml" rel="self" type="application/rss+xml"/><item><title>ローカルLLM構築入門 OllamaとPythonでAIを自前運用する方法</title><link>https://ai.negi-lab.com/posts/ollama-python-local-llm-tutorial/</link><pubDate>Tue, 02 Jun 2026 00:00:00 +0900</pubDate><guid>https://ai.negi-lab.com/posts/ollama-python-local-llm-tutorial/</guid><description>&lt;p&gt;&lt;strong&gt;所要時間:&lt;/strong&gt; 約40分 | &lt;strong&gt;難易度:&lt;/strong&gt; ★★☆☆☆&lt;/p&gt;
&lt;h2 id="この記事で作るもの"&gt;この記事で作るもの&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Ollamaを使用して、自分のPC上にLlama 3やGemma 2などの最新LLMをAPIサーバーとして立ち上げます。&lt;/li&gt;
&lt;li&gt;PythonからそのAPIを呼び出し、ストリーミング形式（逐次出力）で回答を表示する実用的なチャットスクリプトを完成させます。&lt;/li&gt;
&lt;li&gt;前提知識として、Pythonの基本的な文法（変数、関数、pipでのライブラリインストール）を理解している必要があります。&lt;/li&gt;
&lt;li&gt;Windows、Mac、LinuxのいずれかのPCが必要です。&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="border:1px solid #e0e0e0;border-radius:8px;padding:16px;margin:20px 0;background:#fafafa"&gt;
&lt;p style="margin:0 0 4px;font-size:13px;color:#888"&gt;📦 この記事に関連する商品（楽天メインで価格確認）&lt;/p&gt;</description></item></channel></rss>