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
Yes, many of the Azure AI services support customer managed keys. Some examples include Text Analytics, Speech Services, and Translator. However, it's important to note that not all services support customer managed keys, so it's best to check the documentation for each individual service to see if it is supported.
81
+
Assistant : Yes, many other Azure AI services also support customer managed 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.
86
82
```
87
83
88
84
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.
@@ -92,35 +88,37 @@ This will wait until the model has generated its entire response before printing
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/dotnet.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,43 @@ ms.date: 07/26/2023
26
26
27
27
## Set up
28
28
29
-
[!INCLUDE [Create a new .NET application](./dotnet-new-application.md)]
29
+
### Create a new .NET Core application
30
+
31
+
In a console window (such as cmd, PowerShell, or Bash), use the `dotnet new` command to create a new console app with the name `azure-openai-quickstart`. This command creates a simple "Hello World" project with a single C# source file: *Program.cs*.
32
+
33
+
```dotnetcli
34
+
dotnet new console -n azure-openai-quickstart
35
+
```
36
+
37
+
Change your directory to the newly created app folder. You can build the application with:
38
+
39
+
```dotnetcli
40
+
dotnet build
41
+
```
42
+
43
+
The build output should contain no warnings or errors.
> The completions API is only available in version `1.0.0-beta.17` and earlier of the `Azure.AI.OpenAI` client library. For the latest `2.0.0` and higher version of `Azure.AI.OpenAI`, the recommended approach to generate completions is to use the [chat completions API](/azure/ai-services/openai/chatgpt-quickstart).
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=DOTNET&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Set-up)
38
68
@@ -48,11 +78,13 @@ using static System.Environment;
0 commit comments