Skip to content

Commit a314d4e

Browse files
Merge pull request #6015 from MicrosoftDocs/main
Auto Publish – main to live - 2025-07-14 17:11 UTC
2 parents bd40fd4 + ffc9c3b commit a314d4e

File tree

7 files changed

+21
-10
lines changed

7 files changed

+21
-10
lines changed

articles/ai-foundry/concepts/evaluation-evaluators/azure-openai-graders.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ from dotenv import load_dotenv
3131
load_dotenv()
3232

3333
model_config = AzureOpenAIModelConfiguration(
34-
azure_endpoint=os.environ["AZURE_ENDPOINT"],
35-
api_key=os.environ.get["AZURE_API_KEY"],
34+
azure_endpoint=os.environ.get("AZURE_ENDPOINT"),
35+
api_key=os.environ.get("AZURE_API_KEY"),
3636
azure_deployment=os.environ.get("AZURE_DEPLOYMENT_NAME"),
3737
api_version=os.environ.get("AZURE_API_VERSION"),
3838
)
@@ -193,7 +193,7 @@ sim_grader_evaluation = evaluate(
193193
"similarity": sim_grader
194194
},
195195
)
196-
evaluation
196+
sim_grader_evaluation
197197
```
198198

199199
### Text similarity output

articles/ai-foundry/how-to/disable-local-auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: azure-ai-foundry
88
ms.custom:
99
- ignite-2024
1010
ms.topic: how-to
11-
ms.date: 05/09/2025
11+
ms.date: 07/14/2025
1212
ms.reviewer: meerakurup
1313
#customer intent: As an admin, I want to disable shared key access to my resources to improve security.
1414
---
@@ -415,4 +415,4 @@ To work with a storage account with disabled shared key access, you might need t
415415
## Related content
416416

417417
- [Prevent shared key authorization for an Azure Storage account](/azure/storage/common/shared-key-authorization-prevent)
418-
- [Create an Azure AI Foundry hub](develop/create-hub-project-sdk.md)
418+
- [Create an Azure AI Foundry hub](develop/create-hub-project-sdk.md)

articles/ai-foundry/openai/includes/gpt-v-dotnet.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,14 @@ To run the quickstart, follow these steps:
100100
101101
var imageUrl = "YOUR_IMAGE_URL";
102102
103+
var textPart = ChatMessageContentPart.CreateTextPart("Describe this picture:");
104+
var imgPart = ChatMessageContentPart.CreateImagePart(imageUrl);
105+
103106
var chatMessages = new List<ChatMessage>
104107
{
105108
new SystemChatMessage("You are a helpful assistant."),
106-
new UserChatMessage($"Describe this picture: {imageUrl}")
109+
new UserChatMessage(textPart, imgPart)
110+
107111
};
108112
109113
ChatCompletion chatCompletion = await chatClient.CompleteChatAsync(chatMessages);

articles/ai-services/computer-vision/includes/how-to-guides/analyze-image-40-csharp.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ manager: nitinme
44
ms.service: ai-services
55
ms.subservice: computer-vision
66
ms.topic: include
7-
ms.date: 08/01/2023
7+
ms.date: 07/10/2025
88
ms.collection: "ce-skilling-fresh-tier2, ce-skilling-ai-copilot"
99
ms.update-cycle: 365-days
1010
ms.author: pafarley
@@ -17,6 +17,13 @@ This guide assumes you've followed the steps mentioned in the [quickstart](/azur
1717
* You have <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesComputerVision" title="Created a Computer Vision resource" target="_blank">created a Computer Vision resource </a> and obtained a key and endpoint URL.
1818
* You have the appropriate SDK package installed and you have a running [quickstart](/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library-40) application. You can modify this quickstart application based on code examples here.
1919

20+
## Add import statements
21+
22+
Make sure your code file has the following statements:
23+
24+
[!Code-csharp[](~/cognitive-services-quickstart-code/dotnet/ComputerVision/4-0/image-analysis-how-to/Program.cs?name=snippet_imports)]
25+
26+
2027
## Create and authenticate the client
2128

2229
To authenticate against the Image Analysis service, you need a Computer Vision key and endpoint URL. This guide assumes that you've defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.

articles/machine-learning/includes/retiring-vms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ ms.author: scottpolly
1818
>
1919
> These series retired on August 31, 2024:
2020
> * [Azure Av1-series](/azure/virtual-machines/av1-series-retirement)
21-
> * [Azure HB-series](/azure/virtual-machines/hb-series-retirement)
21+
> * [Azure HB-series](/azure/virtual-machines/sizes/overview)

articles/search/cognitive-search-attach-cognitive-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To attach an Azure AI multi-service resource, you must provide connection inform
3535
## Prerequisites
3636

3737
+ Connectivity over a public endpoint, unless your search service meets the creation date, tier, and region requirements for private connections to an Azure AI services multi-service resource.
38-
+ [Azure AI multi-service resource](/azure/ai-services/multi-service-resource) created via the [Azure portal[(https://portal.azure.com) only.
38+
+ [Azure AI multi-service resource](/azure/ai-services/multi-service-resource) created via the [Azure portal](https://portal.azure.com) only.
3939

4040
> [!NOTE]
4141
> If your Azure AI resource is configured to use a private endpoint, Azure AI Search can connect [using a shared private link](search-indexer-howto-access-private.md) For more information, see the [requirements and limits for using shared private links](search-limits-quotas-capacity.md#shared-private-link-resource-limits).

articles/search/semantic-how-to-enable-scoring-profiles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ POST https://{service-name}.search.windows.com/indexes/{index-name}/docs/search?
9292
}
9393
```
9494

95-
The response includes the new `rerankerBoostedScore`, alongside the L1 `@search.score` and the L2 `@search.rerankerSocre`. Results are ordered by `@search.rerankerBoostedScore`.
95+
The response includes the new `rerankerBoostedScore`, alongside the L1 `@search.score` and the L2 `@search.rerankerScore`. Results are ordered by `@search.rerankerBoostedScore`.
9696

9797
```json
9898
{

0 commit comments

Comments
 (0)