<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y_nakata_codmon</author_name>
  <author_url>https://blog.hatena.ne.jp/y_nakata_codmon/</author_url>
  <blog_title>コドモン Product Team Blog</blog_title>
  <blog_url>https://tech.codmon.com/</blog_url>
  <categories>
    <anon>クラス設計</anon>
    <anon>Kotlin</anon>
  </categories>
  <description>はじめに DIP（依存関係逆転の原則） 生成AIを組み込んだアプリケーションにおける抽象と具象の例 抽象と具象を反映したクラス設計の例 機能: Generator 入出力: ImageSummaryGenerator 実現方針: GeneratorByAI 実現手段: OpenAIPromptBuilder 実装の詳細: ImageSummaryPromptBuilderV1 抽象と具象を反映した設計の効果 プロンプトの改善 生成AIプロバイダーの変更 生成AIを使わないようにする 生成の入出力の変更 他の生成タスクの作成 まとめ どこまで抽象化すべきか？ おわりに おまけ はじめに こんにち…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.codmon.com%2Fentry%2F2025%2F11%2F13%2F094158&quot; title=&quot;「抽象に依存する」クラス設計の具体例 - 生成AIを組み込んだアプリケーションを題材に - コドモン Product Team Blog&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/y/y_nakata_codmon/20251106/20251106135343.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-11-13 09:41:58</published>
  <title>「抽象に依存する」クラス設計の具体例 - 生成AIを組み込んだアプリケーションを題材に</title>
  <type>rich</type>
  <url>https://tech.codmon.com/entry/2025/11/13/094158</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
