@@ -44,6 +44,7 @@ No installation is necessary to use the Azure AI Foundry portal.
44
44
```
45
45
pip install openai azure-ai-projects azure-identity
46
46
```
47
+
47
48
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your Python scripts.
48
49
49
50
> [!TIP]
@@ -52,6 +53,10 @@ No installation is necessary to use the Azure AI Foundry portal.
52
53
# [Java](#tab/java)
53
54
54
55
1. [Install Java and Azure CLI](../how-to/develop/install-cli-sdk.md?pivots=programming-language-java).
56
+ 1. Set these environment variables to use in your scripts:
57
+
58
+ :::code language="txt" source=" source="~/foundry-samples/samples/microsoft/java/mslearn-resources/quickstart/.env.template:::
59
+
55
60
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your Java scripts.
56
61
57
62
> [!TIP]
@@ -63,6 +68,10 @@ No installation is necessary to use the Azure AI Foundry portal.
63
68
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your JavaScript scripts.
64
69
1. Download [package.json](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/javascript/mslearn-resources/quickstart/package.json).
65
70
1. Install packages with `npm install`
71
+ 1. Set these environment variables to use in your scripts:
72
+
73
+ :::code language="txt" source=" source="~/foundry-samples/samples/microsoft/javascript/mslearn-resources/quickstart/.env.template:::
74
+
66
75
67
76
> [!TIP]
68
77
> All the code in this article is at [GitHub Quickstart](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/javascript/mslearn-resources/quickstart).
@@ -74,6 +83,10 @@ No installation is necessary to use the Azure AI Foundry portal.
74
83
75
84
[!INCLUDE [install-csharp-packages](install-csharp-packages.md)]
76
85
86
+ 1. Set these environment variables to use in your scripts:
87
+
88
+ :::code language="txt" source=" source="~/foundry-samples/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/.env.example:::
89
+
77
90
1. Make sure to sign in using the CLI `az login` (or `az login --use-device-code`) command to authenticate before running your C# scripts.
78
91
79
92
> [!TIP]
0 commit comments