You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -121,7 +124,7 @@ To use the non-streaming method:
121
124
#### Output
122
125
123
126
```output
124
-
Assistant: Yes, many other Azure AI services also support customermanaged keys, including Azure Cognitive Services, Azure Machine Learning, and Azure Databricks. By using customer managed keys, you can retain complete control over your encryption keys and provide an additional layer of security for your AI assets.
127
+
Assistant: Arrr, ye be askin’ a fine question, matey! Aye, several Azure AI services support customer-managed keys (CMK)! This lets ye take the wheel and secure yer data with encryption keys stored inAzure Key Vault. Services such as Azure Machine Learning, Azure Cognitive Search, and others also offer CMK fer data protection. Always check the specific service's documentation fer the latest updates, as features tend to shift swifter than the tides, aye!
125
128
```
126
129
127
130
This will wait until the model has generated its entire response before printing the results. Alternatively, if you want to asynchronously stream the response and print the results, you can replace the contents of *program.cs* with the code in the next example.
@@ -133,6 +136,8 @@ To use the streaming method:
133
136
134
137
```csharp
135
138
using Azure;
139
+
using Azure.Identity;
140
+
using OpenAI.Assistants;
136
141
using Azure.AI.OpenAI;
137
142
using OpenAI.Chat;
138
143
using static System.Environment;
@@ -179,7 +184,7 @@ To use the streaming method:
179
184
#### Output
180
185
181
186
```output
182
-
Assistant: Yes, many other Azure AI services also support customermanaged keys, including Azure Cognitive Services, Azure Machine Learning, and Azure Databricks. By using customer managed keys, you can retain complete control over your encryption keys and provide an additional layer of security for your AI assets.
187
+
Assistant: Arrr, ye be askin’ a fine question, matey! Aye, several Azure AI services support customer-managed keys (CMK)! This lets ye take the wheel and secure yer data with encryption keys stored in Azure Key Vault. Services such as Azure Machine Learning, Azure Cognitive Search, and others also offer CMK fer data protection. Always check the specific service's documentation fer the latest updates, as features tend to shift swifter than the tides, aye!
0 commit comments