<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiroendore</author_name>
  <author_url>https://blog.hatena.ne.jp/hiroendore/</author_url>
  <blog_title>Legalscapeテックブログ</blog_title>
  <blog_url>https://tech.legalscape.co.jp/</blog_url>
  <categories>
    <anon>LLM</anon>
    <anon>AI</anon>
    <anon>バックエンド</anon>
  </categories>
  <description>3行でまとめる Azure OpenAIとGeminiでは、コンテンツフィルターの挙動が異なり、エラーハンドリングの実装方法も変わってくる Azure OpenAIは400エラーで明確にブロックする場合と200で一部ブロックする場合があり、Geminiは200レスポンスでブロック理由を返すか、通常の回答の中でやんわりと断る返答をすることが多い LLMを活用したアプリケーション開発では、各プロバイダーのフィルターポリシーを理解し、適切なハンドリングを設計することが重要 はじめに こんにちは。Legalscapeのソフトウェアエンジニアの遠藤です。 弊社では法律情報を扱うLLMを活用したアプリケー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.legalscape.co.jp%2Fentry%2F2025%2F11%2F06%2F141354&quot; title=&quot;LLMのコンテンツフィルターについて - Legalscapeテックブログ&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>2025-11-06 14:13:54</published>
  <title>LLMのコンテンツフィルターについて</title>
  <type>rich</type>
  <url>https://tech.legalscape.co.jp/entry/2025/11/06/141354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
