Skip to content

Commit 022de22

Browse files
authored
Merge pull request #235 from MicrosoftDocs/main
9/11/2024 PM Publish
2 parents 58bae4e + fa205db commit 022de22

File tree

2 files changed

+46
-45
lines changed

2 files changed

+46
-45
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.date: 08/29/2024
99
ms.reviewer: lebaro
1010
ms.author: sgilley
1111
author: sdgilley
12+
ms.custom: [copilot-learning-hub]
1213
#customer intent: As a developer, I want to learn how to use the prompt flow SDK so that I can build a RAG-based chat app.
1314
---
1415

@@ -29,7 +30,7 @@ This tutorial is part two of a three-part tutorial.
2930

3031
* Complete [Tutorial: Part 1 - Create resources for building a custom chat application with the prompt flow SDK](copilot-sdk-create-resources.md).
3132

32-
* You need a local copy of product data. The [Azure-Samples/rag-data-openai-python-promptflow repository on GitHub](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/) contains sample retail product information that's relevant for this tutorial scenario. [Download the example Contoso Trek retail product data in a ZIP file](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/tree/main/tutorial/data) to your local machine.
33+
* You need a local copy of product data. The [Azure-Samples/rag-data-openai-python-promptflow repository on GitHub](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/) contains sample retail product information that's relevant for this tutorial scenario. [Download the example Contoso Trek retail product data in a ZIP file](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/blob/main/tutorial/data/product-info.zip) to your local machine.
3334

3435
## Application code structure
3536

@@ -114,7 +115,7 @@ These steps deploy a model to a real-time endpoint from the AI Studio [model cat
114115
When you deploy the `gpt-3.5-turbo` model, find the following values in the **View Code** section, and add them to your **.env** file:
115116
116117
```env
117-
AZURE_OPENAI_ENDPOINT=<chat_model_endpoint_value>
118+
AZURE_OPENAI_ENDPOINT=<endpoint_value>
118119
AZURE_OPENAI_CHAT_DEPLOYMENT=<chat_model_deployment_name>
119120
AZURE_OPENAI_API_VERSION=<api_version>
120121
```
@@ -155,7 +156,7 @@ The goal with this RAG-based application is to ground the model responses in you
155156

156157
If you don't have an Azure AI Search index already created, we walk through how to create one. If you already have an index to use, you can skip to the [set the search environment variable](#set-search-index) section. The search index is created on the Azure AI Search service that was either created or referenced in the previous step.
157158

158-
1. Use your own data or [download the example Contoso Trek retail product data in a ZIP file](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/tree/main/tutorial/data) to your local machine. Unzip the file into your **rag-tutorial** folder. This data is a collection of markdown files that represent product information. The data is structured in a way that is easy to ingest into a search index. You build a search index from this data.
159+
1. Use your own data or [download the example Contoso Trek retail product data in a ZIP file](https://github.com/Azure-Samples/rag-data-openai-python-promptflow/blob/main/tutorial/data/product-info.zip) to your local machine. Unzip the file into your **rag-tutorial/data** folder. This data is a collection of markdown files that represent product information. The data is structured in a way that is easy to ingest into a search index. You build a search index from this data.
159160

160161
1. The prompt flow RAG package allows you to ingest the markdown files, locally create a search index, and register it in the cloud project. Install the prompt flow RAG package:
161162

0 commit comments

Comments
 (0)