{"id":189,"date":"2026-03-09T07:45:29","date_gmt":"2026-03-09T07:45:29","guid":{"rendered":"https:\/\/blog.rebalai.com\/ja\/2026\/03\/09\/ai-1-2\/"},"modified":"2026-03-09T22:00:17","modified_gmt":"2026-03-09T22:00:17","slug":"ai-1-2","status":"publish","type":"post","link":"https:\/\/blog.rebalai.com\/ja\/2026\/03\/09\/ai-1-2\/","title":{"rendered":"\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3AI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u69cb\u7bc9: 1\u4e07\u56de\u4ee5\u4e0a\u306e\u5b9f\u884c\u304b\u3089\u5b66\u3093\u3060\u6559\u8a13"},"content":{"rendered":"<p>\u53bb\u5e74\u306e10\u6708\u3001\u91d1\u66dc\u65e5\u306e\u5915\u65b9\u306b\u30c7\u30d7\u30ed\u30a4\u3092\u8d70\u3089\u305b\u305f\u3002\u5c0f\u3055\u306a\u5909\u66f4\u306e\u3064\u3082\u308a\u3060\u3063\u305f\u2014\u2014\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u4e00\u90e8\u3092\u6700\u9069\u5316\u3057\u3066\u3001\u30b3\u30b9\u30c8\u524a\u6e1b\u3092\u72d9\u3063\u305f\u4fee\u6b63\u3002\u7fcc\u671d\u8d77\u304d\u305f\u3089\u3001Slack\u306b30\u4ef6\u306e\u30a2\u30e9\u30fc\u30c8\u304c\u6765\u3066\u3044\u305f\u3002<\/p>\n<p>5\u4eba\u30c1\u30fc\u30e0\u3067\u4f5c\u3063\u3066\u3044\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5206\u985e\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u304c\u3001\u591c\u4e2d\u306e2\u6642\u9803\u304b\u3089\u9759\u304b\u306b\u58ca\u308c\u3066\u3044\u305f\u3002\u30a8\u30e9\u30fc\u30ec\u30fc\u30c8\u304c\u901a\u5e38\u306e0.3%\u304b\u308918%\u306b\u8df3\u306d\u4e0a\u304c\u3063\u3066\u3044\u305f\u306e\u306b\u3001\u8ab0\u3082\u6c17\u3065\u304b\u306a\u304b\u3063\u305f\u3002\u89b3\u6e2c\u53ef\u80fd\u6027\u304c\u307b\u307c\u30bc\u30ed\u3060\u3063\u305f\u304b\u3089\u3002<\/p>\n<p>\u3042\u306e\u7d4c\u9a13\u304c\u3001\u4eca\u56de\u66f8\u304f\u3053\u3068\u306e\u307b\u307c\u5168\u90e8\u3092\u6559\u3048\u3066\u304f\u308c\u305f\u3002<\/p>\n<hr \/>\n<h2>\u30ad\u30e5\u30fc\u306e\u80cc\u5727\u304c\u898b\u3048\u306a\u3044\u3068\u3001\u9759\u304b\u306b\u8a70\u307e\u308b<\/h2>\n<p>\u3046\u3061\u306e\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306f\u6700\u521d\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u69cb\u6210\u3060\u3063\u305f\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u2192 Celery\u30bf\u30b9\u30af\u304c\u30ad\u30e5\u30fc\u306b\u7a4d\u307e\u308c\u308b \u2192 \u30ef\u30fc\u30ab\u30fc\u304cLLM\u3092\u53e9\u304f \u2192 \u7d50\u679c\u3092DB\u306b\u4fdd\u5b58\u3002\u4ee5\u4e0a\u3002<\/p>\n<p>1\u65e5\u3042\u305f\u308a\u6570\u767e\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u3046\u3061\u306f\u666e\u901a\u306b\u52d5\u3044\u305f\u3002\u3067\u30821\u65e5\u6570\u5343\u306b\u306a\u3063\u305f\u3068\u304d\u3001\u554f\u984c\u304c\u51fa\u59cb\u3081\u305f\u3002LLM\u306eAPI\u30ec\u30fc\u30c8\u30ea\u30df\u30c3\u30c8\u306b\u5f53\u305f\u308b\u3068\u3001\u30bf\u30b9\u30af\u304c\u5931\u6557\u3057\u3066\u30ea\u30c8\u30e9\u30a4\u30ad\u30e5\u30fc\u306b\u7a4d\u307f\u76f4\u3055\u308c\u308b\u3002\u305d\u306e\u30ea\u30c8\u30e9\u30a4\u304c\u307e\u305f\u30ec\u30fc\u30c8\u30ea\u30df\u30c3\u30c8\u306b\u5f53\u305f\u308b\u3002\u6c17\u3065\u3044\u305f\u3089\u3001\u30ad\u30e5\u30fc\u304c\u81a8\u3089\u307f\u7d9a\u3051\u3066\u3001\u6b63\u5e38\u306a\u30ea\u30af\u30a8\u30b9\u30c8\u3082\u4e00\u7dd2\u306b\u8a70\u307e\u3063\u3066\u3044\u305f\u3002<\/p>\n<p>\u6700\u521d\u306e\u3046\u3061\u306f\u300c\u30ea\u30c8\u30e9\u30a4\u3059\u308c\u3070\u5927\u4e08\u592b\u300d\u3068\u3044\u3046\u8003\u3048\u304c\u7518\u304b\u3063\u305f\u3002\u6307\u6570\u30d0\u30c3\u30af\u30aa\u30d5\u306f\u5165\u308c\u3066\u3044\u305f\u3051\u3069\u3001jitter\u3092\u5165\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u3002\u5168\u30ef\u30fc\u30ab\u30fc\u304c\u540c\u6642\u306b\u540c\u3058\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u30ea\u30c8\u30e9\u30a4\u3059\u308b\u304b\u3089\u3001\u30d0\u30fc\u30b9\u30c8\u7684\u306bAPI\u3092\u53e9\u304d\u7d9a\u3051\u308b\u2014\u2014\u3044\u308f\u3086\u308bThunderingHerd\u306e\u554f\u984c\u3067\u3001\u81ea\u5206\u3067\u3084\u3089\u304b\u3059\u307e\u3067\u3061\u3083\u3093\u3068\u7406\u89e3\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>\u4fee\u6b63\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3001\u3067\u3082\u52b9\u679c\u306f\u5927\u304d\u304b\u3063\u305f:<\/p>\n<pre><code class=\"language-python\">import random\n\ndef exponential_backoff_with_jitter(\n    attempt: int,\n    base_delay: float = 1.0,\n    max_delay: float = 60.0\n) -&gt; float:\n    &quot;&quot;&quot;\n    Full jitter\u3092\u4f7f\u3063\u305f\u30d0\u30c3\u30af\u30aa\u30d5\u3002\n    AWS Architecture\u30d6\u30ed\u30b0\u63a8\u5968\u306e\u5b9f\u88c5\u306b\u8fd1\u3044\u5f62\u3002\n    attempt=0\u304b\u3089\u59cb\u3081\u308b\u60f3\u5b9a\u3002\n    &quot;&quot;&quot;\n    delay = min(base_delay * (2 ** attempt), max_delay)\n    # [0, delay] \u306e\u7bc4\u56f2\u3067\u30e9\u30f3\u30c0\u30e0\u306b\u5f85\u3064\u3053\u3068\u3067\u3001\u30ef\u30fc\u30ab\u30fc\u306e\u540c\u671f\u3092\u5d29\u3059\n    return random.uniform(0, delay)\n\n\n# Celery 5.3\u7cfb\u306e\u30bf\u30b9\u30af\u5b9a\u7fa9\u4f8b\n@celery_app.task(\n    bind=True,\n    max_retries=5,\n    autoretry_for=(RateLimitError, APITimeoutError),\n)\ndef classify_document(self, doc_id: str) -&gt; dict:\n    try:\n        result = call_llm(doc_id)\n        return result\n    except RateLimitError as exc:\n        # retry_jitter=True\u3060\u3051\u3060\u3068\u9ad8\u8ca0\u8377\u6642\u306b\u4e0d\u5341\u5206\u3060\u3063\u305f\u3002\u81ea\u524d\u5b9f\u88c5\u306e\u307b\u3046\u304c\u5b89\u5b9a\u3057\u305f\n        wait_time = exponential_backoff_with_jitter(self.request.retries)\n        raise self.retry(exc=exc, countdown=wait_time)\n<\/code><\/pre>\n<p>Celery 5.3\u7cfb\u306b\u306f<code>retry_jitter=True<\/code>\u3068\u3044\u3046\u7d44\u307f\u8fbc\u307f\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308b\u3093\u3060\u3051\u3069\u3001\u5b9f\u969b\u306b\u8a66\u3057\u305f\u3089\u6319\u52d5\u304c\u601d\u3063\u305f\u3088\u308a\u63a7\u3048\u3081\u3067\u3001\u9ad8\u8ca0\u8377\u6642\u306b\u306f\u81ea\u524d\u5b9f\u88c5\u306e\u307b\u3046\u304c\u5b89\u5b9a\u3057\u305f\u3002\u30de\u30a4\u30ec\u30fc\u30b8\u30fb\u30e1\u30a4\u30fb\u30d9\u30ea\u30fc\u3001\u3068\u3044\u3046\u3084\u3064\u3002<\/p>\n<p><strong>\u5b9f\u969b\u306e\u3068\u3053\u308d:<\/strong> \u30ad\u30e5\u30fc\u306e\u6df1\u3055\u3001\u30ef\u30fc\u30ab\u30fc\u3042\u305f\u308a\u306e\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3001\u30ea\u30c8\u30e9\u30a4\u7387\u306e3\u3064\u3092\u6700\u4f4e\u9650\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3057\u306a\u3044\u3068\u3001\u8a70\u307e\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u3065\u304f\u306e\u304c\u9045\u304f\u306a\u308b\u3002\u611f\u899a\u5024\u3067\u306f\u306a\u304f\u6570\u5b57\u3067\u898b\u308b\u7fd2\u6163\u3092\u3064\u3051\u308b\u3060\u3051\u3067\u3001\u304b\u306a\u308a\u5909\u308f\u308b\u3002<\/p>\n<hr \/>\n<h2>\u30c8\u30fc\u30af\u30f3\u6700\u9069\u5316: \u77ed\u304f\u3059\u308c\u3070\u3044\u3044\u3068\u3044\u3046\u308f\u3051\u3058\u3083\u306a\u304b\u3063\u305f<\/h2>\n<p>\u30b3\u30b9\u30c8\u524a\u6e1b\u306e\u8a71\u3092\u3059\u308b\u3068\u3001\u307f\u3093\u306a\u300c\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u77ed\u304f\u3057\u308d\u300d\u3067\u7d42\u308f\u308a\u306b\u3057\u304c\u3061\u3002\u78ba\u304b\u306b\u305d\u308c\u306f\u6b63\u3057\u3044\u3093\u3060\u3051\u3069\u3001\u50d5\u304c\u91d1\u66dc\u306b\u3084\u3089\u304b\u3057\u305f\u306e\u304c\u307e\u3055\u306b\u3053\u308c\u3067\u2014\u2014\u30d7\u30ed\u30f3\u30d7\u30c8\u306econtext\u90e8\u5206\u309250%\u524a\u6e1b\u3057\u305f\u3089\u3001\u5206\u985e\u7cbe\u5ea6\u304c83%\u304b\u308961%\u306b\u843d\u3061\u305f\u3002<\/p>\n<p>\u8a08\u6e2c\u3057\u3066\u3044\u305f\u304b\u3089\u308f\u304b\u3063\u305f\u8a71\u3067\u3001\u3082\u3057\u7cbe\u5ea6\u6307\u6a19\u3092\u8ffd\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u3089\u6c17\u3065\u304b\u306a\u304b\u3063\u305f\u3068\u601d\u3046\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u52b9\u679c\u304c\u3042\u3063\u305f\u306e\u306f\u3001\u5358\u7d14\u306b\u77ed\u304f\u3059\u308b\u3053\u3068\u3088\u308a\u3082<strong>\u69cb\u9020\u3092\u5909\u3048\u308b\u3053\u3068<\/strong>\u3060\u3063\u305f\u3002\u3046\u3061\u306e\u30b1\u30fc\u30b9\u3067\u306f:<\/p>\n<ul>\n<li>Few-shot\u30b5\u30f3\u30d7\u30eb\u309220\u500b\u304b\u30897\u500b\u306b\u6e1b\u3089\u3057\u305f\u304c\u3001\u8cea\u306e\u9ad8\u3044\u4f8b\u3060\u3051\u6b8b\u3057\u305f \u2192 \u7cbe\u5ea6\u307b\u307c\u5909\u308f\u3089\u305a\u3001\u30c8\u30fc\u30af\u30f3\u657030%\u524a\u6e1b<\/li>\n<li>\u30b7\u30b9\u30c6\u30e0\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u91cd\u8907\u8a18\u8ff0\u3092\u6574\u7406\u3057\u305f \u2192 \u5730\u5473\u3060\u3051\u306915%\u304f\u3089\u3044\u524a\u6e1b<\/li>\n<li>\u51fa\u529b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092JSON\u304b\u3089YAML\u306b\u5909\u3048\u3066\u307f\u305f \u2192 \u3053\u308c\u306f\u5931\u6557\u3002\u30d1\u30fc\u30b9\u6642\u306e\u30a8\u30e9\u30fc\u304c\u5897\u3048\u305f\u3002\u7d50\u5c40JSON\u623b\u3057\u305f<\/li>\n<\/ul>\n<p>Right, so \u2014 GPT-4o\u3068claude-sonnet-4-6\u3092\u540c\u3058\u30bf\u30b9\u30af\u3067\u6bd4\u8f03\u3057\u305f\u3068\u304d\u3001\u7279\u5b9a\u306e\u5206\u985e\u30ab\u30c6\u30b4\u30ea\u3060\u3068Sonnet\u306e\u307b\u3046\u304c\u660e\u3089\u304b\u306b\u82e6\u624b\u306a\u30d1\u30bf\u30fc\u30f3\u304c\u3042\u3063\u305f\u3002\u30e2\u30c7\u30eb\u306b\u3088\u3063\u3066\u5f97\u610f\u30fb\u4e0d\u5f97\u610f\u304c\u3042\u308b\u306e\u306f\u5f53\u305f\u308a\u524d\u3060\u3051\u3069\u3001\u5b9f\u969b\u306b\u81ea\u5206\u306e\u30c7\u30fc\u30bf\u3067\u8a08\u6e2c\u3059\u308b\u307e\u3067\u306f\u300c\u3069\u3063\u3061\u3082\u540c\u3058\u304f\u3089\u3044\u3067\u3057\u3087\u300d\u3068\u601d\u3063\u3066\u3044\u305f\u30021\u4e07\u56de\u901a\u3057\u3066\u307f\u308b\u3068\u3001\u305d\u3046\u3044\u3046\u5dee\u304c\u306f\u3063\u304d\u308a\u51fa\u3066\u304f\u308b\u3002<\/p>\n<p>\u30b3\u30b9\u30c8\u7684\u306b\u306f\u3001claude-haiku-4-5\u3092\u4f7f\u3048\u3070\u3055\u3089\u306b\u5b89\u304f\u306a\u308b\u3093\u3060\u3051\u3069\u3001\u3046\u3061\u306e\u30bf\u30b9\u30af\u3067\u306f\u7cbe\u5ea6\u304c\u8a31\u5bb9\u7bc4\u56f2\u3092\u4e0b\u56de\u3063\u305f\u30028\u5272\u306e\u30b1\u30fc\u30b9\u306fHaiku\u3067\u5341\u5206\u306a\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3067\u3082\u6b8b\u308a2\u5272\u304c\u30d3\u30b8\u30cd\u30b9\u7684\u306b\u91cd\u8981\u306a\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3060\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u4eca\u306e\u3068\u3053\u308dSonnet\u3067\u7d71\u4e00\u3057\u3066\u3044\u308b\u3002<\/p>\n<hr \/>\n<h2>\u89b3\u6e2c\u53ef\u80fd\u6027: \u5f8c\u304b\u3089\u5165\u308c\u3088\u3046\u3068\u3059\u308b\u3068\u672c\u5f53\u306b\u5730\u7344<\/h2>\n<p>\u6b63\u76f4\u306b\u8a00\u3046\u3068\u3001\u6700\u521d\u306f\u300c\u3068\u306b\u304b\u304f\u52d5\u304f\u3082\u306e\u3092\u4f5c\u3063\u3066\u304b\u3089\u3001\u5f8c\u3067\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u3092\u5165\u308c\u3088\u3046\u300d\u3068\u3044\u3046\u8003\u3048\u3067\u9032\u3081\u305f\u3002\u3088\u304f\u3042\u308b\u8a71\u3060\u3068\u601d\u3046\u3002<\/p>\n<p>\u3053\u308c\u304c\u4e00\u756a\u306e\u9593\u9055\u3044\u3060\u3063\u305f\u3002<\/p>\n<p>\u5f8c\u304b\u3089Logging\u30fbTracing\u30fbMetrics\u3092\u5165\u308c\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306e\u3042\u3061\u3053\u3061\u306b\u624b\u3092\u5165\u308c\u308b\u5fc5\u8981\u304c\u51fa\u3066\u304d\u3066\u3001\u30d0\u30b0\u3092\u4ed5\u8fbc\u3080\u30ea\u30b9\u30af\u3082\u4e0a\u304c\u308b\u3002\u8a2d\u8a08\u6bb5\u968e\u304b\u3089\u7d44\u307f\u8fbc\u3080\u307b\u3046\u304c\u3001\u30c8\u30fc\u30bf\u30eb\u306e\u30b3\u30b9\u30c8\u306f\u306f\u308b\u304b\u306b\u4f4e\u3044\u3002<\/p>\n<p>\u50d5\u304c\u3044\u307e\u4f7f\u3063\u3066\u3044\u308b\u30b9\u30bf\u30c3\u30af\u306f:<\/p>\n<ul>\n<li><strong>LangSmith<\/strong>: LLM\u306e\u5165\u51fa\u529b\u30c8\u30ec\u30fc\u30b7\u30f3\u30b0\u5c02\u7528\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3082\u5730\u5473\u306b\u4fbf\u5229<\/li>\n<li><strong>Prometheus + Grafana<\/strong>: \u30d3\u30b8\u30cd\u30b9\u30e1\u30c8\u30ea\u30af\u30b9\uff08\u5206\u985e\u7cbe\u5ea6\u3001\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3001\u30b3\u30b9\u30c8\/\u30ea\u30af\u30a8\u30b9\u30c8\uff09<\/li>\n<li><strong>Sentry<\/strong>: \u4f8b\u5916\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u3002\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u9577\u8d85\u904e\u3084\u4e0d\u6b63\u306a\u51fa\u529b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3082\u30ab\u30b9\u30bf\u30e0\u3067\u6355\u6349<\/li>\n<\/ul>\n<p>LangSmith\u306f\u6700\u521d\u300cLangChain\u4f7f\u3063\u3066\u3044\u306a\u3044\u3068\u610f\u5473\u306a\u3044\u306e\u3067\u306f\u300d\u3068\u601d\u3063\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001\u5b9f\u306f\u5358\u4f53\u3067\u3082\u4f7f\u3048\u3066\u3001\u30ab\u30b9\u30bf\u30e0\u306eOpenTelemetry\u30b9\u30d1\u30f3\u3092\u9001\u308c\u308b\u3002\u3053\u308c\u3092\u77e5\u308b\u306e\u304c\u534a\u5e74\u9045\u304b\u3063\u305f\u3002<\/p>\n<pre><code class=\"language-python\">from langsmith import traceable\nfrom langsmith.run_helpers import get_current_run_tree\n\n\n@traceable(name=&quot;classify_document&quot;, run_type=&quot;chain&quot;)\ndef classify_document_with_tracing(doc_id: str, content: str) -&gt; dict:\n    run_tree = get_current_run_tree()\n\n    # \u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u3066\u304a\u304f\u3068\u3001\u5f8c\u3067\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u30fb\u96c6\u8a08\u304c\u697d\u306b\u306a\u308b\n    if run_tree:\n        run_tree.add_metadata({\n            &quot;doc_id&quot;: doc_id,\n            &quot;content_length&quot;: len(content),\n            &quot;model&quot;: &quot;claude-sonnet-4-6&quot;,\n        })\n\n    result = call_llm(content)\n\n    # \u7cbe\u5ea6\u8a08\u6e2c\u7528\u306e\u4fe1\u983c\u30b9\u30b3\u30a2\u3082\u4e00\u7dd2\u306b\u8a18\u9332\u3057\u3066\u304a\u304f\n    if run_tree and result.get(&quot;confidence&quot;):\n        run_tree.add_metadata({&quot;confidence_score&quot;: result[&quot;confidence&quot;]})\n\n    return result\n<\/code><\/pre>\n<p>One thing I noticed: LangSmith\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u300c\u5931\u6557\u3057\u305f\u30c8\u30ec\u30fc\u30b9\u300d\u3092\u4e26\u3079\u3066\u773a\u3081\u308b\u3068\u3001\u5931\u6557\u30d1\u30bf\u30fc\u30f3\u304c\u76ee\u3067\u898b\u3048\u3066\u304f\u308b\u3002\u300c\u3053\u306e\u7a2e\u985e\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u6bce\u56de\u540c\u3058\u3068\u3053\u308d\u3067\u843d\u3061\u3066\u308b\u306a\u300d\u3068\u3044\u3046\u306e\u304c\u4e00\u76ee\u77ad\u7136\u3067\u3001\u3053\u308c\u304c\u306a\u304b\u3063\u305f\u3089\u30c7\u30d0\u30c3\u30b0\u306b\u4f55\u500d\u3082\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3044\u305f\u3068\u601d\u3046\u3002<\/p>\n<p>\u30b3\u30b9\u30c8\u306e\u8a71\u3092\u3059\u308b\u3068\u30011\u4e07\u30ea\u30af\u30a8\u30b9\u30c8\u3042\u305f\u308a\u306eLLM\u30b3\u30b9\u30c8\u3092\u8ffd\u3044\u7d9a\u3051\u308b\u3053\u3068\u3067\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u5909\u66f4\u306e\u5f71\u97ff\u304c\u6570\u5b57\u3067\u308f\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u611f\u899a\u3067\u3084\u3063\u3066\u3044\u305f\u3068\u304d\u3088\u308a\u3001\u610f\u601d\u6c7a\u5b9a\u306e\u30b9\u30d4\u30fc\u30c9\u304c\u5168\u7136\u9055\u3046\u3002<\/p>\n<hr \/>\n<h2>\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3068\u30b5\u30fc\u30ad\u30c3\u30c8\u30d6\u30ec\u30fc\u30ab\u30fc: \u4e00\u756a\u5f8c\u56de\u3057\u306b\u3057\u3066\u3057\u307e\u3063\u305f\u90e8\u5206<\/h2>\n<p>LLM\u306eAPI\u306f\u843d\u3061\u308b\u3002\u30ec\u30fc\u30c8\u30ea\u30df\u30c3\u30c8\u3082\u6765\u308b\u3002\u305f\u307e\u306b\u4fe1\u3058\u3089\u308c\u306a\u3044\u304f\u3089\u3044\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u9045\u304f\u306a\u308b\u3002\u3053\u308c\u5168\u90e8\u3001\u672c\u756a\u3067\u7d4c\u9a13\u3057\u305f\u3002<\/p>\n<p>\u30b5\u30fc\u30ad\u30c3\u30c8\u30d6\u30ec\u30fc\u30ab\u30fc\u3092\u5165\u308c\u308b\u524d\u306f\u3001API\u304c\u91cd\u304f\u306a\u3063\u305f\u3068\u304d\u306b\u30ef\u30fc\u30ab\u30fc\u304c\u5168\u90e8\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u5f85\u3061\u306b\u306a\u3063\u3066\u3001\u305d\u306e\u9593\u305a\u3063\u3068\u30ea\u30bd\u30fc\u30b9\u3092\u98df\u3044\u7d9a\u3051\u3066\u3044\u305f\u3002<code>pybreaker<\/code>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5165\u308c\u3066\u304b\u3089\u306f\u3001\u30a8\u30e9\u30fc\u7387\u304c\u95be\u5024\u3092\u8d85\u3048\u305f\u3089\u5373\u5ea7\u306b\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u306b\u5207\u308a\u66ff\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u2014\u2014\u8a2d\u5b9a\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u304c\u96e3\u3057\u304f\u3066\u3001\u6700\u521d\u306f\u8aa4\u691c\u77e5\u304c\u591a\u304b\u3063\u305f\u3051\u3069\u3002\u958b\u653e\u72b6\u614b\u306b\u5165\u308b\u95be\u5024\u3068\u56de\u5fa9\u5224\u5b9a\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u30d0\u30e9\u30f3\u30b9\u306f\u3001\u81ea\u5206\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30d1\u30bf\u30fc\u30f3\u306b\u5408\u308f\u305b\u305f\u8abf\u6574\u304c\u5fc5\u8981\u3067\u3001\u5b9f\u969b\u306e\u8ca0\u8377\u30c6\u30b9\u30c8\u3092\u3057\u306a\u3044\u3068\u9069\u5207\u306a\u5024\u304c\u51fa\u3066\u3053\u306a\u3044\u3002<\/p>\n<p>\u3046\u3061\u306e\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u306f\u300c\u30eb\u30fc\u30eb\u30d9\u30fc\u30b9\u306e\u7c21\u6613\u5206\u985e\u300d\u3067\u3001LLM\u307b\u3069\u7cbe\u5ea6\u306f\u9ad8\u304f\u306a\u3044\u3051\u3069\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u304c\u6b62\u307e\u308b\u3088\u308a\u306f\u5727\u5012\u7684\u306b\u3044\u3044\u3002B\u6848\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u306e\u5b89\u5fc3\u611f\u304c\u3001\u60f3\u50cf\u4ee5\u4e0a\u306b\u5927\u304d\u304b\u3063\u305f\u3002<\/p>\n<p>\u3042\u3068\u3001\u30e2\u30c7\u30eb\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u56fa\u5b9a\u306f\u3084\u3063\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u3002<code>claude-3-5-sonnet-latest<\/code>\u306e\u3088\u3046\u306a\u53ef\u5909\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u4f7f\u3063\u3066\u3044\u305f\u3089\u3001\u30e2\u30c7\u30eb\u304c\u66f4\u65b0\u3055\u308c\u305f\u969b\u306b\u6319\u52d5\u304c\u5909\u308f\u3063\u3066\u6c17\u3065\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u3002<code>claude-sonnet-4-6<\/code>\u306e\u3088\u3046\u306b\u660e\u793a\u7684\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u3001\u610f\u8b58\u7684\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u307b\u3046\u304c\u7cbe\u795e\u7684\u306b\u697d\u3060\u3057\u3001\u5909\u66f4\u306e\u5f71\u97ff\u3092\u3061\u3083\u3093\u3068\u8a08\u6e2c\u3067\u304d\u308b\u3002<\/p>\n<hr \/>\n<h2>\u7d50\u5c40\u3001\u4f55\u3092\u304a\u3059\u3059\u3081\u3059\u308b\u304b<\/h2>\n<p>\u8ff7\u3063\u3066\u3044\u308b\u4eba\u5411\u3051\u306b\u3001\u81ea\u5206\u304c\u4eca\u3084\u308a\u76f4\u3059\u3068\u3057\u305f\u3089\u4f55\u3092\u3059\u308b\u304b\u66f8\u3044\u3066\u304a\u304f\u3002<\/p>\n<p><strong>\u6700\u521d\u304b\u3089\u3084\u308b\u3053\u3068:<\/strong><\/p>\n<p>\u30ea\u30c8\u30e9\u30a4\u306b\u306ffull jitter\u3092\u5165\u308c\u308b\uff08\u3053\u308c\u3060\u3051\u3067\u5b89\u5b9a\u5ea6\u304c\u5168\u7136\u9055\u3046\uff09\u3002LLM\u306e\u5165\u51fa\u529b\u30c8\u30ec\u30fc\u30b7\u30f3\u30b0\u306f\u521d\u65e5\u304b\u3089\u5165\u308c\u308b\u3002LangSmith\u304bHoneyhive\u304b\u306f\u597d\u307f\u3067\u3044\u3044\u3002\u305d\u3057\u3066\u30b3\u30b9\u30c8\/\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8ffd\u3046\u4ed5\u7d44\u307f\u3092\u4f5c\u308b\u2014\u2014\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3067\u3082\u3044\u3044\u304b\u3089\u6570\u5b57\u306b\u3059\u308b\u3002<\/p>\n<p><strong>\u3042\u308b\u7a0b\u5ea6\u52d5\u3044\u3066\u304b\u3089\u8003\u3048\u308b\u3053\u3068:<\/strong><\/p>\n<p>\u30b5\u30fc\u30ad\u30c3\u30c8\u30d6\u30ec\u30fc\u30ab\u30fc\u3068\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u8a2d\u8a08\u3001\u30e2\u30c7\u30eb\u306e\u7cbe\u5ea6\u8a08\u6e2c\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\uff08\u30b4\u30fc\u30eb\u30c7\u30f3\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u5b9a\u671f\u8a55\u4fa1\uff09\u3001\u3042\u3068\u30d0\u30c3\u30c1\u51e6\u7406\u3067\u304d\u308b\u30bf\u30b9\u30af\u306f\u30d0\u30c3\u30c1\u306b\u5bc4\u305b\u308b\u3053\u3068\u3002Anthropic Batches API\u306f\u30b3\u30b9\u30c8\u524a\u6e1b\u306b\u52b9\u304f\u3002\u3046\u3061\u3067\u306f\u975e\u540c\u671f\u30bf\u30b9\u30af\u306e\u7d0440%\u3092\u30d0\u30c3\u30c1\u306b\u79fb\u884c\u3057\u3066\u3001LLM\u30b3\u30b9\u30c8\u304c\u6708\u3042\u305f\u308a\u7d0423%\u843d\u3061\u305f\u3002<\/p>\n<p><strong>\u6b63\u76f4\u307e\u3060\u81ea\u4fe1\u304c\u306a\u3044\u3053\u3068:<\/strong><\/p>\n<p>\u6570\u5341\u4e07\u30ea\u30af\u30a8\u30b9\u30c8\/\u65e5\u306e\u30b9\u30b1\u30fc\u30eb\u3067\u3053\u306e\u8a2d\u8a08\u304c\u901a\u7528\u3059\u308b\u304b\u3001\u50d5\u306b\u306f\u691c\u8a3c\u3067\u304d\u3066\u3044\u306a\u3044\u3002\u30de\u30eb\u30c1\u30e2\u30fc\u30c0\u30eb\u5165\u529b\u304c\u6df7\u3058\u3063\u305f\u3068\u304d\u306e\u30b3\u30b9\u30c8\u4e88\u6e2c\u7cbe\u5ea6\u3082\u3001\u307e\u3060\u611f\u899a\u5024\u306e\u57df\u3092\u51fa\u3066\u3044\u306a\u3044\u3002<\/p>\n<p>Anyway \u2014 AI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u300c\u672c\u756a\u300d\u306f\u3001\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u3068\u306f\u5168\u304f\u5225\u306e\u554f\u984c\u304c\u51fa\u3066\u304f\u308b\u3002LLM\u3092\u547c\u3076\u3053\u3068\u81ea\u4f53\u306f\u7c21\u5358\u306b\u306a\u3063\u305f\u3002\u96e3\u3057\u3044\u306e\u306f\u3001\u305d\u308c\u3092\u7d99\u7d9a\u7684\u306b\u5b89\u5b9a\u3055\u305b\u306a\u304c\u3089\u3001\u30b3\u30b9\u30c8\u3068\u54c1\u8cea\u306e\u30d0\u30e9\u30f3\u30b9\u3092\u4fdd\u3061\u7d9a\u3051\u308b\u3053\u3068\u3002<\/p>\n<p>1\u4e07\u56de\u52d5\u304b\u3057\u3066\u6c17\u3065\u3044\u305f\u306e\u306f\u3001\u7d50\u5c40\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u306e\u57fa\u672c\u304c\u305d\u306e\u307e\u307e\u901a\u7528\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3002\u89b3\u6e2c\u53ef\u80fd\u6027\u3001\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3001\u30c6\u30b9\u30c8\u3001\u6bb5\u968e\u7684\u306a\u30c7\u30d7\u30ed\u30a4\u2014\u2014\u65b0\u3057\u3044\u6280\u8853\u306b\u898b\u3048\u3066\u3082\u3001\u554f\u984c\u306e\u672c\u8cea\u306f\u5909\u308f\u3089\u306a\u3044\u3002\u91d1\u66dc\u306e\u30c7\u30d7\u30ed\u30a4\u306f\u4eca\u3067\u3082\u3061\u3087\u3063\u3068\u6016\u3044\u3002\u3067\u3082\u6016\u3055\u304c\u9069\u5207\u306a\u30c1\u30a7\u30c3\u30af\u3092\u751f\u3080\u3001\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u60aa\u304f\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p><!-- Reviewed: 2026-03-06 | Status: ready_to_publish | Changes: fixed \"Thunderbird Herd\" \u2192 \"ThunderingHerd\" (factual correction) --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53bb\u5e74\u306e10\u6708\u3001\u91d1\u66dc\u65e5\u306e\u5915\u65b9\u306b\u30c7\u30d7\u30ed\u30a4\u3092\u8d70\u3089\u305b\u305f\u3002\u5c0f\u3055\u306a\u5909\u66f4\u306e\u3064\u3082\u308a\u3060\u3063\u305f\u2014\u2014\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u4e00\u90e8\u3092\u6700\u9069\u5316\u3057\u3066\u3001\u30b3\u30b9\u30c8\u524a\u6e1b\u3092\u72d9\u3063\u305f\u4fee\u6b63\u3002\u7fcc\u671d\u8d77\u304d\u305f\u3089\u3001Slack\u306b30\u4ef6\u306e\u30a2\u30e9\u30fc\u30c8\u304c\u6765\u3066\u3044\u305f\u3002 5\u4eba\u30c1\u30fc\u30e0\u3067\u4f5c\u3063\u3066\u3044\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5206\u985e\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u304c\u3001\u591c\u4e2d\u306e2\u6642\u9803\u304b\u3089\u9759\u304b\u306b\u58ca\u308c\u3066\u3044\u305f\u3002\u30a8\u30e9\u30fc\u30ec\u30fc\u30c8\u304c\u901a\u5e38\u306e0.3%\u304b\u308918<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-189","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":1,"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"predecessor-version":[{"id":224,"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/posts\/189\/revisions\/224"}],"wp:attachment":[{"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rebalai.com\/ja\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}