Skip to content

Commit ad5240b

Browse files
committed
article updates
1 parent fa18d8f commit ad5240b

File tree

10 files changed

+9
-15
lines changed

10 files changed

+9
-15
lines changed

articles/ai-services/agents/how-to/tools/azure-ai-search.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,12 @@ Use an existing Azure AI Search index with the agent's Azure AI Search tool.
3333
**Index with semantic configuration**
3434
- By default, the Azure AI Search tool runs hybrid + semantic search on all text fields.
3535

36-
::: zone-end
37-
38-
::: zone pivot="setup"
39-
40-
[!INCLUDE [acs-setup](../../includes/acs/acs-setup.md)]
36+
[!INCLUDE [setup](../../includes/azure-search/setup.md)]
4137

4238
::: zone-end
4339

4440
::: zone pivot="code-examples"
4541

46-
[!INCLUDE [acs-code-examples](../../includes/acs/acs-code-examples.md)]
42+
[!INCLUDE [code-examples](../../includes/azure-search/code-examples.md)]
4743

4844
::: zone-end
File renamed without changes.

articles/ai-services/agents/includes/acs/acs-setup.md renamed to articles/ai-services/agents/includes/azure-search/setup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ If you already connected the AI Search resource that contains the index you want
3131
- In the Overview tab, copy the URL of your resource. The URL should be in the format `https://<your-resource-name>.search.windows.net/`.
3232
:::image type="content" source="../../media/tools/ai-search/connection-endpoint.png" alt-text="A screenshot of an AI Search resource Overview tab in the Azure portal." lightbox="../../media/tools/ai-search/connection-endpoint.png":::
3333

34-
3. Verify API Acccess control is set to **Both** and copy one of the keys under **Manage admin keys**.
34+
3. Verify API Access control is set to **Both** and copy one of the keys under **Manage admin keys**.
3535
- From the left-hand navigation bar, scroll down to the Settings section and select **Keys**.
3636
- Under the **API Access Control** section, ensure the option **Both** API key and Role-based access control is selected.
3737
- If you want the connection to use API Keys for authentication, copy one of the keys under **Manage admin keys**.
38-
:::image type="content" source="../../media/tools/ai-search/acs-azure-portal.png" alt-text="A screenshot of an AI Search resource Keys tab in the Azure portal." lightbox="../../media/tools/ai-search/acs-azure-portal.png":::
38+
:::image type="content" source="../../media/tools/ai-search/azure-portal.png" alt-text="A screenshot of an AI Search resource Keys tab in the Azure portal." lightbox="../../media/tools/ai-search/azure-portal.png":::
3939

4040
##### Create an Azure AI Search project connection
4141

@@ -72,8 +72,8 @@ Replace the placeholders ```my_connection_name```, ```my_endpoint```, and ```my_
7272
from azure.ai.ml.entities import AzureAISearchConnection
7373
7474
# create an Azure AI Search project connection
75-
my_connection_name = "my-acs-connection-name"
76-
my_endpoint = "my-acs-endpoint" # this could also be called target
75+
my_connection_name = "my-connection-name"
76+
my_endpoint = "my-endpoint" # this could also be called target
7777
my_api_keys = None # leave blank for Authentication type = AAD
7878
7979
my_connection = AzureAISearchConnection(name=my_connection_name,
@@ -92,12 +92,12 @@ ml_client.connections.create_or_update(my_connection)
9292
:::image type="content" source="../../media/tools/ai-search/project-connections-page.png" alt-text="A screenshot of the project connections page." lightbox="../../media/tools/ai-search/project-connections-page.png":::
9393

9494
3. Select **Azure AI Search**.
95-
:::image type="content" source="../../media/tools/ai-search/select-acs.png" alt-text="A screenshot of the Azure AI Search connection type the user should select." lightbox="../../media/tools/ai-search/select-acs.png":::
95+
:::image type="content" source="../../media/tools/ai-search/select.png" alt-text="A screenshot of the Azure AI Search connection type the user should select." lightbox="../../media/tools/ai-search/select.png":::
9696

9797
4. Provide the required connection details for the Azure AI Search resource you want to use. Both Managed Identity and Key-based authentication are supported. Once all the fields are filled in, click **Add connection**.
98-
:::image type="content" source="../../media/tools/ai-search/acs-connection-2.png" alt-text="A screenshot the required fields to add a new Azure AI Search connection." lightbox="../../media/tools/ai-search/acs-connection-2.png":::
98+
:::image type="content" source="../../media/tools/ai-search/connection-2.png" alt-text="A screenshot the required fields to add a new Azure AI Search connection." lightbox="../../media/tools/ai-search/connection-2.png":::
9999

100100
5. Verify that the connection was successfully created and now appears in the project's Connections tab.
101-
:::image type="content" source="../../media/tools/ai-search/success-acs-connection.png" alt-text="A screenshot of the project connections page with a new Azure AI Search connection added." lightbox="../../media/tools/ai-search/success-acs-connection.png":::
101+
:::image type="content" source="../../media/tools/ai-search/success-connection.png" alt-text="A screenshot of the project connections page with a new Azure AI Search connection added." lightbox="../../media/tools/ai-search/success-connection.png":::
102102
---
103103

zone-pivots/zone-pivot-groups.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,8 +945,6 @@ groups:
945945
pivots:
946946
- id: overview
947947
title: Overview
948-
- id: setup
949-
title: Setup
950948
- id: code-examples
951949
title: Code examples
952950
- id: selection-bing-grounding

0 commit comments

Comments
 (0)