{"blog_url":"https://shuzo-kino.hateblo.jp/","provider_url":"https://hatena.blog","version":"1.0","description":"\u666e\u6bb5\u304b\u3089\u4f7f\u3044\u6163\u308c\u305f\u3001\u30c6\u30ad\u30b9\u30c8\u30ed\u30b0\u98a8\u306e\u6bb5\u968e\u7684\u51fa\u529b\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002 \u5b9f\u969b\u306e\u3068\u3053\u308d from openai import OpenAI from dotenv import dotenv_values import sys def streamingQuestion(prompt, client): stream = yourclient.chat.completions.create( messages=[ {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"}, {\"role\": \"user\",\"content\": myques\u2026","author_name":"shuzo_kino","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2023%2F12%2F11%2F210352\" title=\"GPT-4\u3092Python\u3067\u4f7f\u3046\uff08\u518d\u6226\uff09\u3000\u305d\u306e\uff12\uff1a\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u5f0f\u306b\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>","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","provider_name":"Hatena Blog","published":"2023-12-11 21:03:52","width":"100%","blog_title":"Bye Bye Moore","url":"https://shuzo-kino.hateblo.jp/entry/2023/12/11/210352","title":"GPT-4\u3092Python\u3067\u4f7f\u3046\uff08\u518d\u6226\uff09\u3000\u305d\u306e\uff12\uff1a\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u5f0f\u306b\u3059\u308b","type":"rich","image_url":null,"categories":["ChatGPT"],"height":"190"}