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
## Step 3: Create an agent with the Azure AI Search tool enabled
180
+
## Create an agent with the Azure AI Search tool enabled
181
181
Change the model to the one deployed in your project. You can find the model name in the Azure AI Foundry under the **Models** tab. You can also change the name and instructions of the agent to suit your needs.
console.log(`Created agent, agent ID : ${agent.id}`);
334
334
```
335
335
336
-
## Step 4: Create an agent with the Azure AI Search tool enabled
336
+
## Create an agent with the Azure AI Search tool enabled
337
337
338
338
Change the model to the one deployed in your project. You can find the model name in the Azure AI Foundry under the **Models** tab. You can also change the name and instructions of the agent to suit your needs.
339
339
@@ -348,7 +348,7 @@ console.log(`Created agent, agent ID : ${agent.id}`);
348
348
```
349
349
350
350
351
-
## Step 5: Ask the agent questions about data in the index
351
+
## Ask the agent questions about data in the index
352
352
Now that the agent is created, ask it questions about the data in your Azure AI Search index.
353
353
354
354
```javascript
@@ -413,10 +413,10 @@ for (let i = messages.data.length - 1; i >= 0; i--) {
413
413
414
414
:::zone pivot="rest"
415
415
416
-
## Step 1: Create an Azure AI Client
416
+
## Create an Azure AI Client
417
417
Follow the [REST API Quickstart](../../quickstart.md?pivots=rest-api) to set the right values for the environment variables `AZURE_AI_AGENTS_TOKEN` and `AZURE_AI_AGENTS_ENDPOINT`.
418
418
419
-
## Step 2: Get the connection ID for the Azure AI Search resource
419
+
## Get the connection ID for the Azure AI Search resource
420
420
Follow the next section on how to get the connection ID from the Azure AI Foundry.
421
421
422
422
The second way to get the connection ID is to navigate to the project in the Azure AI Foundry and click on the **Connected resources** tab and then select your Azure AI Search resource.
@@ -427,7 +427,7 @@ In the URL, you see the wsid=/subscription/your-subscription-id..., this is the
427
427
428
428
:::image type="content" source="../../media/tools/ai-search/connection-id.png" alt-text="A screenshot of an AI Search resource connection and how to copy the connection ID." lightbox="../../media/tools/ai-search/connection-id.png":::
429
429
430
-
## Step 3: Configure the Azure AI Search tool
430
+
## Configure the Azure AI Search tool
431
431
Using the connection ID you got in the previous step, you can now configure the Azure AI Search tool to use your Azure AI Search index.
For any issues with the Python code, create an issue on the [sample code repository](https://github.com/Azure-Samples/azure-functions-ai-services-agent-python/issues)
173
+
For any issues with the Python code, create an issue on the [sample code repository](https://github.com/azure-ai-foundry/foundry-samples)
0 commit comments