Skip to content

Commit 4bd6f1b

Browse files
authored
Merge pull request #205210 from mrbullwinkle/mrb_07_19_2022_update_quickstart
[Cognitive Services] [Azure OpenAI] Quickstart update
2 parents 3c3dfba + cb1fc79 commit 4bd6f1b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

articles/cognitive-services/openai/includes/python.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
7070
print(start_phrase+text)
7171
```
7272

73+
> [!IMPORTANT]
74+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials. For example, [Azure Key Vault](../../../key-vault/general/overview.md).
75+
7376
1. Run the application with the `python` command on your quickstart file
7477

7578
```console

articles/cognitive-services/openai/includes/rest.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Create a new python file called quickstart.py. Then open it up in your preferred
6868
print(formatted_response)
6969
```
7070

71+
> [!IMPORTANT]
72+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials. For example, [Azure Key Vault](../../../key-vault/general/overview.md).
73+
7174
1. Run the application with the `python` command on your quickstart file
7275

7376
```console

0 commit comments

Comments
 (0)