<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ローカルLLM on 自動化無しに生活無し</title>
    <link>https://noauto-nolife.com/tags/%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%ABllm/</link>
    <description>Recent content in ローカルLLM on 自動化無しに生活無し</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja</language>
    <lastBuildDate>Sun, 31 May 2026 14:41:24 +0900</lastBuildDate><atom:link href="https://noauto-nolife.com/tags/%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%ABllm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>OllamaでRAGを実現する。</title>
      <link>https://noauto-nolife.com/post/python-local-llm-rag/</link>
      <pubDate>Sun, 31 May 2026 14:41:24 +0900</pubDate>
      
      <guid>https://noauto-nolife.com/post/python-local-llm-rag/</guid>
      <description>すでにollamaとgemma:2bをインストール済みとする。 参照: UbuntuにローカルLLMをインストールし、Python上で動作させる(Ollama) RAGの実装とソースコード pip install faiss-cpu sentence-transformers numpy import faiss import numpy as np from sentence_transformers import SentenceTransformer import subprocess # ========================= # 1. ドキュメント準備 # ========================= documents = [ &amp;quot;RAGとは、検索と生成を組み合わせたAI手法です。&amp;quot;, &amp;quot;FAISSはベクトル検索ライブラリです。&amp;quot;, &amp;quo</description>
    </item>
    
  </channel>
</rss>
