Skip to content

Commit 7607534

Browse files
authored
Updating Inference for .NET Quickstart. (#318)
* Updating Inference and instructions for Agent in the .NET Quickstart * Updating inference endpoint, in env and inference sample
1 parent 86acb71 commit 7607534

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
AZURE_AI_ENDPOINT=https://your.services.ai.azure.com/api/projects/project
2+
AZURE_AI_INFERENCE=https://your.services.ai.azure.com/
23
AZURE_AI_MODEL=your_model_name

samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#pragma warning disable OPENAI001
88

9-
string projectEndpoint = System.Environment.GetEnvironmentVariable("AZURE_AI_ENDPOINT")!;
9+
string projectEndpoint = System.Environment.GetEnvironmentVariable("AZURE_AI_INFERENCE")!;
1010
string modelDeploymentName = System.Environment.GetEnvironmentVariable("AZURE_AI_MODEL")!;
1111

1212
BearerTokenPolicy tokenPolicy = new(

0 commit comments

Comments
 (0)