Failed to create a deployment via Python

Xi Chen (AT) 0 Reputation points
2023-06-06T10:50:05.13+00:00

Hi

me and my colleague successfully created deployments for "text-embedding-ada-002" model last week. But this week, it doesn't work anymore with the same code.

Error Message:

InvalidRequestError: The specified scale type is not supported for the given model.

The same code works for all other models. Please help, thank you.

Here is my code:

deployment = openai.Deployment.create(model="text-embedding-ada-002", scale_settings={"scale_type":"standard"})
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,123 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.