{"id":57572,"date":"2026-09-24T13:05:46","date_gmt":"2026-09-24T04:05:46","guid":{"rendered":"https:\/\/overcentral.com\/ja\/?p=57572"},"modified":"2026-09-24T13:05:46","modified_gmt":"2026-09-24T04:05:46","slug":"typesafe-ai-jev-guide-57572","status":"publish","type":"post","link":"https:\/\/overcentral.com\/ja\/typesafe-ai-jev-guide-57572\/","title":{"rendered":"TypeSafe AI Jev\u5b8c\u5168\u30ac\u30a4\u30c9\uff1a\u578b\u5b89\u5168\u306a\u610f\u601d\u6c7a\u5b9a\u306e\u5b9f\u88c5\u624b\u9806"},"content":{"rendered":"<p>TypeSafe AI\u304c\u63d0\u4f9b\u3059\u308b\u300cJev\u300d\u306f\u3001\u5f93\u6765\u306eLLM\uff08\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff09\u3068\u306f\u4e00\u7dda\u3092\u753b\u3059\u3001\u6587\u7ae0\u3092\u4e00\u5207\u751f\u6210\u3057\u306a\u3044\u300cSystem One\u300d\u30e2\u30c7\u30eb\u3067\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306e\u4ee3\u308f\u308a\u306b\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u72b6\u614b\uff08state\uff09\u3068\u578b\u4ed8\u304d\u306e\u8cea\u554f\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u304c\u76f4\u63a5\u5206\u5c90\u3067\u304d\u308b\u9078\u629e\u80a2\u3001\u30b9\u30b3\u30a2\u3001Yes\/No\u306e\u78ba\u7387\u3092\u8fd4\u3057\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u578b\u5b89\u5168\u306a\u610f\u601d\u6c7a\u5b9a\u30b7\u30b9\u30c6\u30e0\u306e\u5b9f\u88c5\u624b\u9806\u3092\u3001\u516c\u5f0fPython SDK\u306e\u57fa\u672c\u64cd\u4f5c\u304b\u3089\u672c\u756a\u904b\u7528\u3092\u898b\u636e\u3048\u305f\u9ad8\u5ea6\u306a\u30d1\u30bf\u30fc\u30f3\u307e\u3067\u3001\u30b3\u30fc\u30c9\u4f8b\u3092\u4ea4\u3048\u306a\u304c\u3089\u5fb9\u5e95\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>Jev\u3068\u306f\u4f55\u304b\uff1a\u30c6\u30ad\u30b9\u30c8\u3092\u751f\u6210\u3057\u306a\u3044\u65b0\u3057\u3044\u610f\u601d\u6c7a\u5b9a\u30e2\u30c7\u30eb<\/h2>\n<p>Jev\u306f\u3001TypeSafe AI\u304c\u958b\u767a\u3057\u305f\u6700\u521d\u306eSystem One\u30e2\u30c7\u30eb\u3067\u3059\u3002\u5f93\u6765\u306eLLM\u304c\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5bfe\u3059\u308b\u81ea\u7136\u8a00\u8a9e\u306e\u5fdc\u7b54\u3092\u751f\u6210\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001Jev\u306f\u5165\u529b\u3055\u308c\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u72b6\u614b\u3068\u578b\u4ed8\u304d\u306e\u8cea\u554f\u7fa4\u306b\u5bfe\u3057\u3066\u3001<strong>\u9078\u629e\u80a2\uff08Choice\uff09<\/strong>\u3001<strong>\u30b9\u30b3\u30a2\uff08Score\uff09<\/strong>\u3001<strong>Yes\/No\u78ba\u7387\uff08Noul\uff09<\/strong>\u3068\u3044\u30463\u7a2e\u985e\u306e\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u306a\u7b54\u3048\u3060\u3051\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u51fa\u529b\u3092\u30d1\u30fc\u30b9\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u3001\u578b\u5b89\u5168\u306a\u5f62\u3067\u305d\u306e\u307e\u307e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30ed\u30b8\u30c3\u30af\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>Jev\u306e\u6700\u5927\u306e\u7279\u5fb4\u306f\u3001\u305d\u306e\u5fdc\u7b54\u304c\u5e38\u306b\u78ba\u7387\u5206\u5e03\u3092\u4f34\u3046\u3053\u3068\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30ab\u30b9\u30bf\u30de\u30fc\u30b5\u30dd\u30fc\u30c8\u306e\u30c1\u30b1\u30c3\u30c8\u3092\u300c\u8acb\u6c42\u300d\u300c\u6280\u8853\u300d\u300c\u55b6\u696d\u300d\u306e\u3044\u305a\u308c\u304b\u306b\u5206\u985e\u3059\u308b\u5834\u5408\u3001\u5358\u306b\u300c\u8acb\u6c42\u300d\u3068\u3044\u3046\u30e9\u30d9\u30eb\u3092\u8fd4\u3059\u3060\u3051\u3067\u306a\u304f\u3001\u5404\u30e9\u30d9\u30eb\u306e\u78ba\u7387\uff08\u4f8b\uff1a\u8acb\u6c42=0.95\u3001\u6280\u8853=0.03\u3001\u55b6\u696d=0.02\uff09\u3068\u4fe1\u983c\u5ea6\u30b9\u30b3\u30a2\u304c\u8fd4\u5374\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u60c5\u5831\u3092\u6d3b\u7528\u3059\u308c\u3070\u3001\u78ba\u4fe1\u5ea6\u304c\u4f4e\u3044\u5834\u5408\u306e\u307f\u4eba\u9593\u306e\u30aa\u30da\u30ec\u30fc\u30bf\u30fc\u306b\u30a8\u30b9\u30ab\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u3068\u3044\u3063\u305f\u3001\u30ea\u30b9\u30af\u306b\u5fdc\u3058\u305f\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u6587\u7ae0\u751f\u6210\u3092\u884c\u308f\u306a\u3044\u305f\u3081\u3001\u30cf\u30eb\u30b7\u30cd\u30fc\u30b7\u30e7\u30f3\uff08\u5e7b\u899a\uff09\u306e\u30ea\u30b9\u30af\u304c\u69cb\u9020\u7684\u306b\u4f4e\u304f\u3001\u6c7a\u5b9a\u8ad6\u7684\u306a\u52d5\u4f5c\u304c\u8981\u6c42\u3055\u308c\u308b\u696d\u52d9\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u89aa\u548c\u6027\u304c\u975e\u5e38\u306b\u9ad8\u3044\u8a2d\u8a08\u3067\u3059\u3002<\/p>\n<h2>\u57fa\u672c\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\uff1aSDK\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068API\u30ad\u30fc\u7ba1\u7406<\/h2>\n<p>\u307e\u305a\u306f\u516c\u5f0fPython SDK\u3067\u3042\u308b<strong>typesafe-sdk<\/strong>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u30d0\u30fc\u30b8\u30e7\u30f30.7.0\u306b\u56fa\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u74b0\u5883\u5909\u6570<code>TYPESAFE_API_KEY<\/code>code\u304b\u3089API\u30ad\u30fc\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<p>API\u30ad\u30fc\u306e\u7ba1\u7406\u65b9\u6cd5\u306f\u3001\u74b0\u5883\u5909\u6570\u3001<a href=\"https:\/\/www.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-iacss-external=\"1\">Google<\/a> Colab\u306e\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30bf\u30d6\u3001\u307e\u305f\u306f\u5bfe\u8a71\u7684\u306a\u5165\u529b\u30d7\u30ed\u30f3\u30d7\u30c8\u306e3\u3064\u304b\u3089\u9078\u629e\u3067\u304d\u307e\u3059\u3002\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u4e0a\u306b\u30ad\u30fc\u304c\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u306a\u3044\u3088\u3046\u3001<code>getpass<\/code>code\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5229\u7528\u3057\u305f\u96a0\u853d\u5165\u529b\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f<code>TypeSafeClient()<\/code>code\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3059\u308b\u3060\u3051\u3067\u3001\u74b0\u5883\u5909\u6570\u304b\u3089\u81ea\u52d5\u7684\u306b\u30ad\u30fc\u3092\u8aad\u307f\u53d6\u308a\u3001\u30e2\u30c7\u30eb\u306e\u30a8\u30a4\u30ea\u30a2\u30b9<code>jev-latest<\/code>code\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002\u307e\u305f\u3001SDK\u306b\u306f\u8907\u6570\u306e\u30e2\u30c7\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u30ad\u30fc\u306b\u7d10\u3065\u304f\u5229\u7528\u53ef\u80fd\u306a\u30e2\u30c7\u30eb\u540d\u3068\u30ea\u30ea\u30fc\u30b9\u65e5\u3092\u4e00\u89a7\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>3\u3064\u306e\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\uff1aChoice\u3001Score\u3001Noul\u306e\u4f7f\u3044\u5206\u3051<\/h2>\n<p>Jev\u306eAPI\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3001\u5206\u6790\u5bfe\u8c61\u306e\u300c\u72b6\u614b\u300d\u3068\u3001\u8f9e\u66f8\u5f62\u5f0f\u3067\u6e21\u3059\u300c\u8cea\u554f\u7fa4\u300d\u3068\u3044\u30462\u3064\u306e\u8981\u7d20\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002\u8cea\u554f\u306f\u305d\u308c\u305e\u308c\u540d\u524d\u3092\u6301\u3061\u307e\u3059\u304c\u3001\u3053\u306e\u540d\u524d\u306f\u30e2\u30c7\u30eb\u306b\u9001\u4fe1\u3055\u308c\u306a\u3044\u8a2d\u8a08\u3067\u3059\u3002\u305d\u306e\u4ee3\u308f\u308a\u3001\u5404\u8cea\u554f\u306b\u306f\u547d\u4ee4\u6587\uff08instructions\uff09\u3068\u8a55\u4fa1\u57fa\u6e96\uff08criteria\uff09\u3092\u8a73\u7d30\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u30e2\u30c7\u30eb\u306b\u610f\u56f3\u3092\u6b63\u78ba\u306b\u4f1d\u3048\u307e\u3059\u3002<\/p>\n<h3>Choice\uff1a\u30ab\u30c6\u30b4\u30ea\u5206\u985e\u306e\u6c7a\u5b9a\u7248<\/h3>\n<p>\u7b2c\u4e00\u306e\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u3067\u3042\u308b<strong>Choice<\/strong>\u306f\u3001\u5b9a\u7fa9\u3057\u305f\u30e9\u30d9\u30eb\u7fa4\u304b\u3089\u6700\u9069\u306a\u3082\u306e\u3092\u9078\u629e\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30ab\u30b9\u30bf\u30de\u30fc\u30b5\u30dd\u30fc\u30c8\u306e\u30c1\u30b1\u30c3\u30c8\u3092\u300c\u8acb\u6c42\u300d\u300c\u6280\u8853\u300d\u300c\u55b6\u696d\u300d\u306e\u3044\u305a\u308c\u304b\u306b\u5206\u985e\u3059\u308b\u5834\u5408\u3001\u5404\u30e9\u30d9\u30eb\u306b\u8aac\u660e\u6587\u3092\u4ed8\u4e0e\u3057\u3066Criteria\u3068\u3057\u3066\u6e21\u3057\u307e\u3059\u3002\u5fdc\u7b54\u306b\u306f\u9078\u629e\u3055\u308c\u305f\u30e9\u30d9\u30eb\u306b\u52a0\u3048\u3066\u3001\u5168\u30e9\u30d9\u30eb\u306e\u78ba\u7387\u5206\u5e03\u3068\u4fe1\u983c\u5ea6\uff08confidence\uff09\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<h3>Score\uff1a\u6bb5\u968e\u7684\u306a\u8a55\u4fa1\u306e\u5b9f\u73fe<\/h3>\n<p>\u7b2c\u4e8c\u306e<strong>Score<\/strong>\u306f\u3001\u72b6\u614b\u3092\u9806\u5e8f\u4ed8\u304d\u306e\u30eb\u30fc\u30d6\u30ea\u30c3\u30af\uff08\u8a55\u4fa1\u57fa\u6e96\u8868\uff09\u306b\u5f53\u3066\u306f\u3081\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u30020\u304b\u3089\u59cb\u307e\u308b\u5404\u30ec\u30d9\u30eb\u306b\u8aac\u660e\u6587\u3092\u5b9a\u7fa9\u3057\u3001\u30e2\u30c7\u30eb\u306f\u78ba\u7387\u52a0\u91cd\u5e73\u5747\u3092\u8a08\u7b97\u3057\u3066\u30b9\u30b3\u30a2\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u306b\u3088\u308a\u3001\u30b9\u30b3\u30a2\u304c\u6574\u6570\u3060\u3051\u3067\u306a\u304f\u3001\u305f\u3068\u3048\u30702.7\u306e\u3088\u3046\u306a\u4e2d\u9593\u5024\u306b\u306a\u308b\u3053\u3068\u3082\u3042\u308a\u3001\u30cb\u30e5\u30a2\u30f3\u30b9\u306e\u3042\u308b\u8a55\u4fa1\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>Noul\uff1a\u78ba\u7387\u3092\u76f4\u63a5\u6271\u3046Yes\/No\u5224\u5b9a<\/h3>\n<p>\u7b2c\u4e09\u306e<strong>Noul<\/strong>\u306f\u3001\u7279\u5b9a\u306e\u547d\u984c\u304c\u771f\u3067\u3042\u308b\u78ba\u7387\u30920.0\u304b\u30891.0\u306e\u9593\u3067\u8fd4\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u300c\u9867\u5ba2\u304c\u8fd4\u91d1\u3092\u660e\u793a\u7684\u306b\u8981\u6c42\u3057\u3066\u3044\u308b\u300d\u3084\u300c\u30dd\u30ea\u30b7\u30fc\u304c\u3053\u306e\u72b6\u6cc1\u3092\u30ab\u30d0\u30fc\u3057\u3066\u3044\u308b\u300d\u3068\u3044\u3063\u305f\u5224\u5b9a\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002Noul\u306b\u306f\u4fe1\u983c\u5ea6\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u306a\u304f\u3001\u305d\u306e\u5024\u81ea\u4f53\u304cYes\u306e\u78ba\u7387\u3092\u610f\u5473\u3059\u308b\u305f\u3081\u30010.5\u306f\u300c\u672a\u6c7a\u5b9a\u300d\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u306f\u3001\u5358\u4e00\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u5185\u3067\u4e26\u5217\u304b\u3064\u72ec\u7acb\u306b\u8a55\u4fa1\u3055\u308c\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u3042\u308b\u8cea\u554f\u306e\u7b54\u3048\u304c\u4ed6\u306e\u8cea\u554f\u306e\u7d50\u679c\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u72ec\u7acb\u6027\u304c\u5f8c\u306e\u300c\u6295\u6a5f\u7684\u30d5\u30a1\u30f3\u30a2\u30a6\u30c8\u300d\u30d1\u30bf\u30fc\u30f3\u306e\u57fa\u76e4\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u72b6\u614b\u8a2d\u8a08\u306e\u91cd\u8981\u6027\uff1a\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u5f62\u72b6\u304c\u56de\u7b54\u3092\u5909\u3048\u308b<\/h2>\n<p>Jev\u306b\u3068\u3063\u3066\u3001\u5165\u529b\u3055\u308c\u308b\u300c\u72b6\u614b\u300d\u3053\u305d\u304c\u552f\u4e00\u306e\u77e5\u8b58\u6e90\u3067\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u540c\u3058\u8cea\u554f\u300c\u9867\u5ba2\u306f\u8fd4\u91d1\u8cc7\u683c\u304c\u3042\u308b\u304b\u300d\u3092\u3001\u2460\u6587\u5b57\u5217\u306e\u307f\u3001\u2461\u4f1a\u8a71\u306e\u914d\u5217\u3001\u2462\u30c1\u30b1\u30c3\u30c8\u30fb\u6ce8\u6587\u30fb\u30dd\u30ea\u30b7\u30fc\u3092\u542b\u3080JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3001\u3068\u3044\u30463\u3064\u306e\u7570\u306a\u308b\u5f62\u72b6\u306e\u72b6\u614b\u306b\u5bfe\u3057\u3066\u6295\u3052\u304b\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u7d50\u679c\u306f\u660e\u78ba\u3067\u3059\u3002\u8acb\u6c42\u30dd\u30ea\u30b7\u30fc\u3084\u6ce8\u6587\u5185\u5bb9\u3092\u542b\u3080\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5f62\u5f0f\u306e\u72b6\u614b\u304c\u6700\u3082\u9ad8\u3044\u78ba\u7387\u3067\u300c\u8fd4\u91d1\u8cc7\u683c\u3042\u308a\u300d\u3068\u5224\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30e2\u30c7\u30eb\u304c\u5224\u65ad\u306b\u5fc5\u8981\u306a\u60c5\u5831\u3092\u3059\u3079\u3066\u53d7\u3051\u53d6\u3063\u305f\u5834\u5408\u306b\u306e\u307f\u3001\u6b63\u78ba\u306a\u610f\u601d\u6c7a\u5b9a\u304c\u3067\u304d\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u578b\u4ed8\u304d\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u540d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u547d\u4ee4\u6587\u304c<code>ticket.messages[0].text<\/code>code\u306e\u3088\u3046\u306b\u30d0\u30c3\u30af\u30c6\u30a3\u30c3\u30af\u4ed8\u304d\u30d1\u30b9\u3067\u7279\u5b9a\u306e\u7b87\u6240\u3092\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u3088\u308a\u7cbe\u5bc6\u306a\u6307\u793a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u8907\u6570\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u6301\u3064\u5834\u5408\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u540d\u524d\u4ed8\u304d\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u4f7f\u7528\u304c\u5f37\u304f\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u4fe1\u983c\u5ea6\u8a08\u7b97\u306e\u6570\u5b66\u3068\u3001\u3042\u3044\u307e\u3044\u5165\u529b\u3078\u306e\u5fdc\u7b54<\/h2>\n<p>API\u304c\u8fd4\u3059\u4fe1\u983c\u5ea6\uff08confidence\uff09\u306f\u3001\u5b9f\u306f\u5fdc\u7b54\u306b\u542b\u307e\u308c\u308b\u78ba\u7387\u5206\u5e03\u304b\u3089\u518d\u8a08\u7b97\u53ef\u80fd\u306a\u7d71\u8a08\u91cf\u3067\u3059\u3002TypeSafe\u304c\u516c\u958b\u3059\u308b\u516c\u5f0f\u306e\u8a08\u7b97\u5f0f\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p><strong>\u4fe1\u983c\u5ea6 =\uff08\u9078\u629e\u80a2\u6570 \u00d7 \u6700\u5927\u78ba\u7387 \u2212 1\uff09\u00f7\uff08\u9078\u629e\u80a2\u6570 \u2212 1\uff09<\/strong><\/p>\n<p>\u305f\u3068\u3048\u3070\u30013\u3064\u306e\u9078\u629e\u80a2\u304c\u3042\u308bChoice\u3067\u30d4\u30fc\u30af\u78ba\u7387\u304c0.8\u306e\u5834\u5408\u3001\u4fe1\u983c\u5ea6\u306f\uff083 \u00d7 0.8 \u2212 1\uff09\u00f7\uff083 \u2212 1\uff09= 0.7\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8a08\u7b97\u5f0f\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u72ec\u81ea\u306e\u5206\u6790\u30b3\u30fc\u30c9\u5185\u3067\u4fe1\u983c\u5ea6\u3092\u518d\u73fe\u3067\u304d\u3001\u30c7\u30d0\u30c3\u30b0\u3084\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002\u540c\u69d8\u306b\u3001Score\u306e\u671f\u5f85\u5024\u306f\u5404\u30ec\u30d9\u30eb\u3068\u305d\u306e\u78ba\u7387\u306e\u7a4d\u306e\u5408\u8a08\u3068\u3057\u3066\u518d\u8a08\u7b97\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u660e\u78ba\u306b\u6012\u308a\u3092\u542b\u3080\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u3001\u610f\u56f3\u7684\u306b\u66d6\u6627\u306b\u3057\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u4e21\u65b9\u3092\u540c\u3058\u8cea\u554f\u306b\u901a\u3059\u3053\u3068\u3067\u3001\u4fe1\u983c\u5ea6\u306e\u632f\u308b\u821e\u3044\u3092\u6bd4\u8f03\u3057\u3066\u3044\u307e\u3059\u3002\u66d6\u6627\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u306f\u78ba\u7387\u5206\u5e03\u304c\u5e73\u5766\u306b\u306a\u308a\u3001\u7d50\u679c\u3068\u3057\u3066\u4fe1\u983c\u5ea6\u304c\u4f4e\u4e0b\u3057\u307e\u3059\u3002\u3053\u306e\u7279\u6027\u306f\u3001<strong>\u30b7\u30b9\u30c6\u30e0\u304c\u3042\u3044\u307e\u3044\u3055\u3092\u8a8d\u8b58\u3057\u3066\u4eba\u9593\u306b\u30a8\u30b9\u30ab\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b<\/strong>\u3068\u3044\u3046\u3001\u5b89\u5168\u306a\u904b\u7528\u8a2d\u8a08\u306e\u57fa\u790e\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u6295\u6a5f\u7684\u30d5\u30a1\u30f3\u30a2\u30a6\u30c8\uff1a10\u306e\u8cea\u554f\u30921\u56de\u306e\u547c\u3073\u51fa\u3057\u3067\u51e6\u7406\u3059\u308b<\/h2>\n<p>Jev\u306e\u8a2d\u8a08\u4e0a\u306e\u5927\u304d\u306a\u5229\u70b9\u306f\u3001\u8cea\u554f\u540c\u58eb\u304c\u4e92\u3044\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u306a\u3044\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u72ec\u7acb\u6027\u3092\u6d3b\u7528\u3059\u308b\u306e\u304c\u300c\u6295\u6a5f\u7684\u30d5\u30a1\u30f3\u30a2\u30a6\u30c8\u300d\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u5c06\u6765\u5fc5\u8981\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u8cea\u554f\u3092\u3001\u3042\u3089\u304b\u3058\u3081\u307e\u3068\u3081\u30661\u56de\u306eAPI\u547c\u3073\u51fa\u3057\u306b\u542b\u3081\u3001\u5f8c\u304b\u3089\u5fc5\u8981\u306a\u56de\u7b54\u3060\u3051\u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u30dd\u30b9\u30c8\u30e2\u30fc\u30c6\u30e0\uff08\u4e8b\u5f8c\u5206\u6790\u30ec\u30dd\u30fc\u30c8\uff09\u306b\u5bfe\u3057\u3066\u3001\u6839\u672c\u539f\u56e0\u3001\u691c\u77e5\u65b9\u6cd5\u3001\u91cd\u5927\u5ea6\u3001\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u54c1\u8cea\u306a\u3069\u306e10\u306e\u8cea\u554f\uff08Choice2\u3064\u3001Score2\u3064\u3001Noul6\u3064\uff09\u30921\u56de\u306e\u547c\u3073\u51fa\u3057\u3067\u5b9f\u884c\u3057\u3001\u305d\u306e\u5f8c\u3001\u540c\u3058\u8cea\u554f\u3092\u305d\u308c\u305e\u308c\u500b\u5225\u306e\u547c\u3073\u51fa\u3057\u3067\u5b9f\u884c\u3057\u3066\u6bd4\u8f03\u3057\u3066\u3044\u307e\u3059\u3002\u7d50\u679c\u306f\u30011\u56de\u306e\u30d0\u30c3\u30c1\u51e6\u7406\u306e\u65b9\u304c<strong>\u7d042.4\u500d\u9ad8\u901f<\/strong>\u3067\u3001\u5165\u529b\u30c8\u30fc\u30af\u30f3\u3082\u7d042.5\u500d\u5c11\u306a\u3044\u3068\u3044\u3046\u3082\u306e\u3067\u3057\u305f\u3002\u901f\u5ea6\u3068\u30b3\u30b9\u30c8\u306e\u5dee\u306f\u3001\u72b6\u614b\uff08\u30dd\u30b9\u30c8\u30e2\u30fc\u30c6\u30e0\u6587\u66f8\uff09\u30921\u56de\u3060\u3051\u9001\u4fe1\u3059\u308c\u3070\u3088\u3044\u70b9\u306b\u8d77\u56e0\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u91cd\u8981\u306a\u306e\u306f\u3001\u30d0\u30c3\u30c1\u51e6\u7406\u3068\u500b\u5225\u51e6\u7406\u3067\u56de\u7b54\u304c\u5b8c\u5168\u306b\u4e00\u81f4\u3057\u305f\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u8cea\u554f\u304c\u4e26\u5217\u306b\u8a55\u4fa1\u3055\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u8a2d\u8a08\u601d\u60f3\u3092\u5b9f\u8a3c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u4fe1\u983c\u5ea6\u30b2\u30fc\u30c8\u4ed8\u304d\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\uff1a\u30ea\u30b9\u30af\u306b\u5fdc\u3058\u3066\u5909\u308f\u308b\u3057\u304d\u3044\u5024<\/h2>\n<p>\u578b\u4ed8\u304d\u306e\u7b54\u3048\u306e\u771f\u4fa1\u306f\u3001\u305d\u306e\u5f8c\u306e\u30b3\u30fc\u30c9\u30ed\u30b8\u30c3\u30af\u306b\u3042\u308a\u307e\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u9280\u884c\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u306e\u30a4\u30f3\u30c6\u30f3\u30c8\u5206\u985e\u3092\u4f8b\u306b\u3001\u4fe1\u983c\u5ea6\u30b2\u30fc\u30c8\u4ed8\u304d\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u300c\u6b8b\u9ad8\u7167\u4f1a\u300d\u300c\u9001\u91d1\u627f\u8a8d\u300d\u300c\u8acb\u6c42\u7570\u8b70\u300d\u300c\u53e3\u5ea7\u89e3\u7d04\u300d\u300c\u305d\u306e\u4ed6\u300d\u306e5\u3064\u306e\u30a4\u30f3\u30c6\u30f3\u30c8\u306b\u5206\u985e\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u306f\u3001\u5404\u30a2\u30af\u30b7\u30e7\u30f3\u306b\u7570\u306a\u308b\u30ea\u30b9\u30af\u30ec\u30d9\u30eb\u3092\u8a2d\u5b9a\u3057\u3001\u81ea\u52d5\u5b9f\u884c\u306e\u305f\u3081\u306e\u4fe1\u983c\u5ea6\u3057\u304d\u3044\u5024\u3092\u5909\u5316\u3055\u305b\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<ul>\n<li><strong>\u6b8b\u9ad8\u7167\u4f1a<\/strong>\uff1a\u3057\u304d\u3044\u50240.50\uff08\u4f4e\u30ea\u30b9\u30af\uff09<\/li>\n<li><strong>\u8acb\u6c42\u7570\u8b70<\/strong>\uff1a\u3057\u304d\u3044\u50240.70<\/li>\n<li><strong>\u9001\u91d1\u627f\u8a8d<\/strong>\uff1a\u3057\u304d\u3044\u50240.85<\/li>\n<li><strong>\u53e3\u5ea7\u89e3\u7d04<\/strong>\uff1a\u3057\u304d\u3044\u50240.90\uff08\u9ad8\u30ea\u30b9\u30af\uff09<\/li>\n<\/ul>\n<p>\u300c\u305d\u306e\u4ed6\u300d\u306b\u5206\u985e\u3055\u308c\u305f\u5834\u5408\u3001\u307e\u305f\u306f\u4fe1\u983c\u5ea6\u304c0.50\u672a\u6e80\u306e\u5834\u5408\u306f\u3001\u5e38\u306b\u4eba\u9593\u306e\u30aa\u30da\u30ec\u30fc\u30bf\u30fc\u306b\u30a8\u30b9\u30ab\u30ec\u30fc\u30b7\u30e7\u30f3\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u8a8d\u8b58\u3055\u308c\u305f\u30a4\u30f3\u30c6\u30f3\u30c8\u3067\u3082\u4fe1\u983c\u5ea6\u304c\u3057\u304d\u3044\u5024\u306b\u9054\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u78ba\u8a8d\u3092\u6c42\u3081\u308b\u30d5\u30ed\u30fc\u306b\u79fb\u884c\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u3057\u304d\u3044\u5024\u306f\u30b3\u30fc\u30c9\u5185\u306b\u5e73\u6587\u3067\u5b58\u5728\u3059\u308b\u305f\u3081\u3001\u30ea\u30b9\u30af\u8a31\u5bb9\u5ea6\u306e\u5909\u66f4\u306f\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u66f8\u304d\u63db\u3048\u308b\u306e\u3067\u306f\u306a\u304f\u3001<strong>\u30b3\u30fc\u30c9\u30ec\u30d3\u30e5\u30fc\u3068\u30c6\u30b9\u30c8\u3092\u7d4c\u3066<\/strong>\u5b9f\u65bd\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u91d1\u878d\u3084\u533b\u7642\u306a\u3069\u898f\u5236\u306e\u53b3\u3057\u3044\u5206\u91ce\u3067\u6c7a\u5b9a\u7684\u306b\u91cd\u8981\u306a\u8a2d\u8a08\u601d\u60f3\u3067\u3059\u3002<\/p>\n<h2>\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\uff1a\u91cd\u307f\u4ed8\u3051\u30ed\u30b8\u30c3\u30af\u3092\u30b3\u30fc\u30c9\u3067\u4fdd\u6301\u3059\u308b<\/h2>\n<p>\u8907\u96d1\u306a\u8a55\u4fa1\uff08\u4eba\u6750\u63a1\u7528\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u512a\u5148\u9806\u4f4d\u4ed8\u3051\u306a\u3069\uff09\u306b\u306f\u3001\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\u304c\u6709\u52b9\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30e2\u30c7\u30eb\u306b\u306f\u5404\u6b21\u5143\u306e\u8a55\u4fa1\u306e\u307f\u3092\u4f9d\u983c\u3057\u3001\u6700\u7d42\u7684\u306a\u7dcf\u5408\u8a55\u4fa1\u306f\u30b3\u30fc\u30c9\u5074\u3067\u91cd\u307f\u4ed8\u3051\u8a08\u7b97\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u30014\u4eba\u306e\u5019\u88dc\u8005\u3092\u300cPython\u306e\u6df1\u3055\u300d\u300cML\u30b7\u30b9\u30c6\u30e0\u904b\u7528\u300d\u300c\u30ea\u30fc\u30c0\u30fc\u30b7\u30c3\u30d7\u300d\u300c\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u3068\u3044\u30464\u3064\u306e\u6b21\u5143\u3067\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\u3057\u3066\u3044\u307e\u3059\u3002\u5404\u6b21\u5143\u306f0\u304b\u30893\u307e\u3067\u306e4\u6bb5\u968e\u306e\u30eb\u30fc\u30d6\u30ea\u30c3\u30af\u3067\u8a55\u4fa1\u3055\u308c\u3001\u30b9\u30b3\u30a2\u3092\u6700\u5927\u30ec\u30d9\u30eb\u3067\u5272\u3063\u30660\u301c1\u306b\u6b63\u898f\u5316\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u300c\u30b7\u30cb\u30a2IC\uff08\u500b\u4eba\u8ca2\u732e\u8005\uff09\u300d\u3068\u300c\u30c1\u30fc\u30e0\u30ea\u30fc\u30c9\u300d\u3068\u3044\u30462\u3064\u306e\u5f79\u5272\u306b\u5bfe\u3057\u3066\u3001\u7570\u306a\u308b\u91cd\u307f\u30d9\u30af\u30c8\u30eb\u3092\u9069\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u5229\u70b9\u306f\u3001<strong>\u518d\u63a8\u8ad6\uff08API\u547c\u3073\u51fa\u3057\uff09\u306a\u3057\u3067\u30e9\u30f3\u30ad\u30f3\u30b0\u3092\u5909\u66f4\u3067\u304d\u308b<\/strong>\u3053\u3068\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u300c\u30c1\u30fc\u30e0\u30ea\u30fc\u30c9\u300d\u306e\u5f79\u5272\u3067\u306f\u300c\u30ea\u30fc\u30c0\u30fc\u30b7\u30c3\u30d7\u300d\u306e\u91cd\u307f\u304c0.45\u3068\u9ad8\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u5024\u306f\u30b3\u30fc\u30c9\u4e2d\u306e\u8f9e\u66f8\u3092\u5909\u66f4\u3059\u308b\u3060\u3051\u3067\u66f4\u65b0\u3067\u304d\u307e\u3059\u3002\u63a1\u7528\u57fa\u6e96\u304c\u5909\u308f\u3063\u3066\u3082\u3001\u30e2\u30c7\u30eb\u3078\u306e\u518d\u554f\u3044\u5408\u308f\u305b\u306f\u4e0d\u8981\u3067\u3059\u3002\u3055\u3089\u306b\u3001\u30b9\u30b3\u30a2\u306e\u6839\u62e0\u3092\u30c8\u30ec\u30fc\u30b9\u3067\u304d\u308b\u305f\u3081\u3001\u4eba\u4e8b\u90e8\u9580\u304c\u8a55\u4fa1\u306e\u7406\u7531\u3092\u8aac\u660e\u3059\u308b\u969b\u306b\u3082\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u578b\u4ed8\u304d\u95a2\u6570\u547c\u3073\u51fa\u3057\u3068\u3001Jev\u306b\u9069\u3057\u305f\u8a08\u6570\u65b9\u6cd5<\/h2>\n<p>\u81ea\u7136\u8a00\u8a9e\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30b7\u30b9\u30c6\u30e0\u306e\u95a2\u6570\u547c\u3073\u51fa\u3057\u306b\u5909\u63db\u3059\u308b\u306e\u3082\u3001Jev\u306e\u5f97\u610f\u5206\u91ce\u3067\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30b9\u30de\u30fc\u30c8\u30db\u30fc\u30e0\u306e\u5236\u5fa1\u30b3\u30de\u30f3\u30c9\u3092\u4f8b\u306b\u3001\u30c4\u30fc\u30eb\u306e\u9078\u629e\u3068\u5404\u5f15\u6570\u306e\u62bd\u51fa\u3092\u3059\u3079\u3066Choice\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u3067\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30c4\u30fc\u30eb\u9078\u629e<\/strong>\uff1a\u300cset_lights\u300d\u300cset_thermostat\u300d\u300cplay_music\u300d\u300cnone\u300d\u304b\u3089\u9078\u629e<\/li>\n<li><strong>\u30eb\u30fc\u30e0\u6307\u5b9a<\/strong>\uff1a\u300cliving_room\u300d\u300cbedroom\u300d\u306a\u3069\u304b\u3089\u9078\u629e<\/li>\n<li><strong>\u5404\u30c4\u30fc\u30eb\u306e\u5f15\u6570<\/strong>\uff1a\u30e9\u30a4\u30c8\u306e\u72b6\u614b\uff08on\/off\/dim\uff09\u3001\u6e29\u5ea6\u30e2\u30fc\u30c9\uff08heat\/cool\/eco\uff09\u3001\u97f3\u697d\u30b8\u30e3\u30f3\u30eb\uff08jazz\/classical\u306a\u3069\uff09\u3092\u500b\u5225\u306b\u9078\u629e<\/li>\n<\/ul>\n<p>\u3059\u3079\u3066\u306e\u5f15\u6570\u306f\u6295\u6a5f\u7684\u306b1\u56de\u306e\u547c\u3073\u51fa\u3057\u3067\u8cea\u554f\u3055\u308c\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306f\u9078\u629e\u3055\u308c\u305f\u30c4\u30fc\u30eb\u306b\u5c5e\u3059\u308b\u5f15\u6570\u306e\u307f\u3092\u8aad\u307f\u53d6\u308a\u3001\u8907\u6570\u306e\u5224\u65ad\u306e\u4e2d\u3067\u6700\u3082\u4f4e\u3044\u4fe1\u983c\u5ea6\u3092\u305d\u306e\u547c\u3073\u51fa\u3057\u5168\u4f53\u306e\u4fe1\u983c\u5ea6\u3068\u3057\u3066\u5831\u544a\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5404\u5f15\u6570\u304c\u4e8b\u524d\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u5217\u6319\u5024\u306b\u30d0\u30ea\u30c7\u30fc\u30c8\u3055\u308c\u305f\u4e0a\u3067\u3001\u901a\u5e38\u306ePython\u95a2\u6570\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3082\u3046\u4e00\u3064\u306e\u91cd\u8981\u306a\u30c6\u30af\u30cb\u30c3\u30af\u304c\u8a08\u6570\u65b9\u6cd5\u3067\u3059\u3002Jev\u306f\u5358\u4e00\u306e\u8cea\u554f\u5185\u3067\u6b63\u78ba\u306b\u6570\u3092\u6570\u3048\u308b\u306e\u304c\u82e6\u624b\u3068\u3044\u3046\u65e2\u77e5\u306e\u5236\u7d04\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001\u30ea\u30b9\u30c8\u5185\u306e\u5404\u30a2\u30a4\u30c6\u30e0\u306b\u5bfe\u3057\u30661\u3064\u305a\u3064Noul\u8cea\u554f\u3092\u751f\u6210\u3057\uff08\u4f8b\uff1a<code>item_0<\/code>code\u306f\u679c\u7269\u304b\uff1f\uff09\u3001\u305d\u306e\u78ba\u7387\u3092\u30b3\u30fc\u30c9\u5074\u3067\u5408\u8a08\u3059\u308b\u3053\u3068\u3067\u6b63\u78ba\u306a\u6570\u3092\u7b97\u51fa\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30e2\u30c7\u30eb\u306e\u4e0d\u5f97\u610f\u5206\u91ce\u3092API\u306e\u8a2d\u8a08\u601d\u60f3\u306b\u5408\u308f\u305b\u3066\u56de\u907f\u3059\u308b\u826f\u3044\u4f8b\u3067\u3059\u3002<\/p>\n<h2>\u672c\u756a\u904b\u7528\u306e\u305f\u3081\u306e\u5b9f\u88c5\u30d1\u30bf\u30fc\u30f3\uff1a\u975e\u540c\u671f\u51e6\u7406\u3068\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0<\/h2>\n<p>\u672c\u756a\u30b7\u30b9\u30c6\u30e0\u306b\u7d44\u307f\u8fbc\u3080\u969b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u8ffd\u52a0\u30d1\u30bf\u30fc\u30f3\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u4ee5\u4e0b\u306e4\u3064\u306e\u30dd\u30a4\u30f3\u30c8\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Pydantic\u306b\u3088\u308b\u578b\u4ed8\u304d\u30ec\u30b9\u30dd\u30f3\u30b9\u30e2\u30c7\u30eb<\/h3>\n<p><code>SystemOneResponse<\/code>code\u30af\u30e9\u30b9\u3092\u30b5\u30d6\u30af\u30e9\u30b9\u5316\u3057\u3001\u671f\u5f85\u3059\u308b\u56de\u7b54\u306e\u578b\uff08<code>ChoiceAnswer<\/code>code\u3001<code>ScoreAnswer<\/code>code\u3001<code>NoulAnswer<\/code>code\uff09\u3092\u5ba3\u8a00\u3059\u308b\u3053\u3068\u3067\u3001\u5fdc\u7b54\u3092\u8f9e\u66f8\u3067\u306f\u306a\u304f\u5c5e\u6027\u3068\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002Pydantic\u306b\u3088\u308b\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u304c\u884c\u308f\u308c\u308b\u305f\u3081\u3001\u30c7\u30fc\u30bf\u578b\u306e\u4e0d\u4e00\u81f4\u306f\u5373\u5ea7\u306b\u691c\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>asyncio\u306b\u3088\u308b\u4e26\u5217\u51e6\u7406<\/h3>\n<p>\u5404\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u72ec\u7acb\u3057\u3066\u3044\u308b\u305f\u3081\u3001<code>asyncio.gather<\/code>code\u3092\u4f7f\u7528\u3057\u3066\u8907\u6570\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u540c\u6642\u306b\u9001\u4fe1\u3067\u304d\u307e\u3059\u3002\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f12\u4ef6\u306e\u30c1\u30b1\u30c3\u30c8\u3092\u4e26\u5217\u51e6\u7406\u3057\u3001\u58c1\u6642\u8a08\u6642\u9593\u3092\u5927\u5e45\u306b\u77ed\u7e2e\u3057\u3066\u3044\u307e\u3059\u3002\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u74b0\u5883\u3067\u30a4\u30d9\u30f3\u30c8\u30eb\u30fc\u30d7\u304c\u65e2\u306b\u5b58\u5728\u3059\u308b\u5834\u5408\u306b\u5099\u3048\u305f<code>run_async<\/code>code\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3082\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30ea\u30c8\u30e9\u30a4\u30dd\u30ea\u30b7\u30fc<\/h3>\n<p><code>RetryPolicy<\/code>code\u30af\u30e9\u30b9\u3067\u3001\u6700\u5927\u30ea\u30c8\u30e9\u30a4\u56de\u6570\u3001\u30d0\u30c3\u30af\u30aa\u30d5\u306e\u521d\u671f\u5024\u3001\u6700\u5927\u5024\u3001\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4e00\u6642\u7684\u306aAPI\u30a8\u30e9\u30fc\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u969c\u5bb3\u304b\u3089\u306e\u56de\u5fa9\u304c\u81ea\u52d5\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u578b\u4ed8\u304d\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0<\/h3>\n<p>\u30a8\u30e9\u30fc\u3082\u578b\u4ed8\u3051\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u7a7a\u306e\u8cea\u554f\u30bb\u30c3\u30c8\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u305f\u5834\u5408\u306f\u3001API\u547c\u3073\u51fa\u3057\u524d\u306b<code>TypeSafeError<\/code>code\u3068\u3057\u3066\u691c\u51fa\u3055\u308c\u307e\u3059\u3002\u5b58\u5728\u3057\u306a\u3044\u30e2\u30c7\u30eb\u540d\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u3001HTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3092\u542b\u3080<code>TypeSafeAPIError<\/code>code\u304c\u30b9\u30ed\u30fc\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4f8b\u5916\u51e6\u7406\u304c\u660e\u78ba\u3067\u4e88\u6e2c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u904b\u7528\u30b3\u30b9\u30c8\u306e\u628a\u63e1\uff1a\u30c8\u30fc\u30af\u30f3\u53f0\u5e33\u306b\u3088\u308b\u53ef\u8996\u5316<\/h2>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5168API\u547c\u3073\u51fa\u3057\u306e\u30c8\u30fc\u30af\u30f3\u4f7f\u7528\u91cf\u3092\u53f0\u5e33\uff08Ledger\uff09\u306b\u8a18\u9332\u3057\u3001\u6700\u5f8c\u306b\u30b3\u30b9\u30c8\u3092\u96c6\u8a08\u3057\u3066\u3044\u307e\u3059\u3002Jev\u306e\u5165\u529b\u30c8\u30fc\u30af\u30f3\u4fa1\u683c\u306f100\u4e07\u30c8\u30fc\u30af\u30f3\u3042\u305f\u308a0.042\u30c9\u30eb\uff08\u51fa\u529b\u30c8\u30fc\u30af\u30f3\u306f\u7121\u6599\uff09\u3068\u3055\u308c\u3001\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u5168\u4f53\u306e\u30b3\u30b9\u30c8\u306f\u7d040.0005\u30c9\u30eb\u3068\u7b97\u51fa\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001Jev\u304c\u975e\u5e38\u306b\u4f4e\u30b3\u30b9\u30c8\u3067\u5927\u91cf\u306e\u610f\u601d\u6c7a\u5b9a\u3092\u51e6\u7406\u3067\u304d\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u304a\u308a\u3001\u30b3\u30b9\u30c8\u3092\u6c17\u306b\u305b\u305a\u306b\u6295\u6a5f\u7684\u30d5\u30a1\u30f3\u30a2\u30a6\u30c8\u30d1\u30bf\u30fc\u30f3\u3092\u5229\u7528\u3067\u304d\u308b\u5b9f\u7528\u7684\u306a\u5229\u70b9\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081\uff1aJev\u304c\u5207\u308a\u958b\u304f\u578b\u5b89\u5168\u306a\u610f\u601d\u6c7a\u5b9a\u306e\u672a\u6765<\/h2>\n<p>Jev\u306f\u3001LLM\u3092\u300c\u6587\u7ae0\u751f\u6210\u30c4\u30fc\u30eb\u300d\u3067\u306f\u306a\u304f\u300c\u578b\u4ed8\u304d\u5224\u65ad\u30a8\u30f3\u30b8\u30f3\u300d\u3068\u3057\u3066\u518d\u5b9a\u7fa9\u3057\u307e\u3059\u3002Choice\u3001Score\u3001Noul\u3068\u3044\u30463\u3064\u306e\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u306f\u3001\u78ba\u7387\u5206\u5e03\u3092\u4f34\u3046\u6c7a\u5b9a\u8ad6\u7684\u306a\u56de\u7b54\u3092\u8fd4\u3059\u305f\u3081\u3001\u30b3\u30fc\u30c9\u306f\u5e38\u306b\u691c\u8a3c\u6e08\u307f\u306e\u5024\u3067\u5206\u5c90\u3067\u304d\u307e\u3059\u3002\u4fe1\u983c\u5ea6\u30b2\u30fc\u30c8\u3001\u30b3\u30f3\u30dd\u30b8\u30c3\u30c8\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\u3001\u6295\u6a5f\u7684\u30d5\u30a1\u30f3\u30a2\u30a6\u30c8\u3068\u3044\u3063\u305f\u30d1\u30bf\u30fc\u30f3\u306f\u3001\u3044\u305a\u308c\u3082Jev\u306e\u8a2d\u8a08\u601d\u60f3\u3092\u6700\u5927\u9650\u306b\u6d3b\u7528\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u3001\u30e2\u30c7\u30eb\u306e\u65e2\u77e5\u306e\u5236\u7d04\uff08\u8a08\u6570\u3001\u7b97\u8853\u3001\u65e5\u4ed8\u6bd4\u8f03\u306a\u3069\uff09\u3092\u7406\u89e3\u3057\u3001\u305d\u308c\u306b\u5408\u308f\u305b\u305f\u5b9f\u88c5\u30d1\u30bf\u30fc\u30f3\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u3082\u91cd\u8981\u3067\u3059\u3002Noul\u3092\u30a2\u30a4\u30c6\u30e0\u3054\u3068\u306b\u751f\u6210\u3057\u3066\u30b3\u30fc\u30c9\u3067\u5408\u8a08\u3059\u308b\u8a08\u6570\u65b9\u6cd5\u306f\u305d\u306e\u826f\u3044\u4f8b\u3067\u3059\u3002\u672c\u756a\u5c0e\u5165\u306e\u969b\u306b\u306f\u3001\u72ec\u81ea\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u8cea\u554f\u6587\u3001\u8a55\u4fa1\u57fa\u6e96\u3001\u3057\u304d\u3044\u5024\u306e\u7cbe\u5ea6\u3092\u8a55\u4fa1\u3057\u3001\u30ea\u30b9\u30af\u306b\u5fdc\u3058\u305f\u4eba\u9593\u306e\u4ecb\u5165\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u8a08\u3059\u308b\u3053\u3068\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002Jev\u306f\u3001AI\u306e\u5224\u65ad\u3092\u4fe1\u983c\u3057\u3066\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306e\u3001\u5805\u7262\u3067\u900f\u660e\u6027\u306e\u9ad8\u3044\u57fa\u76e4\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TypeSafe AI\u304c\u63d0\u4f9b\u3059\u308b\u300cJev\u300d\u306f\u3001\u5f93\u6765\u306eLLM\uff08\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\uff09\u3068\u306f\u4e00\u7dda\u3092\u753b\u3059\u3001\u6587\u7ae0\u3092\u4e00\u5207\u751f\u6210\u3057\u306a\u3044\u300cSystem One\u300d\u30e2\u30c7\u30eb\u3067\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u751f\u6210\u306e\u4ee3\u308f\u308a\u306b\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u72b6\u614b\uff08state\uff09\u3068\u578b\u4ed8\u304d\u306e\u8cea\u554f\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":57574,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/cards.overcentral.com\/cards\/ja\/57572.png","fifu_image_alt":"TypeSafe AI","footnotes":""},"categories":[2428],"tags":[],"class_list":["post-57572","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology"],"fifu_image_url":"https:\/\/cards.overcentral.com\/cards\/ja\/57572.png","fifu_image_alt":"TypeSafe AI","_links":{"self":[{"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/posts\/57572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/comments?post=57572"}],"version-history":[{"count":1,"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/posts\/57572\/revisions"}],"predecessor-version":[{"id":57573,"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/posts\/57572\/revisions\/57573"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/media\/57574"}],"wp:attachment":[{"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/media?parent=57572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/categories?post=57572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/overcentral.com\/ja\/wp-json\/wp\/v2\/tags?post=57572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}