You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/openai/reference.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,13 @@ The Azure OpenAI service provides two methods for authentication. you can use e
37
37
38
38
### REST API versioning
39
39
40
-
The service APIs are versioned using the ```api-version``` query parameter. All versions follow the YYYY-MM-DD date structure, with a -preview suffix for a preview service. For example:
40
+
The service APIs are versioned using the ```api-version``` query parameter. All versions follow the YYYY-MM-DD date structure. For example:
41
41
42
42
```http
43
-
POST https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/completions?api-version=2022-06-01-preview
43
+
POST https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/completions?api-version=2022-12-01
44
44
```
45
45
46
-
We currently have the following versions available: ```2022-06-01-preview```
46
+
We currently have the following versions available: ```2022-12-01```
47
47
48
48
## Completions
49
49
With the Completions operation, the model will generate one or more predicted completions based on a provided prompt. The service can also return the probabilities of alternative tokens at each position.
@@ -60,11 +60,11 @@ POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deploymen
60
60
|--|--|--|--|
61
61
|```your-resource-name```| string | Required | The name of your Azure OpenAI Resource. |
62
62
|```deployment-id```| string | Required | The name of your model deployment. You're required to first deploy a model before you can make calls |
63
-
|```api-version```| string | Required |The API version to use for this operation. This follows the YYYY-MM-DD-preview format. |
63
+
|```api-version```| string | Required |The API version to use for this operation. This follows the YYYY-MM-DD format. |
64
64
65
65
**Supported versions**
66
66
67
-
-`2022-06-01-preview`
67
+
-`2022-12-01`
68
68
69
69
**Request body**
70
70
@@ -87,7 +87,7 @@ POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deploymen
0 commit comments