In this post, I’ll show you how I built a subtitle translator desktop app using Python and the OpenAI API. This tool automatically translates .srt subtitle files — perfect for creators, YouTubers, and ...
それで、最初に貼ったエラー文の最後にgithubのリンクが載っているので、そこからいろいろ調べていると、単純にopenai.ChatCompletion.createは最新のopenaiでは使えないようです(まあ、最初のエラー文にもopenai.ChatCompletion is no longer supported in openai>=1.0.0というようなことが書いてますが)。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する