{"id":22629,"date":"2025-11-07T05:00:05","date_gmt":"2025-11-07T05:00:05","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=22629"},"modified":"2025-11-07T05:00:05","modified_gmt":"2025-11-07T05:00:05","slug":"openai-chat-completions-api-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8bfunctions%e3%81%ae%e6%b4%bb%e7%94%a8","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/22629\/","title":{"rendered":"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528"},"content":{"rendered":"\n<br \/><img decoding=\"async\" src=\"https:\/\/ogimage.blog.st-hatena.com\/6802418398310218856\/17179246901313188119\/1762487098\" \/><\/p>\n<div>\n<h3 id=\"-\u306f\u3058\u3081\u306b\">\u25c6 \u306f\u3058\u3081\u306b<\/h3>\n<p>AI\u304b\u3089\u306e\u56de\u7b54\u3092\u3001<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/JSON\">JSON<\/a>\u306a\u3069\u5b9a\u578b\u306e\u69cb\u9020\u4f53\u306b\u53ce\u3081\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u6d3b\u7528\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u5834\u9762\u306f\u3088\u304f\u3042\u308b\u3068\u601d\u3046\u3002<\/p>\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u300c\u3053\u306e\u3088\u3046\u306a\u578b\u3067\u56de\u7b54\u3057\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3063\u305f\u8981\u671b\u3092\u9010\u4e00\u6307\u793a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u306f\u3042\u308b\u304c\u3001\u5b9f\u969b\u306b\u3084\u3063\u3066\u307f\u308b\u3068\u56de\u7b54\u306b\u30d6\u30ec\u304c\u751f\u3058\u308b\u5834\u5408\u304c\u3042\u308a\u3001\u671f\u5f85\u3057\u305f\u578b\u3067\u30d1\u30fc\u30b9\u304c\u3067\u304d\u306a\u3044\u3068\u3044\u3063\u305f\u554f\u984c\u304c\u751f\u3058\u308b\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3067 functions \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u7528\u3044\u308b\u3068\u3001\u56de\u7b54\u306e\u5b9a\u578b\u5316\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002\n<\/p>\n<h3 id=\"-Function-calling\">\u25c6 Function calling<\/h3>\n<p>\u516c\u5f0f\u306e\u8aac\u660e\u3068\u3057\u3066\u306f\u300c\u95a2\u6570\u547c\u3073\u51fa\u3057\u300d\u3068\u306a\u3063\u3066\u304a\u308a\u3001<\/p>\n<blockquote>\n<p>Give models <a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/access\">access<\/a> to new functionality and data they can use to follow instructions and respond to prompts.<\/p>\n<p>(\u30e2\u30c7\u30eb\u306b\u3001\u6307\u793a\u306b\u5f93\u3063\u305f\u308a\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u5fdc\u7b54\u3057\u305f\u308a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u65b0\u3057\u3044\u6a5f\u80fd\u3068\u30c7\u30fc\u30bf\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002)<\/p>\n<\/blockquote>\n<p>\u3068\u306e\u3053\u3068\u3060\u304c\u3001\u6b63\u76f4\u5206\u304b\u308a\u3065\u3089\u3044\u3002<\/p>\n<p>\u8981\u306f\u5916\u90e8\u9023\u643a\u3092\u3057\u6613\u3044\u5f62\u3067\u56de\u7b54\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1d\u5b9a\u578b\u306e\u69cb\u9020\u4f53\u306b\u53ce\u3081\u305f\u56de\u7b54\u3092\u8fd4\u305b\u307e\u3059\u3001\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u5192\u982d\u3067\u8ff0\u3079\u305f\u3088\u3046\u306a\u7528\u9014\u3067\u306e\u5229\u7528\u304c\u3067\u304d\u308b\u3002\n<\/p>\n<h3 id=\"-\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u6307\u5b9a\u65b9\u6cd5\">\u25c6 \u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u6307\u5b9a\u65b9\u6cd5<\/h3>\n<p>functions \u3092\u542b\u3080\u30ea\u30af<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%A8%A5%B9\">\u30a8\u30b9<\/a>\u30c8\u30d1\u30e9\u30e1\u30fc\u30bf\u4f8b\u3092\u4ee5\u4e0b\u306b\u8a18\u8f09\u3059\u308b\u3002<\/p>\n<pre style=\"font-family: 'Ricty-Diminished'; color: #F5FFFA; background-color: #000000;\">\nPOST \/chat\/completions\nContent-Type: application\/<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/json\">json<\/a>\nAuthorization: Bearer YOUR_<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/API\">API<\/a>_KEY\n\n{\n    \"model\": \"gpt-4.1-mini\",\n    \"messages\": [\n        {\n            \"role\": \"user\",\n            \"content\": \"\u4ee5\u4e0b\u306e\u6587\u7ae0\u306b\u542b\u307e\u308c\u308b\u5546\u54c1\u540d\u3068\u3001\u308f\u304b\u308c\u3070\u305d\u306e\u4fa1\u683c\u3092\u62bd\u51fa\u3057\u3066\\n(\u5bfe\u8c61\u306e\u30c6\u30ad\u30b9\u30c8)\"\n        }\n    ],\n    \"functions\": [\n        {\n            \"name\": \"extract_products\",\n            \"description\": \"\u6587\u7ae0\u306b\u542b\u307e\u308c\u308b\u5546\u54c1\u60c5\u5831\u3092\u62bd\u51fa\u3059\u308b\",\n            \"parameters\": {\n                \"type\": \"object\",\n                \"properties\": {\n                    \"products\": {\n                        \"type\": \"array\",\n                        \"items\": {\n                            \"type\": \"object\",\n                            \"properties\": {\n                                \"name\": {\n                                    \"type\": \"string\",\n                                    \"description\": \"\u5546\u54c1\u540d\"\n                                },\n                                \"price\": {\n                                    \"type\": \"integer\",\n                                    \"description\": \"\u4fa1\u683c\"\n                                }\n                            },\n                            \"required\": [\n                                \"name\"\n                            ]\n                        }\n                    }\n                },\n                \"required\": [\n                    \"products\"\n                ]\n            }\n        }\n    ],\n    \"function_call\": {\n        \"name\": \"extract_products\"\n    }\n}\n<\/pre>\n<div class=\"s_table\"><table style=\"width: 100%;\" border=\"1\">\n<tbody>\n<tr>\n<th align=\"left\">messages[n].content<\/th>\n<td>\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8a18\u8ff0\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr align=\"left\">\n<th>functions<\/th>\n<td>\u56de\u7b54\u306b\u671f\u5f85\u3059\u308b\u69cb\u9020\u4f53\u3092<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/JSON\">JSON<\/a> Schema\u3067\u5b9a\u7fa9\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<th align=\"left\"> function_call.name<\/th>\n<td>functions[n].name\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u78ba\u5b9f\u306b\u305d\u306efunction\u3092\u7528\u3044\u3066\u56de\u7b54\u3055\u305b\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>\u3053\u308c\u3067<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/API\">API<\/a>\u30ea\u30af<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/%A5%A8%A5%B9\">\u30a8\u30b9<\/a>\u30c8\u3092\u884c\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u308b\u3002<\/p>\n<pre style=\"font-family: 'Ricty-Diminished'; color: #F5FFFA; background-color: #000000;\">\n{\n  ...\n  \"choices\": [\n    {\n      \"index\": 0,\n      \"message\": {\n        \"role\": \"assistant\",\n        \"content\": null,\n        \"function_call\": {\n          \"name\": \"extract_products\",\n          \"arguments\": \"{\\n  \\\"products\\\": [\\n    {\\n      \\\"name\\\": \\\"\u5546\u54c1A\\\",\\n      \\\"price\\\": 120\\n    },\\n    {\\n      \\\"name\\\": \\\"\u5546\u54c1B\\\",\\n      \\\"price\\\": 150\\n    }\\n  ]\\n}\"\n        }\n      },\n      \"finish_reason\": \"function_call\"\n    }\n  ],\n  ...\n}\n<\/pre>\n<p><strong>arguments<\/strong> \u306e\u5185\u5bb9\u304c functions \u3067\u5b9a\u7fa9\u3057\u305f<a target=\"_blank\" class=\"keyword\" href=\"https:\/\/d.hatena.ne.jp\/keyword\/JSON\">JSON<\/a>\u3068\u306a\u308b\u306e\u3067\u3001\u3053\u306e\u5024\u3092\u30d1\u30fc\u30b9\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u6d3b\u7528\u3059\u308b\u3002<\/p>\n<\/div>\n<p><script>(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/ja_JP\/sdk.js#xfbml=1&appId=719729204785177&version=v17.0\";\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));<\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u25c6 \u306f\u3058\u3081\u306b AI\u304b\u3089\u306e\u56de\u7b54\u3092\u3001JSON\u306a\u3069\u5b9a\u578b\u306e\u69cb\u9020\u4f53\u306b\u53ce\u3081\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u6d3b\u7528\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u5834\u9762\u306f\u3088\u304f\u3042\u308b\u3068\u601d\u3046\u3002 \u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u300c\u3053\u306e\u3088\u3046\u306a\u578b\u3067\u56de\u7b54\u3057\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3063\u305f\u8981\u671b\u3092\u9010\u4e00\u6307\u793a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u306f\u3042\u308b\u304c\u3001\u5b9f [&hellip;]","protected":false},"author":1,"featured_media":22630,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-22629","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-tec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528 - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528 - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u25c6 \u306f\u3058\u3081\u306b AI\u304b\u3089\u306e\u56de\u7b54\u3092\u3001JSON\u306a\u3069\u5b9a\u578b\u306e\u69cb\u9020\u4f53\u306b\u53ce\u3081\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u6d3b\u7528\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u5834\u9762\u306f\u3088\u304f\u3042\u308b\u3068\u601d\u3046\u3002 \u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u300c\u3053\u306e\u3088\u3046\u306a\u578b\u3067\u56de\u7b54\u3057\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3063\u305f\u8981\u671b\u3092\u9010\u4e00\u6307\u793a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u306f\u3042\u308b\u304c\u3001\u5b9f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-07T05:00:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1762487098.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/22629\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528\",\"datePublished\":\"2025-11-07T05:00:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/22629\\\/\"},\"wordCount\":48,\"image\":{\"@id\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1762487098.png\",\"articleSection\":[\"\u4f01\u696d\u30c6\u30c3\u30af\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/22629\\\/\",\"url\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458\",\"name\":\"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528 - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1762487098.png\",\"datePublished\":\"2025-11-07T05:00:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1762487098.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1762487098.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/techblog.elw.co.jp\\\/entry\\\/2025\\\/11\\\/07\\\/124458#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528 - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458","og_locale":"ja_JP","og_type":"article","og_title":"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528 - \u30dd\u30b1\u30b3\u30f3","og_description":"\u25c6 \u306f\u3058\u3081\u306b AI\u304b\u3089\u306e\u56de\u7b54\u3092\u3001JSON\u306a\u3069\u5b9a\u578b\u306e\u69cb\u9020\u4f53\u306b\u53ce\u3081\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u6d3b\u7528\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u5834\u9762\u306f\u3088\u304f\u3042\u308b\u3068\u601d\u3046\u3002 \u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u300c\u3053\u306e\u3088\u3046\u306a\u578b\u3067\u56de\u7b54\u3057\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3063\u305f\u8981\u671b\u3092\u9010\u4e00\u6307\u793a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u306f\u3042\u308b\u304c\u3001\u5b9f [&hellip;]","og_url":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-11-07T05:00:05+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1762487098.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/22629\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528","datePublished":"2025-11-07T05:00:05+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/22629\/"},"wordCount":48,"image":{"@id":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1762487098.png","articleSection":["\u4f01\u696d\u30c6\u30c3\u30af"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/22629\/","url":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458","name":"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528 - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458#primaryimage"},"image":{"@id":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1762487098.png","datePublished":"2025-11-07T05:00:05+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1762487098.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1762487098.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/techblog.elw.co.jp\/entry\/2025\/11\/07\/124458#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"OpenAI Chat Completions API \u306b\u304a\u3051\u308bfunctions\u306e\u6d3b\u7528"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/22629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=22629"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/22629\/revisions"}],"predecessor-version":[{"id":22631,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/22629\/revisions\/22631"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/22630"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=22629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=22629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=22629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}