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
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/assistants-csharp.md
+26-5Lines changed: 26 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,13 @@ ms.date: 9/27/2024
24
24
25
25
### Create a new .NET Core application
26
26
27
-
1. 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*.
27
+
1. In a console window (such as cmd, PowerShell, or Bash), use the [`dotnet new`](/dotnet/core/tools/dotnet-new) command to create a new console app with the name `azure-openai-quickstart`:
28
28
29
29
```dotnetcli
30
30
dotnet new console -n azure-openai-assistants-quickstart
31
31
```
32
32
33
-
2. Change your directory to the newly created app folder. You can build the application with:
33
+
2. Change into the directory of the newly created app folder and build the app with the [`dotnet build`](/dotnet/core/tools/dotnet-build) command:
34
34
35
35
```dotnetcli
36
36
dotnet build
@@ -46,10 +46,10 @@ ms.date: 9/27/2024
46
46
...
47
47
```
48
48
49
-
3. Install the OpenAI .NET client library with:
49
+
3. Install the [OpenAI .NET client library](https://www.nuget.org/packages/Azure.AI.OpenAI/) with the [dotnet add package](/dotnet/core/tools/dotnet-add-package) command:
The graph above visualizes the sales trend for product 113045 from January to March. As seen, the sales peaked in February with 22 units sold, and fluctuated over the period from January (12 units) to March (16 units).
218
+
219
+
If you need further analysis or more details, feel free to ask!
220
+
```
221
+
201
222
## Clean up resources
202
223
203
224
If you want to clean up and remove an Azure OpenAI resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
0 commit comments