You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save the name of your model deployment name as an environment variable named `ModelDeploymentName`.
179
+
180
+
* The connection ID for your Grounding with Bing Search resource. You can find it in the Azure AI Foundry portal by selecting **Management center** from the left navigation menu. Then selecting **Connected resources**. Then select your bing resource.
181
+
182
+
:::image type="content" source="../../media/tools/deep-research/bing-resource-name.png" alt-text="A screenshot showing the Grounding with Bing Search resource name. " lightbox="../../media/tools/deep-research/bing-resource-name.png":::
183
+
184
+
Copy the ID, and save it to an environment variable named `BingConnectionId`.
185
+
186
+
:::image type="content" source="../../media/tools/deep-research/bing-id.png" alt-text="A screenshot showing the Grounding with Bing Search ID. " lightbox="../../media/tools/deep-research/bing-id.png":::
187
+
165
188
## Create a project client
166
189
167
190
Create a client object, which will contain the project endpoint for connecting to your AI project and other resources.
@@ -170,19 +193,10 @@ Create a client object, which will contain the project endpoint for connecting t
170
193
usingAzure;
171
194
usingAzure.AI.Agents.Persistent;
172
195
usingAzure.Identity;
173
-
usingMicrosoft.Extensions.Configuration;
174
-
usingSystem;
175
-
usingSystem.Threading;
176
196
177
-
// Get Connection information from app configuration
@@ -193,18 +207,10 @@ PersistentAgentsClient agentClient = new(projectEndpoint, new DefaultAzureCreden
193
207
To make the Grounding with Bing search tool available to your agent, use a connection to initialize the tool and attach it to the agent. You can find your connection in the **connected resources** section of your project in the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs).
0 commit comments