We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86acb71 commit 7607534Copy full SHA for 7607534
samples/microsoft/csharp/mslearn-resources/quickstart/Samples/.env.example
@@ -1,2 +1,3 @@
1
AZURE_AI_ENDPOINT=https://your.services.ai.azure.com/api/projects/project
2
+AZURE_AI_INFERENCE=https://your.services.ai.azure.com/
3
AZURE_AI_MODEL=your_model_name
samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs
@@ -6,7 +6,7 @@
6
7
#pragma warning disable OPENAI001
8
9
-string projectEndpoint = System.Environment.GetEnvironmentVariable("AZURE_AI_ENDPOINT")!;
+string projectEndpoint = System.Environment.GetEnvironmentVariable("AZURE_AI_INFERENCE")!;
10
string modelDeploymentName = System.Environment.GetEnvironmentVariable("AZURE_AI_MODEL")!;
11
12
BearerTokenPolicy tokenPolicy = new(
0 commit comments