<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dekuo-03</author_name>
  <author_url>https://blog.hatena.ne.jp/dekuo-03/</author_url>
  <blog_title>工作と競馬2</blog_title>
  <blog_url>https://dekuo-03.hatenablog.jp/</blog_url>
  <categories>
    <anon>技術メモ</anon>
    <anon>技術メモ#Python</anon>
    <anon>技術メモ#ディープラーニング</anon>
  </categories>
  <description>概要 ローカルPC上で、LLMを動かし、かつ、RAGを実装するための自分用メモ。 概要 背景と目的 詳細 0. 環境 1. ローカルLLM実行環境(Ollama) 2. LLMモデル 3. RAGの実装 3.1 embedding modelのインストール 3.2 実装 3.2.1 全体構成 3.2.2 ベクトル化 3.2.3 文書をチャンク分割する 3.2.3 質問とのコサイン類似度が最も高い文書ベクトルを抽出 3.2.4 全体 4. 動作確認 5. 参考 まとめと今後の課題 背景と目的 ローカルPC上で、LLMを動かす環境がかなり整ってきた。また、RAGの実装方法についても、Web上にたく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdekuo-03.hatenablog.jp%2Fentry%2F2025%2F05%2F12%2F003118&quot; title=&quot;ローカルLLMでRAG - 工作と競馬2&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.image.st-hatena.com/image/square/dcc0735a6299053959913acd849403b25f06931b/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.user.blog.st-hatena.com%2Fcircle_image%2F90939833%2F1514352997199936</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-12 00:31:18</published>
  <title>ローカルLLMでRAG</title>
  <type>rich</type>
  <url>https://dekuo-03.hatenablog.jp/entry/2025/05/12/003118</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
