<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>teal_green</author_name>
  <author_url>https://blog.hatena.ne.jp/teal_green/</author_url>
  <blog_title>MNTSQ Techブログ</blog_title>
  <blog_url>https://tech.mntsq.co.jp/</blog_url>
  <categories>
    <anon>生成AI</anon>
    <anon>LLM</anon>
  </categories>
  <description>こんにちは、MNTSQ（モンテスキュー）でアルゴリズムエンジニアをしている清水です。 MNTSQは契約書を解析・管理・検索するプロダクトを提供しています。これらのプロダクトには大規模言語モデル（以下LLM）が搭載された機能が実装されています。また、LLMを活用した新プロダクトも鋭意開発中です。 LLMをアプリケーションに組み込む際の大きな課題の一つとして、「LLMの出力形式（型）を如何に矯正するか？」が挙げられます。単純なチャットアプリケーションであればそこまで問題にはなりませんが、LLMによる生成結果を後続のプログラムで処理する必要がある場合、事前に定義された型に従って出力を生成する必要があ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.mntsq.co.jp%2Fentry%2F2025%2F07%2F15%2F172532&quot; title=&quot;GeminiのStructured outputでレスポンスの型を矯正するためのTips 7選 - MNTSQ Techブログ&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/t/teal_green/20250714/20250714195651.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-15 17:25:32</published>
  <title>GeminiのStructured outputでレスポンスの型を矯正するためのTips 7選</title>
  <type>rich</type>
  <url>https://tech.mntsq.co.jp/entry/2025/07/15/172532</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
