{"categories":["OpenAI","Python"],"published":"2023-11-17 21:40:15","height":"190","provider_url":"https://hatena.blog","width":"100%","author_url":"https://blog.hatena.ne.jp/swx-kondo/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fopenai-function-calling\" title=\"Chat Completion API \u306e Function Calling \u3092\u4f7f\u7528\u3057\u3066\u5bfe\u8a71\u3067 EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3059\u308b - \u30b5\u30fc\u30d0\u30fc\u30ef\u30fc\u30af\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"GPT-4 \u3068\u306e\u5bfe\u8a71\u3092\u901a\u3057\u3066 EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3059\u308b\u69d8\u5b50 \u306f\u3058\u3081\u306b Function Calling \u3068\u306f \u5b9f\u88c5 \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3068 openai \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u5b9a\u7fa9 \u5bfe\u8a71\u3092\u884c\u3046 chat \u95a2\u6570 1. Chat completion API \u306b\u6e21\u3059\u5f15\u6570\u3092\u4f5c\u6210\u3059\u308b 2. \u30e6\u30fc\u30b6\u30fc\u306e\u521d\u56de\u306e\u6295\u7a3f\u3092\u9001\u4fe1\u3059\u308b 3. tool_calls \u306b\u5024\u304c\u8a2d\u5b9a\u3055\u308c\u308b\u307e\u3067\uff08API \u306b\u6e21\u3059\u5f15\u6570\u304c\u78ba\u5b9a\u3059\u308b\u307e\u3067\uff09\u30e6\u30fc\u30b6\u30fc\u3068\u5bfe\u8a71\u3059\u308b 4. tool_calls \u304c\u8a2d\u5b9a\u3055\u308c\u305f\u3089\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u78ba\u8a8d\u3092\u6c42\u3081\u308b 5. \u30e6\u30fc\u30b6\u30fc\u306e\u4e86\u627f\u5f8c\u3001EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3059\u308b Chat Completion API \u3092\u5b9f\u884c\u3059\u308b\u95a2\u6570\u306e\u2026","author_name":"swx-kondo","version":"1.0","url":"https://blog.serverworks.co.jp/openai-function-calling","type":"rich","title":"Chat Completion API \u306e Function Calling \u3092\u4f7f\u7528\u3057\u3066\u5bfe\u8a71\u3067 EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5\u3059\u308b","blog_url":"https://blog.serverworks.co.jp/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/swx-kondo/20231117/20231117113849.png","blog_title":"\u30b5\u30fc\u30d0\u30fc\u30ef\u30fc\u30af\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0"}