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
-
- **PROJECT_ENDPOINT**: Required. Your Azure AI project endpoint.
151
-
- AZURE_AI_API_KEY: Optional. Your API key (falls back to DefaultAzureCredential).
152
-
- AZURE_MODEL_DEPLOYMENT_NAME: Optional. Model deployment name (default: "phi-4").
153
-
- AZURE_MODEL_API_PATH: Optional. API path segment (default: "deployments").
154
-
- CHAT_PROMPT: Optional. The prompt to send (uses a default if not provided).
0 commit comments