Skip to content

Commit e7fe655

Browse files
committed
freshness update
1 parent bdb39f8 commit e7fe655

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

articles/ai-studio/tutorials/copilot-sdk-build-rag.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to build a RAG-based chat app using the Azure AI Foundry
55
manager: scottpolly
66
ms.service: azure-ai-foundry
77
ms.topic: tutorial
8-
ms.date: 12/18/2024
8+
ms.date: 02/12/2025
99
ms.reviewer: lebaro
1010
ms.author: sgilley
1111
author: sdgilley
@@ -78,11 +78,6 @@ The search index is used to store vectorized data from the embeddings model. The
7878
python create_search_index.py
7979
```
8080

81-
1. Once the script is run, you can view your newly created index in the **Data + indexes** page of your Azure AI Foundry project. For more information, see [How to build and consume vector indexes in Azure AI Foundry portal](../how-to/index-add.md).
82-
83-
1. If you run the script again with the same index name, it creates a new version of the same index.
84-
85-
8681
## <a name="get-documents"></a> Get product documents
8782

8883
Next, you create a script to get product documents from the search index. The script queries the search index for documents that match a user's question.
@@ -176,6 +171,7 @@ To enable logging of telemetry to your project:
176171
python chat_with_products.py --query "I need a new tent for 4 people, what would you recommend?" --enable-telemetry
177172
```
178173
174+
Follow the link in the console output to see the telemetry data in your Application Insights resource. If it doesn't appear right away, wait a few minutes and select **Refresh** in the toolbar.
179175

180176
## Clean up resources
181177

articles/ai-studio/tutorials/copilot-sdk-create-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-foundry
77
ms.custom:
88
- ignite-2024
99
ms.topic: tutorial
10-
ms.date: 12/18/2024
10+
ms.date: 02/12/2025
1111
ms.reviewer: lebaro
1212
ms.author: sgilley
1313
author: sdgilley

articles/ai-studio/tutorials/copilot-sdk-evaluate.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ In Part 1 of this tutorial series, you created an **.env** file that specifies t
8585
1. In your project in Azure AI Foundry portal, select **Models + endpoints**.
8686
1. Select **gpt-4o-mini**.
8787
1. Select **Edit**.
88-
1. If you have quota to increase the **Tokens per Minute Rate Limit**, try increasing it to 30.
88+
1. If you have quota to increase the **Tokens per Minute Rate Limit**, try increasing it to 30 or above.
8989
1. Select **Save and close**.
9090

9191
### Run the evaluation script
@@ -108,6 +108,8 @@ In Part 1 of this tutorial series, you created an **.env** file that specifies t
108108
python evaluate.py
109109
```
110110

111+
Expect the evaluation to take a few minutes to complete.
112+
111113
### Interpret the evaluation output
112114

113115
In the console output, you see an answer for each question, followed by a table with summarized metrics. (You might see different columns in your output.)
@@ -160,7 +162,7 @@ For more information about evaluation results in Azure AI Foundry portal, see [H
160162
161163
Notice that the responses are not well grounded. In many cases, the model replies with a question rather than an answer. This is a result of the prompt template instructions.
162164
163-
* In your **assets/grounded_chat.prompty** file, find the sentence "If the question is related to outdoor/camping gear and clothing but vague, ask for clarifying questions instead of referencing documents."
165+
* In your **assets/grounded_chat.prompty** file, find the sentence "If the question is not related to outdoor/camping gear and clothing, just say 'Sorry, I only can answer queries related to outdoor/camping gear and clothing. So, how can I help?'"
164166
* Change the sentence to "If the question is related to outdoor/camping gear and clothing but vague, try to answer based on the reference documents, then ask for clarifying questions."
165167
* Save the file and re-run the evaluation script.
166168

0 commit comments

Comments
 (0)