Skip to content

Commit 0a81b2e

Browse files
codedogfishstainless-bot
authored andcommitted
Fix missing comma in README code example (openai#1000)
The previous version of the README contained a code example with a missing comma, which could lead to syntax errors. This commit corrects that issue by adding the missing comma.
1 parent b8b5f5e commit 0a81b2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ from openai import AzureOpenAI
475475
# gets the API Key from environment variable AZURE_OPENAI_API_KEY
476476
client = AzureOpenAI(
477477
# https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#rest-api-versioning
478-
api_version="2023-07-01-preview"
478+
api_version="2023-07-01-preview",
479479
# https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal#create-a-resource
480480
azure_endpoint="https://example-endpoint.openai.azure.com",
481481
)

0 commit comments

Comments
 (0)