Change scale_type in the create deployment examples

This commit is contained in:
Sorin Suciu 2022-09-19 14:42:29 +02:00
parent 563f8db035
commit 71cc3f4a9b
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@
"\n",
"# Now let's create the deployment\n",
"print(f'Creating a new deployment with model: {model}')\n",
"result = openai.Deployment.create(model=model, scale_settings={\"scale_type\":\"manual\", \"capacity\": 1})\n",
"result = openai.Deployment.create(model=model, scale_settings={\"scale_type\":\"standard\"})\n",
"deployment_id = result[\"id\"]"
]
},

View File

@ -346,7 +346,7 @@
"\n",
"# Now let's create the deployment\n",
"print(f'Creating a new deployment with model: {model}')\n",
"result = openai.Deployment.create(model=model, scale_settings={\"scale_type\":\"manual\", \"capacity\": 1})\n",
"result = openai.Deployment.create(model=model, scale_settings={\"scale_type\":\"standard\"})\n",
"deployment_id = result[\"id\"]\n"
]
},