<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shgx</author_name>
  <author_url>https://blog.hatena.ne.jp/shgx/</author_url>
  <blog_title>GameWith Developer Blog</blog_title>
  <blog_url>https://tech.gamewith.co.jp/</blog_url>
  <categories>
  </categories>
  <description>はじめに どうも、@shgxです。最近ChatBot作りにはまってます。 今回はLangChain + Guidance、Metaが開発したベクトル探索ライブラリのfaissを利用してChatBotを作る例を紹介したいと思います。 ベクトル探索とは？ ベクトル探索は、文章をベクトルで表現しベクトル間の距離や類似性を計算して類似性の高い文章を見つけることができる手法のことです。 簡潔に言えば、文章を数値に変換して、それらの類似性で文章を検索する手法です。 なぜベクトル探索？ 以下に、ChatBotを作る際のベクトル探索の利点をまとめます。 トークン上限を回避: ベクトル探索では、長い文脈をベクト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.gamewith.co.jp%2Fentry%2F2023%2F06%2F08%2F130031&quot; title=&quot;ベクトル探索を使ったChatBot #LangChain #Guidance #llm #ChatGPT - GameWith Developer Blog&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-ak.f.st-hatena.com/images/fotolife/g/gamewith-tech/20231016/20231016104119.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-08 13:00:31</published>
  <title>ベクトル探索を使ったChatBot #LangChain #Guidance #llm #ChatGPT</title>
  <type>rich</type>
  <url>https://tech.gamewith.co.jp/entry/2023/06/08/130031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
