我正在尝试 OpenAI 中给出的这段代码。
\n链接:-用于文本生成的 API
\n代码
\nimport openai\n\nprompt = """We\xe2\x80\x99re releasing an API for accessing new AI models developed by OpenAI. Unlike most AI systems which are designed for one use-case, the API today provides a general-purpose \xe2\x80\x9ctext in, text out\xe2\x80\x9d interface, allowing users to try it on virtually any English language task. You can now request access in order to integrate the API into your product, develop an entirely new application, or help us explore …Run Code Online (Sandbox Code Playgroud)