Closed gzgogo closed 1 year ago
I have the same error but with python
try to switch to node v18.10.0
I change paramer "model" to "engine", it is ok. I use python api. @gzgogo
response = openai.Completion.create(
engine="text-davinci-003",
prompt=question,
max_tokens=1024,
n=1,
stop=None,
temperature=0.5
)
In your code snippet, you're trying to use the text-davinci-003
model.
But looking at the code, it appears the currently only gpt-3.5-turbo
and gpt-3.5-turbo-0301
models are supported.
The solution would be to make requests directly yourself, instead of using the openai-node package - here's how.
Describe the bug
You requested a model that is not compatible with this engine
To Reproduce
i meet a error: "You requested a model that is not compatible with this engine" yesterday, but it can run normally before
Code snippets
OS
macos
Node version
node v18
Library version
openai 3.1.0