小编Shi*_*ker的帖子

InvalidRequestError:调用 openAI API 进行文本生成时必须提供“engine”参数

我正在尝试 OpenAI 中给出的这段代码。

\n

链接:-用于文本生成的 API

\n

代码

\n
import 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)

python openai-api

6
推荐指数
1
解决办法
4万
查看次数

标签 统计

openai-api ×1

python ×1