{"author_name":"shuzo_kino","description":"\u5b9f\u969b\u306e\u3068\u3053\u308d \u524d\u63d0\u6761\u4ef6 \u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u3067\u5f15\u7528\u3055\u308c\u3066\u3044\u308bWikipedia\u306e\u753b\u50cf\u3092sample.jpg\u3068\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u306b\u4fdd\u5b58 \u30b9\u30af\u30ea\u30d7\u30c8 from openai import OpenAI from dotenv import dotenv_values import sys import base64 # Function to encode the image def encode_image(image_path): with open(image_path, \"rb\") as image_file: return base64.b64encode(image_file.read()).dec\u2026","type":"rich","published":"2023-12-12 22:58:31","blog_title":"Bye Bye Moore","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","width":"100%","blog_url":"https://shuzo-kino.hateblo.jp/","image_url":null,"version":"1.0","title":"GPT-4\u3092Python\u3067\u4f7f\u3046\uff08\u518d\u6226\uff09\u3000\u305d\u306e\uff13\uff1a\u30d3\u30b8\u30e7\u30f3\u5224\u5b9a\u3092\u3059\u308b","categories":["ChatGPT","python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2023%2F12%2F12%2F225831\" title=\"GPT-4\u3092Python\u3067\u4f7f\u3046\uff08\u518d\u6226\uff09\u3000\u305d\u306e\uff13\uff1a\u30d3\u30b8\u30e7\u30f3\u5224\u5b9a\u3092\u3059\u308b - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","url":"https://shuzo-kino.hateblo.jp/entry/2023/12/12/225831","provider_name":"Hatena Blog"}