<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wheatandcat</author_name>
  <author_url>https://blog.hatena.ne.jp/wheatandcat/</author_url>
  <blog_title>wheatandcatの開発ブログ</blog_title>
  <blog_url>https://www.wheatandcat.me/</blog_url>
  <categories>
  </categories>
  <description>概要 趣味で作成しているサービスでレビュー機能を実装する機会があった。 その際に初めて OpenAI の Moderation API を使ってみたが、思いのほか使い勝手が良いと感じたので紹介。 Moderation APIとは？ developers.openai.com OpenAI が提供する APIで、テキストまたは画像に対して危険・不適切な内容が含まれていないかを判定できる。 判定したい情報を渡すと、以下のようなレスポンスが返ってくる。 カテゴリーごとにフラグが立ち、どの分類で問題があるかが分かる。 ※以下の例では violence = true となっており、暴力的な内容が含まれて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.wheatandcat.me%2Fentry%2F2026%2F02%2F28%2F224221&quot; title=&quot;OpenAIのModeration APIは雑にレビューの書き込みのチェックが出来て良い - wheatandcatの開発ブログ&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-28 22:42:21</published>
  <title>OpenAIのModeration APIは雑にレビューの書き込みのチェックが出来て良い</title>
  <type>rich</type>
  <url>https://www.wheatandcat.me/entry/2026/02/28/224221</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
