Skip to content

Commit 17e6351

Browse files
authored
Merge pull request #869 from felipementel/main
Lesson 6 - Translate examples to pt-br
2 parents a5c6229 + ccfbc2e commit 17e6351

File tree

2 files changed

+252
-252
lines changed

2 files changed

+252
-252
lines changed

07-building-chat-applications/python/aoai-assigment-simple.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"assert API_KEY, \"ERROR: Azure OpenAI Key is missing\"\n",
1717
"openai.api_key = API_KEY\n",
1818
"\n",
19-
"RESOURCE_ENDPOINT = os.getenv(\"OPENAI_API_BASE\",\"\").strip()\n",
19+
"RESOURCE_ENDPOINT = os.getenv(\"AZURE_OPENAI_ENDPOINT\",\"\").strip()\n",
2020
"assert RESOURCE_ENDPOINT, \"ERROR: Azure OpenAI Endpoint is missing\"\n",
2121
"assert \"openai.azure.com\" in RESOURCE_ENDPOINT.lower(), \"ERROR: Azure OpenAI Endpoint should be in the form: \\n\\n\\t<your unique endpoint identifier>.openai.azure.com\"\n",
2222
"openai.api_base = RESOURCE_ENDPOINT\n",

0 commit comments

Comments
 (0)