Skip to content

Commit 95d23e8

Browse files
Merge pull request #2691 from lgayhardt/pf0125p4
Prompt flow Serp tool freshness update
2 parents 3c3fb74 + 6ff83c9 commit 95d23e8

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

articles/ai-studio/how-to/prompt-flow-tools/serp-api-tool.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom:
88
- ignite-2023
99
- build-2024
1010
ms.topic: how-to
11-
ms.date: 5/21/2024
11+
ms.date: 01/31/2025
1212
ms.reviewer: keli19
1313
ms.author: lagayhar
1414
author: lgayhardt
@@ -29,15 +29,12 @@ Sign up on the [Serp API home page](https://serpapi.com/).
2929
To create a Serp connection:
3030

3131
1. Sign in to [Azure AI Foundry](https://ml.azure.com/).
32-
1. Go to **Project settings** > **Connections**.
33-
1. Select **+ New connection**.
34-
1. Add the following custom keys to the connection:
32+
1. Go to project settings by selecting **Management Center** > **Overview**
33+
1. Under *Connected resources*, select **+ New connection**.
34+
1. Under *Other resource types*, select **Serp**.
35+
1. Add your API key for Serp and make a connection name. Then select **Add connection**.
3536

36-
- `azureml.flow.connection_type`: `Custom`
37-
- `azureml.flow.module`: `promptflow.connections`
38-
- `api_key`: Your Serp API key. You must select the **is secret** checkbox to keep the API key secure.
39-
40-
:::image type="content" source="../../media/prompt-flow/serp-custom-connection-keys.png" alt-text="Screenshot that shows adding extra information to a custom connection in Azure AI Foundry portal." lightbox = "../../media/prompt-flow/serp-custom-connection-keys.png":::
37+
:::image type="content" source="../../media/prompt-flow/serp-connection-keys.png" alt-text="Screenshot that shows adding Serp connection in Azure AI Foundry portal." lightbox = "../../media/prompt-flow/serp-connection-keys.png":::
4138

4239
The connection is the model used to establish connections with the Serp API. Get your API key from the Serp API account dashboard.
4340

@@ -52,7 +49,7 @@ The connection is the model used to establish connections with the Serp API. Get
5249

5350
:::image type="content" source="../../media/prompt-flow/serp-api-tool.png" alt-text="Screenshot that shows the Serp API tool added to a flow in Azure AI Foundry portal." lightbox="../../media/prompt-flow/serp-api-tool.png":::
5451

55-
1. Select the connection to one of your provisioned resources. For example, select **SerpConnection** if you created a connection with that name. For more information, see [Prerequisites](#prerequisites).
52+
1. Select the connection to one of your provisioned resources. For example, select "Serp Connection" if you created a connection with that name. For more information, see [Prerequisites](#prerequisites).
5653
1. Enter values for the Serp API tool input parameters described in the [Inputs table](#inputs).
5754
1. Add more tools to your flow, as needed. Or select **Run** to run the flow.
5855
1. The outputs are described in the [Outputs table](#outputs).
22.3 KB
Loading
36.8 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)