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
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.
74
81
1. Download [POM.XML](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/java/mslearn-resources/quickstart/pom.xml) to your Java IDE.
75
82
@@ -145,14 +152,6 @@ Substitute your endpoint for the `endpoint` in this code:
145
152
146
153
# [Java (preview)](#tab/java)
147
154
148
-
Set these environment variables:
149
-
150
-
- **AZURE_ENDPOINT**: Required. The base endpoint for your Azure AI service.
151
-
- AZURE_AI_API_KEY: Optional. The API key for authentication (falls back to DefaultAzureCredential if not provided).
152
-
- AZURE_MODEL_DEPLOYMENT_NAME: Optional. The model deployment name (defaults to "phi-4").
153
-
- AZURE_MODEL_API_PATH: Optional. The API path segment (defaults to "deployments").
154
-
- CHAT_PROMPT: Optional. The prompt to send to the model (uses a default if not provided).
0 commit comments