<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gamelinks007</author_name>
  <author_url>https://blog.hatena.ne.jp/gamelinks007/</author_url>
  <blog_title>ゲームリンクスの徒然なる日常</blog_title>
  <blog_url>https://gamelinks007.hatenablog.com/</blog_url>
  <categories>
    <anon>Mastodon</anon>
    <anon>ChatGPT</anon>
  </categories>
  <description>はじめに 運営しているMastodonサーバーで前々からMastodonの使い方とかを自動で返信してくれるBotとか作れないかなと考えていたのがきっかけ。 で、Rubyでいい感じにOpenAIのAPIが実行できるライブラリを見つけたので実際に作ってみた感じです。 github.com 作ったもの github.com メンションで問い合わせされた内容を元に自動で返信するようにしている感じです。 Streaming APIを使う方法も考えたんですが、そもそもmastodon-apiがRuby 2.7以降に対応できていないですし、ドキュメントなどもあまりない状況だったので通知からメンションのみを取…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgamelinks007.hatenablog.com%2Fentry%2F2023%2F04%2F26%2F144611&quot; title=&quot;ChatGPT-3.5でMastodonの使い方とかの問い合わせを自動で返してくれるBotを作ってみた - ゲームリンクスの徒然なる日常&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/gamelinks007/20230426/20230426143946.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-26 14:46:11</published>
  <title>ChatGPT-3.5でMastodonの使い方とかの問い合わせを自動で返してくれるBotを作ってみた</title>
  <type>rich</type>
  <url>https://gamelinks007.hatenablog.com/entry/2023/04/26/144611</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
