Skip to content

Commit 74ddea5

Browse files
authored
Merge pull request #3130 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-ai-docs (branch main)
2 parents ee206d4 + a9e5117 commit 74ddea5

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

articles/ai-services/anomaly-detector/includes/quickstarts/anomaly-detector-client-library-java-multivariate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ UUID resultId = UUID.fromString(substring[substring.length - 1]);
241241
DetectionResult detectionResult;
242242
while (true) {
243243
detectionResult = anomalyDetectorClient.getDetectionResult(resultId);
244-
DetectionStatus detectionStatus = detectionResult.getSummary().getStatus();;
244+
DetectionStatus detectionStatus = detectionResult.getSummary().getStatus();
245245
if (detectionStatus == DetectionStatus.READY || detectionStatus == DetectionStatus.FAILED) {
246246
break;
247247
}

articles/ai-services/document-intelligence/how-to-guides/includes/v4-0/java-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ String documentUrl = "https://raw.githubusercontent.com/Azure-Samples/cognitive-
177177
String modelId = "prebuilt-read";
178178

179179
SyncPoller < OperationResult, AnalyzeResult > analyzeLayoutResultPoller =
180-
client.beginAnalyzeDocument(modelId, invoiceUrl);;
180+
client.beginAnalyzeDocument(modelId, invoiceUrl);
181181

182182
AnalyzeResult analyzeLayoutResult = analyzeLayoutResultPoller.getFinalResult().getAnalyzeResult();
183183

@@ -338,7 +338,7 @@ String modelId = "prebuilt-document";
338338
SyncPoller < OperationResult, AnalyzeResult > analyzeDocumentPoller =
339339
client.beginAnalyzeDocument(modelId, generalDocumentUrl);
340340

341-
AnalyzeResult analyzeResult = analyzeDocumentPoller.getFinalResult().getAnalyzeResult();;
341+
AnalyzeResult analyzeResult = analyzeDocumentPoller.getFinalResult().getAnalyzeResult();
342342

343343
// pages
344344
analyzeResult.getPages().forEach(documentPage -> {

articles/ai-services/openai/includes/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ dependencies {
103103
public class GetCompletionsSample {
104104
105105
public static void main(String[] args) {
106-
String azureOpenaiKey = System.getenv("AZURE_OPENAI_API_KEY");;
107-
String endpoint = System.getenv("AZURE_OPENAI_ENDPOINT");;
106+
String azureOpenaiKey = System.getenv("AZURE_OPENAI_API_KEY");
107+
String endpoint = System.getenv("AZURE_OPENAI_ENDPOINT");
108108
String deploymentOrModelId = "gpt-35-turbo-instruct";
109109
110110
OpenAIClient client = new OpenAIClientBuilder()

articles/ai-services/openai/monitor-openai-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See [Monitor Azure OpenAI](./how-to/monitor-openai.md) for details on the data y
1919

2020
### Supported metrics for Microsoft.CognitiveServices/accounts
2121

22-
Here are the most important metrics we think you should monitor for Azure OpenAI. Later in this article is a longer list of all available Azure AI services metrics which contains more details on metrics in this shorter list.
22+
Here are the most important metrics we think you should monitor for Azure OpenAI. Later in this article is a longer list of all available Azure AI services metrics which contains more details on metrics in this shorter list. _Please see below list for most up to date information. We're working on refreshing the tables in the following sections._
2323

2424
- Azure OpenAI Requests
2525
- Active Tokens
@@ -42,9 +42,9 @@ You can also monitor Content Safety metrics that are used by other Azure AI serv
4242
- Safety System Event
4343
- Total Volume Sent for Safety Check
4444

45-
4645
> [!NOTE]
4746
> The **Provisioned-managed Utilization** metric is now deprecated and is no longer recommended. This metric has been replaced by the **Provisioned-managed Utilization V2** metric.
47+
> Tokens per Second, Time to Response, Time Between Tokens are currently not available for pay-as-you-go (Standard) deployments.
4848
4949
Cognitive Services metrics have the category **Cognitive Services - HTTP Requests** in the following table. These metrics are legacy metrics that are common to all Azure AI Services resources. Microsoft no longer recommends that you use these metrics with Azure OpenAI.
5050

articles/ai-services/speech-service/includes/language-support/viseme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ ms.author: Zoubaolian
109109
| vi-VN | Vietnamese (Vietnam) |Viseme ID|
110110
| zh-CN | Chinese (Mandarin, Simplified) |Viseme ID <br> Blend shapes|
111111
| zh-HK | Chinese (Cantonese, Traditional)|Viseme ID|
112-
| zh-TW | Chinese (Taiwanese Mandarin, Traditional)|Viseme ID|
113-
112+
| zh-HK | Chinese (Taiwanese Mandarin, Traditional)|Viseme ID (except `zh-TW-HsiaoYuNeural`)|
114113

115114

116115

articles/machine-learning/v1/how-to-deploy-pipelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Gson gson = new Gson();
177177

178178
HttpRequest tokenAuthenticationRequest = tokenAuthenticationRequest(tenantId, clientId, clientSecret, resourceManagerUrl);
179179
Optional<String> authBody = getRequestBody(client, tokenAuthenticationRequest);
180-
Optional<String> authKey = authBody.flatMap(body -> Optional.of(gson.fromJson(body, AuthenticationBody.class).access_token);;
180+
Optional<String> authKey = authBody.flatMap(body -> Optional.of(gson.fromJson(body, AuthenticationBody.class).access_token));
181181
Optional<HttpRequest> scoringRequest = authKey.flatMap(key -> Optional.of(scoringRequest(key, scoringUri, dataToBeScored)));
182182
Optional<String> scoringResult = scoringRequest.flatMap(req -> getRequestBody(client, req));
183183
// ... etc (`scoringResult.orElse()`) ...

0 commit comments

Comments
 (0)