<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bwgift</author_name>
  <author_url>https://blog.hatena.ne.jp/bwgift/</author_url>
  <blog_title>地平線まで行ってくる。</blog_title>
  <blog_url>https://bwgift.hatenadiary.jp/</blog_url>
  <categories>
    <anon>BERT</anon>
    <anon>LLM</anon>
    <anon>Python</anon>
    <anon>自然言語処理</anon>
  </categories>
  <description>日本語APIで軽量さと精度のバランスが良く、prefix含み8k tokensを入力できるruri-v3は、embeddingモデルととても便利に使っています。modernBERTベースでSentencepiceをトークナイザーとして用いています。大変便利なので、embedding APIサーバーを作ってみました。今回は、利用目的から負荷テストまで行いました。なお、LAN内とかdocker network内での利用レベルを想定しています。 とりえず作って負荷テストをすると0.01～0.1%程度の頻度でエラーがでます。ざっくり使うだけならば問題ないレベルかもしれませんが、今回は追究します。Jul…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbwgift.hatenadiary.jp%2Fentry%2F2026%2F02%2F19%2F231432&quot; title=&quot;Dify用にruri-v3を使ってOpen AI互換 embedding APIサーバーを作ってみる。 - 地平線まで行ってくる。&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-19 23:14:32</published>
  <title>Dify用にruri-v3を使ってOpen AI互換 embedding APIサーバーを作ってみる。</title>
  <type>rich</type>
  <url>https://bwgift.hatenadiary.jp/entry/2026/02/19/231432</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
