Skip to content

Commit e8fcf17

Browse files
committed
switch to GA API version
1 parent 311bd53 commit e8fcf17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ openai.api_key = API_KEY
139139
openai.api_base = RESOURCE_ENDPOINT
140140
openai.api_version = "2022-12-01"
141141

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

144144
r = requests.get(url, headers={"api-key": API_KEY})
145145

0 commit comments

Comments
 (0)