Skip to content

Commit 311bd53

Browse files
committed
update to 2022-12-01 API
1 parent db70a21 commit 311bd53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cognitive-services/openai/tutorials/embeddings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: cognitive-services
88
ms.subservice: openai
99
ms.topic: tutorial
10-
ms.date: 12/01/2022
10+
ms.date: 12/14/2022
1111
author: mrbullwinkle
1212
ms.author: mbullwin
1313
recommendations: false
@@ -137,7 +137,7 @@ RESOURCE_ENDPOINT = os.getenv("AZURE_OPENAI_ENDPOINT")
137137
openai.api_type = "azure"
138138
openai.api_key = API_KEY
139139
openai.api_base = RESOURCE_ENDPOINT
140-
openai.api_version = "2022-06-01-preview"
140+
openai.api_version = "2022-12-01"
141141

142142
url = openai.api_base + "/openai/deployments?api-version=2022-06-01-preview"
143143

0 commit comments

Comments
 (0)