Skip to content

Commit

Permalink
Merge pull request #2199 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
1/8/2025 11:00 AM IST Publish
  • Loading branch information
PhilKang0704 authored Jan 8, 2025
2 parents 058aad5 + a990b0b commit 57c0607
Show file tree
Hide file tree
Showing 187 changed files with 485 additions and 901 deletions.
2 changes: 1 addition & 1 deletion articles/ai-services/agents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ What originally took hundreds of lines of code can now be done in just a few wit

### Comparing Azure agents and Azure OpenAI assistants

Both services enable you to build agents using the same API and SDKs, but if you have additional enterprise requirements, you may want to consider using Azure AI Agent Service. Azure AI Agent Service provides all the capabilities of assistants in addition to:
Both services enable you to build agents using the same API and SDKs, but if you have additional enterprise requirements, you might want to consider using Azure AI Agent Service. Azure AI Agent Service provides all the capabilities of assistants in addition to:

**Flexible model selection** - Create agents that use Azure OpenAI models, or others such as Llama 3, Mistral and Cohere. Choose the most suitable model to meet your business needs.

Expand Down
2 changes: 1 addition & 1 deletion articles/ai-services/agents/quotas-limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The following sections provide you with a guide to the default quotas and limits

| Limit Name | Limit Value |
|--|--|
| Max files per agent/thread | 10,000 when using the API or Azure AI Foundry portal. 20 when using Azure OpenAI Studio.|
| Max files per agent/thread | 10,000 when using the API or Azure AI Foundry portal. In Azure OpenAI Studio the limit was 20.|
| Max file size for agents & fine-tuning | 512 MB |
| Max size for all uploaded files for agents |100 GB |
| agents token limit | 2,000,000 token limit |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ to determine whether data at `2021-01-02T00:01:00Z` is anomalous. It moves on in

Normally we recommend you to use `severity` as the filter to sift out 'anomalies' that aren't so important to your business. Depending on your scenario and data pattern, those anomalies that are less important often have relatively lower `severity` values or standalone (discontinuous) high `severity` values like random spikes.

In cases where you've found a need of more sophisticated rules than thresholds against `severity` or duration of continuous high `severity` values, you may want to use `score` to build more powerful filters. Understanding how MVAD is using `score` to determine anomalies may help:
In cases where you've found a need of more sophisticated rules than thresholds against `severity` or duration of continuous high `severity` values, you might want to use `score` to build more powerful filters. Understanding how MVAD is using `score` to determine anomalies may help:

We consider whether a data point is anomalous from both global and local perspective. If `score` at a timestamp is higher than a certain threshold, then the timestamp is marked as an anomaly. If `score` is lower than the threshold but is relatively higher in a segment, it's also marked as an anomaly.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Authentication is done by adding the HTTP request header **Ocp-Apim-Subscription

## Select the image to analyze

The code in this guide uses remote images referenced by URL. You may want to try different images on your own to see the full capability of the Image Analysis features.
The code in this guide uses remote images referenced by URL. You might want to try different images on your own to see the full capability of the Image Analysis features.

<!--
#### [C#](#tab/csharp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ If you'd like to compare the performances of different recognition models on you
1. Train your **PersonGroup**s using the [Train Person Group] API.
1. Test with [Identify From Person Group] on all four **PersonGroup**s and compare the results.

If you normally specify a confidence threshold (a value between zero and one that determines how confident the model must be to identify a face), you may need to use different thresholds for different models. A threshold for one model isn't meant to be shared to another and won't necessarily produce the same results.
If you normally specify a confidence threshold (a value between zero and one that determines how confident the model must be to identify a face), you might need to use different thresholds for different models. A threshold for one model isn't meant to be shared to another and won't necessarily produce the same results.

## Next steps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ setx VISION_KEY <your_key>
setx VISION_ENDPOINT <your_endpoint>
```

After you add the environment variables, you may need to restart any running programs that will read the environment variables, including the console window.
After you add the environment variables, you might need to restart any running programs that will read the environment variables, including the console window.

#### [Linux](#tab/linux)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ setx FACE_APIKEY <your_key>
setx FACE_ENDPOINT <your_endpoint>
```

After you add the environment variables, you may need to restart any running programs that will read the environment variables, including the console window.
After you add the environment variables, you might need to restart any running programs that will read the environment variables, including the console window.

#### [Linux](#tab/linux)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Authentication is done by adding the HTTP request header **Ocp-Apim-Subscription

## Select the image to analyze

The code in this guide uses remote images referenced by URL. You may want to try different images on your own to see the full capability of the Image Analysis features.
The code in this guide uses remote images referenced by URL. You might want to try different images on your own to see the full capability of the Image Analysis features.

### Image URL
When analyzing a remote image, you specify the image's URL by formatting the request body like this: `{"url":"https://learn.microsoft.com/azure/cognitive-services/computer-vision/images/windows-kitchen.jpg"}`. The **Content-Type** should be `application/json`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ Output of this operation depends on configured `events`, for example if there's

## Use the output generated by the container

You may want to integrate Spatial Analysis detection or events into your application. Here are a few approaches to consider:
You might want to integrate Spatial Analysis detection or events into your application. Here are a few approaches to consider:

* Use the Azure Event Hubs SDK for your chosen programming language to connect to the Azure IoT Hub endpoint and receive the events. For more information, see [Read device-to-cloud messages from the built-in endpoint](/azure/iot-hub/iot-hub-devguide-messages-read-builtin).
* Set up **Message Routing** on your Azure IoT Hub to send the events to other endpoints or save the events to your data storage. For more information, see [IoT Hub Message Routing](/azure/iot-hub/iot-hub-devguide-messages-d2c).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The sample app is written using JavaScript and the React Native framework. It ca

Now that you've set up the sample app, you can tailor it to your own needs.

For example, you may want to add situation-specific information on your consent page:
For example, you might want to add situation-specific information on your consent page:

> [!div class="mx-imgBorder"]
> ![app consent page](../media/enrollment-app/1-consent-1.jpg)
Expand Down
2 changes: 1 addition & 1 deletion articles/ai-services/containers/container-faq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ sections:
| `BillingEndpointBusy` | The billing endpoint is currently busy. Check the `Retry-After` value and wait for this period to end before you make more requests. |
| `ContainerUseUnauthorized` | The provided API key isn't authorized for use with this container. You're likely using a gated container, so make sure your Azure subscription ID is approved by submitting an [online request](https://aka.ms/csgate). |
| `[ERROR] Failed to download: context deadline exceeded` | The model file download request to our servers timed out. Make sure you have a strong internet connection to download all required files within one hour. Model downloads apply to Text Translation and some Speech service containers. |
| `The provided license path was not found. Please ensure a volume is mounted and a directory exists at the location specified by Mounts:License` | **Disconnected containers only.** There is no license file stored locally at the location specified in your docker run command. You may have mounted the license volume incorrectly. Be sure to check your local file system and provide a valid filepath to the desired local storage location for the license file using the -v argument in your docker run command. |
| `The provided license path was not found. Please ensure a volume is mounted and a directory exists at the location specified by Mounts:License` | **Disconnected containers only.** There is no license file stored locally at the location specified in your docker run command. You might have mounted the license volume incorrectly. Be sure to check your local file system and provide a valid filepath to the desired local storage location for the license file using the -v argument in your docker run command. |
| `Unknown` | The server is currently unable to process billing requests. |
- question: How do I get support?
Expand Down
4 changes: 2 additions & 2 deletions articles/ai-services/containers/container-reuse-recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Any `docker run` examples in this document assume a Windows console with a `^` l

* Do not change the order of the arguments unless you are very familiar with docker containers.
* If you are using an operating system other than Windows, or a console other than Windows console, use the correct console/terminal, folder syntax for mounts, and line continuation character for your console and system. Because the Azure AI services container is a Linux operating system, the target mount uses a Linux-style folder syntax.
* `docker run` examples use the directory off the `c:` drive to avoid any permission conflicts on Windows. If you need to use a specific directory as the input directory, you may need to grant the docker service permission.
* `docker run` examples use the directory off the `c:` drive to avoid any permission conflicts on Windows. If you need to use a specific directory as the input directory, you might need to grant the docker service permission.

## Store no configuration settings in image

Expand Down Expand Up @@ -158,7 +158,7 @@ COPY luisModel2 /input/
## Store all configuration settings
If you are a single manager of the container, you may want to store all settings in the container. The new, resulting container will not need any variables passed in to run.
If you are a single manager of the container, you might want to store all settings in the container. The new, resulting container will not need any variables passed in to run.
Issues with this approach:
Expand Down
2 changes: 1 addition & 1 deletion articles/ai-services/content-moderator/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ keywords: content moderator, Azure Content Moderator, online moderator, content

Azure Content Moderator is an AI service that lets you handle content that is potentially offensive, risky, or otherwise undesirable. It includes the AI-powered content moderation service which scans text, image, and videos and applies content flags automatically.

You may want to build content filtering software into your app to comply with regulations or maintain the intended environment for your users.
You might want to build content filtering software into your app to comply with regulations or maintain the intended environment for your users.

This documentation contains the following article types:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ The content APIs may return the following error codes:
| InvalidRequestBody | One or more fields in the request body do not match the API definition. | Check the API version you specified in the API call. <br/>Check the corresponding API definition for the API version you selected. |
| InvalidResourceName | The resource name you specified in the URL does not meet the requirements, like the blocklist name, blocklist term ID, etc. | Check the API version you specified in the API call. <br/>Check whether the given name has invalid characters according to the API definition. |
| ResourceNotFound | The resource you specified in the URL may not exist, like the blocklist name. | Check the API version you specified in the API call. <br/>Double check the existence of the resource specified in the URL. |
| InternalError | Some unexpected situations on the server side have been triggered. | You may want to retry a few times after a small period and see it the issue happens again. <br/> Contact Azure Support if this issue persists. |
| ServerBusy | The server side cannot process the request temporarily. | You may want to retry a few times after a small period and see it the issue happens again. <br/>Contact Azure Support if this issue persists. |
| InternalError | Some unexpected situations on the server side have been triggered. | You might want to retry a few times after a small period and see it the issue happens again. <br/> Contact Azure Support if this issue persists. |
| ServerBusy | The server side cannot process the request temporarily. | You might want to retry a few times after a small period and see it the issue happens again. <br/>Contact Azure Support if this issue persists. |
| TooManyRequests | The current RPS has exceeded the quota for your current SKU. | Check the pricing table to understand the RPS quota. <br/>Contact Azure Support if you need more QPS. |


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ms.author: pafarley

# Copy and back up your Custom Vision projects

After you've created and trained a Custom Vision project, you may want to copy your project to another resource. If your app or business depends on a Custom Vision project, we recommend you copy your model to another Custom Vision account in another region. Then if a regional outage occurs, you can access your project in the region where it was copied.
After you've created and trained a Custom Vision project, you might want to copy your project to another resource. If your app or business depends on a Custom Vision project, we recommend you copy your model to another Custom Vision account in another region. Then if a regional outage occurs, you can access your project in the region where it was copied.

The **[ExportProject](/rest/api/customvision/projects/export)** and **[ImportProject](/rest/api/customvision/projects/import)** APIs enable this scenario by allowing you to copy projects from one Custom Vision account into others. This guide shows you how to use these REST APIs with cURL. You can also use an HTTP request service, like the [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) for Visual Studio Code, to issue the requests.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ms.devlang: python

# Export a model programmatically

All of the export options available on the [Custom Vision website](https://www.customvision.ai/) are also available programmatically through the client libraries. You may want to use client libraries so you can fully automate the process of retraining and updating the model iteration you use on a local device.
All of the export options available on the [Custom Vision website](https://www.customvision.ai/) are also available programmatically through the client libraries. You might want to use client libraries so you can fully automate the process of retraining and updating the model iteration you use on a local device.

This guide shows you how to export your model to an ONNX file with the Python SDK.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ To correct this problem, include a variety of images to ensure that your model c

## Negative images (classifiers only)

If you're using an image classifier, you may need to add _negative samples_ to help make your classifier more accurate. Negative samples are images that don't match any of the other tags. When you upload these images, apply the special **Negative** label to them.
If you're using an image classifier, you might need to add _negative samples_ to help make your classifier more accurate. Negative samples are images that don't match any of the other tags. When you upload these images, apply the special **Negative** label to them.

Object detectors handle negative samples automatically, because any image areas outside of the drawn bounding boxes are considered negative.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
ms.author: pafarley
---

If you wish to implement your own image classification project (or try an [object detection](../quickstarts/object-detection.md) project instead), you may want to delete the tree identification project from this example. A free subscription allows for two Custom Vision projects.
If you wish to implement your own image classification project (or try an [object detection](../quickstarts/object-detection.md) project instead), you might want to delete the tree identification project from this example. A free subscription allows for two Custom Vision projects.

On the [Custom Vision website](https://customvision.ai), navigate to **Projects** and select the trash can under My New Project.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
ms.author: pafarley
---

If you wish to implement your own object detection project (or try an [image classification](../quickstarts/image-classification.md) project instead), you may want to delete the fork/scissors detection project from this example. A free subscription allows for two Custom Vision projects.
If you wish to implement your own object detection project (or try an [image classification](../quickstarts/image-classification.md) project instead), you might want to delete the fork/scissors detection project from this example. A free subscription allows for two Custom Vision projects.

On the [Custom Vision website](https://customvision.ai), navigate to **Projects** and select the trash can under My New Project.

Expand Down
Loading

0 comments on commit 57c0607

Please sign in to comment.