Skip to content

Commit 8cabf74

Browse files
Merge pull request #6148 from MicrosoftDocs/main
Auto Publish – main to live - 2025-07-21 22:04 UTC
2 parents 907f217 + e0dfc18 commit 8cabf74

36 files changed

+1562
-139
lines changed

articles/ai-foundry/openai/how-to/fine-tune-test.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ resource_group = "<YOUR_RESOURCE_GROUP_NAME>"
4848
resource_name = "<YOUR_AZURE_OPENAI_RESOURCE_NAME>"
4949
model_deployment_name = "gpt41-mini-candidate-01" # custom deployment name that you will use to reference the model when making inference calls.
5050

51-
deploy_params = {'api-version': "2024-10-21"}
51+
deploy_params = {'api-version': "2025-04-01-preview"}
5252
deploy_headers = {'Authorization': 'Bearer {}'.format(token), 'Content-Type': 'application/json'}
5353

5454
deploy_data = {
@@ -90,7 +90,7 @@ The following example shows how to use the REST API to create a model deployment
9090

9191

9292
```bash
93-
curl -X POST "https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.CognitiveServices/accounts/<RESOURCE_NAME>/deployments/<MODEL_DEPLOYMENT_NAME>api-version=2024-10-21" \
93+
curl -X POST "https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.CognitiveServices/accounts/<RESOURCE_NAME>/deployments/<MODEL_DEPLOYMENT_NAME>api-version=2025-04-01-preview" \
9494
-H "Authorization: Bearer <TOKEN>" \
9595
-H "Content-Type: application/json" \
9696
-d '{
@@ -180,7 +180,7 @@ print(response.choices[0].message.content)
180180
## [REST](#tab/rest)
181181

182182
```bash
183-
curl $AZURE_OPENAI_ENDPOINT/openai/deployments/<deployment_name>/chat/completions?api-version=2024-10-21 \
183+
curl $AZURE_OPENAI_ENDPOINT/openai/deployments/<deployment_name>/chat/completions?api-version=2025-04-01-preview \
184184
-H "Content-Type: application/json" \
185185
-H "api-key: $AZURE_OPENAI_API_KEY" \
186186
-d '{"messages":[{"role": "system", "content": "You are a helpful assistant."},{"role": "user", "content": "Does Azure OpenAI support customer managed keys?"},{"role": "assistant", "content": "Yes, customer managed keys are supported by Azure OpenAI."},{"role": "user", "content": "Do other Azure AI services support this too?"}]}'
@@ -203,7 +203,7 @@ To use the [Deployments - Delete REST API](/rest/api/aiservices/accountmanagemen
203203
Below is the REST API example to delete a deployment:
204204

205205
```bash
206-
curl -X DELETE "https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.CognitiveServices/accounts/<RESOURCE_NAME>/deployments/<MODEL_DEPLOYMENT_NAME>api-version=2024-10-21" \
206+
curl -X DELETE "https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.CognitiveServices/accounts/<RESOURCE_NAME>/deployments/<MODEL_DEPLOYMENT_NAME>api-version=2025-04-01-preview" \
207207
-H "Authorization: Bearer <TOKEN>"
208208
```
209209

articles/ai-foundry/openai/how-to/latency.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about performance and latency with Azure OpenAI
55
manager: nitinme
66
ms.service: azure-ai-openai
77
ms.topic: how-to
8-
ms.date: 07/02/2025
8+
ms.date: 07/21/2025
99
author: mrbullwinkle
1010
ms.author: mbullwin
1111
recommendations: false
@@ -90,13 +90,16 @@ Latency varies based on what model you're using. For an identical request, expec
9090

9191
When you send a completion request to the Azure OpenAI endpoint, your input text is converted to tokens that are then sent to your deployed model. The model receives the input tokens and then begins generating a response. It's an iterative sequential process, one token at a time. Another way to think of it is like a for loop with `n tokens = n iterations`. For most models, generating the response is the slowest step in the process.
9292

93-
At the time of the request, the requested generation size (max_tokens parameter) is used as an initial estimate of the generation size. The compute-time for generating the full size is reserved by the model as the request is processed. Once the generation is completed, the remaining quota is released. Ways to reduce the number of tokens:
93+
At the time of the request, the requested generation size (`max_tokens` parameter) is used as an initial estimate of the generation size. The compute-time for generating the full size is reserved by the model as the request is processed. Once the generation is completed, the remaining quota is released. Ways to reduce the number of tokens:
9494
- Set the `max_tokens` parameter on each call as small as possible.
9595
- Include stop sequences to prevent generating extra content.
9696
- Generate fewer responses: The best_of & n parameters can greatly increase latency because they generate multiple outputs. For the fastest response, either don't specify these values or set them to 1.
9797

9898
In summary, reducing the number of tokens generated per request reduces the latency of each request.
9999

100+
> [!NOTE]
101+
> `max_tokens` only changes the length of a response and in some cases might truncate it. The parameter doesn't change the quality of the response.
102+
100103
### Streaming
101104
Setting `stream: true` in a request makes the service return tokens as soon as they're available, instead of waiting for the full sequence of tokens to be generated. It doesn't change the time to get all the tokens, but it reduces the time for first response. This approach provides a better user experience since end-users can read the response as it is generated.
102105

articles/ai-foundry/responsible-ai/agents/transparency-note.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Key features of Azure AI Agent Service include:
8181

8282
### Agent Catalog
8383

84-
Azure AI Foundry Agent Service offers a range of different Agent code samples that can get you started toward building Agents for your specific use case needs. Each Agent code sample should be deployed with [risk management considerations](#considerations-when-choosing-a-use-case) in mind. See the [list of Agent code samples](/azure/ai-services/agents/how-to/agent-catalog#view-all-available-code-samples) currently available.
84+
Azure AI Foundry Agent Service offers a range of different Agent code samples that can get you started toward building Agents for your specific use case needs. Each Agent code sample should be deployed with [risk management considerations](#considerations-when-choosing-a-use-case) in mind. See the [list of Agent code samples](/azure/ai-foundry/agents/overview#agent-catalog) currently available.
8585

8686
### Extensibility capabilities
8787

@@ -129,7 +129,7 @@ Azure AI Agent Service is **flexible and use-case agnostic.** This presents mult
129129
* **Education: Assisting with Research and Reference Gathering:** A teacher relies on an agent to gather age-appropriate articles and resources from reputable sources for a planetary science lesson; the teacher verifies the materials for factual accuracy and adjusts them to fit the curriculum, ensuring students receive trustworthy content.
130130
* **Manufacturing: Inventory Oversight and Task Scheduling:** A factory supervisor deploys an agent to monitor inventory levels, schedule restocking when supplies run low, and optimize shift rosters; management confirms the agent’s suggestions and retains final decision-making authority.
131131

132-
Agent code samples have specific intended uses that are configurable by developers to carefully build upon, implement, and deploy agents. See [list of Agent code samples](/azure/ai-services/agents/how-to/agent-catalog#view-all-available-code-samples).
132+
Agent code samples have specific intended uses that are configurable by developers to carefully build upon, implement, and deploy agents. See [list of Agent code samples](/azure/ai-foundry/agents/overview#agent-catalog).
133133

134134

135135
#### Considerations when choosing a use case

articles/ai-foundry/responsible-ai/computer-vision/image-analysis-characteristics-and-limitations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ For information see [Image requirements](/azure/ai-services/computer-vision/over
7070

7171
## Next steps
7272

73-
* [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-transparency-note)
74-
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-guidance-for-integration)
73+
* [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-transparency-note)
74+
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-guidance-for-integration)
7575
* [Image Analysis Overview](/azure/ai-services/computer-vision/overview-image-analysis)
7676
* [QuickStart your Image Analysis use case development](/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library)
77-
* [Data, privacy, and security for Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-data-privacy-security)
77+
* [Data, privacy, and security for Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-data-privacy-security)

articles/ai-foundry/responsible-ai/computer-vision/image-analysis-data-privacy-security.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For additional security best practices and information, visit [Azure AI services
7575

7676
## Next steps
7777

78-
* [Characteristics and limitations](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-characteristics-and-limitations)
79-
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-guidance-for-integration)
78+
* [Characteristics and limitations](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-characteristics-and-limitations)
79+
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-guidance-for-integration)
8080
* [Quickstart your Image Analysis use case development](/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library)
81-
* [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-transparency-note)
81+
* [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-transparency-note)

articles/ai-foundry/responsible-ai/computer-vision/image-analysis-guidance-for-integration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ A successful privacy approach empowers individuals with information, and provide
4444
* Don't share any data without explicit consent from affected stakeholders or data owners, and minimize the data that is shared.
4545

4646
## Next steps
47-
* [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-transparency-note)
48-
* [Characteristics and limitations](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-characteristics-and-limitations)
49-
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-guidance-for-integration)
47+
* [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-transparency-note)
48+
* [Characteristics and limitations](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-characteristics-and-limitations)
49+
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-guidance-for-integration)
5050
* [QuickStart your Image Analysis use case development](/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library)
51-
* [Data, privacy, and security for Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-data-privacy-security)
51+
* [Data, privacy, and security for Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-data-privacy-security)
5252

articles/ai-foundry/responsible-ai/computer-vision/image-analysis-transparency-note.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ This section discusses Image Analysis and key considerations for using this tech
196196

197197
You can report feedback on the content filtering system [through support](/azure/ai-services/cognitive-services-support-options).
198198

199-
To ensure you have properly mitigated risks in your application, you should evaluate all potential harms carefully, follow guidance in the [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-transparency-note) and add scenario-specific mitigation as needed.
199+
To ensure you have properly mitigated risks in your application, you should evaluate all potential harms carefully, follow guidance in the [Transparency Note](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-transparency-note) and add scenario-specific mitigation as needed.
200200

201201
### Recommendations for preserving privacy
202202

@@ -272,7 +272,7 @@ Based on the model's performance, you need to decide if the model is appropriate
272272

273273
## Next steps
274274

275-
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-guidance-for-integration)
275+
* [Responsible deployment of Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-guidance-for-integration)
276276
* [Image Analysis Overview](/azure/ai-services/computer-vision/overview-image-analysis)
277277
* [QuickStart your Image Analysis use case development](/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library)
278-
* [Data, privacy, and security for Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/imageanalysis-data-privacy-security)
278+
* [Data, privacy, and security for Image Analysis](/azure/ai-foundry/responsible-ai/computer-vision/image-analysis-data-privacy-security)

articles/ai-foundry/responsible-ai/face/characteristics-and-limitations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can use the [Fairness Assessment Sample Notebook](https://go.microsoft.com/f
4040

4141
## How accurate is the facial liveness detection model?
4242

43-
The facial liveness detection solution from Microsoft is conformant to [ISO/IEC 30107-3:2017 – Biometric presentation attack detection – Part 3: Testing and reporting](https://webstore.ansi.org/standards/iso/isoiec301072017-1662258) standard as validated by iBeta level 1 and level 2 conformance testing.
43+
The facial liveness detection solution from Microsoft achieved a 0% penetration rate in [iBeta Level 1 and Level 2 Presentation Attack Detection (PAD) tests](https://servicetrust.microsoft.com/DocumentPage/ea3fa18f-3940-4c0b-aa96-41cb50898aee), conducted by a NIST/NVLAP-accredited laboratory and conformant to the [ISO/IEC 30107-3 PAD international standard](https://www.iso.org/standard/79520.html).
4444

4545
## Tradeoffs
4646

0 commit comments

Comments
 (0)