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
Copy file name to clipboardexpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,13 @@ products:
12
12
- azure-cognitive-search
13
13
- azure-cosmos-db
14
14
urlFragment: contoso-chat
15
-
name: Contoso Chat - Retail RAG Copilot with Azure AI Studio and Prompty (Python Implementation)
15
+
name: Contoso Chat - Retail RAG Copilot with Azure AI Foundry and Prompty (Python Implementation)
16
16
description: Build, evaluate, and deploy, a RAG-based retail copilot that responds to customer questions with responses grounded in the retailer's product and customer data.
# Contoso Chat: Retail RAG Copilot with Azure AI Studio and Prompty
21
+
# Contoso Chat: Retail RAG Copilot with Azure AI Foundry and Prompty
22
22
23
23
[](https://github.com/codespaces/new?hide_repo_select=true&machine=basicLinux32gb&repo=725257907&ref=main&devcontainer_path=.devcontainer%2Fdevcontainer.json&geo=UsEast)
24
24
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/azure-samples/contoso-chat)
@@ -102,9 +102,9 @@ To deploy and explore the sample, you will need:
102
102
1. An active GitHub account - [Signup for a free account here](https://github.com/signup)
103
103
1. Access to Azure OpenAI Services - [Learn about Limited Access here](https://learn.microsoft.com/legal/cognitive-services/openai/limited-access)
104
104
1. Access to Azure AI Search - [With Semantic Ranker](https://learn.microsoft.com/en-us/azure/search/semantic-search-overview) (premium feature)
105
-
1. Available Quota for: `text-embedding-ada-002`, `gpt-35-turbo`. and `gpt-4`
105
+
1. Available Quota for: `text-embedding-ada-002`, `gpt-4o-mini`. and `gpt-4`
106
106
107
-
We recommend deployments to `swedencentral` or `francecentral` as regions that can support all these models. In addition to the above, you will also need the ability to:
107
+
We recommend deployments to `eastus2` or `francecentral` as regions that can support all these models. In addition to the above, you will also need the ability to:
108
108
- provision Azure Monitor (free tier)
109
109
- provision Azure Container Apps (free tier)
110
110
- provision Azure CosmosDB for noSQL (free tier)
@@ -214,7 +214,7 @@ We can now proceed with next steps - click to expand for detailed instructions.
214
214
<details>
215
215
<summary> 3️⃣ | Validate the Infrastructure </summary>
216
216
217
-
1. Visit the [Azure Portal](https://portal.azure.con) - look for the `rg-ENVNAME` resource group created above
217
+
1. Visit the [Azure Portal](https://portal.azure.com) - look for the `rg-ENVNAME` resource group created above
218
218
1. Click the `Deployments` link in the **Essentials** section - wait till all are completed.
219
219
1. Return to `Overview` page - you should see: **35** deployments, **15** resources
220
220
1. Click on the `Azure CosmosDB resource`in the list
@@ -226,7 +226,7 @@ We can now proceed with next steps - click to expand for detailed instructions.
226
226
1. Click on the `Azure Container Apps` resource in the list
227
227
- Visit the resource detail page - click `Application Url`
228
228
- Verify that you see a hosted endpoint with a `Hello World` message on page
229
-
1. Next, visit the [Azure AI Studio](https://ai.azure.com) portal
229
+
1. Next, visit the [Azure AI Foundry](https://ai.azure.com) portal
230
230
- Sign in - you should be auto-logged in with existing Azure credential
231
231
- Click on `All Resources` - you should see an `AIServices` and `Hub` resources
232
232
- Click the hub resource - you should see an `AI Project` resource listed
@@ -316,7 +316,7 @@ This template currently uses the following models: `gpt35-turbo`, `gpt-4` and `t
316
316
317
317
Pricing for services may vary by region and usage and exact costs are hard to determine. You can _estimate_ the cost of this project's architecture with [Azure's pricing calculator](https://azure.microsoft.com/pricing/calculator/) with these services:
318
318
319
-
- Azure OpenAI - Standard tier, GPT-35-turbo and Ada models. [See Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/)
319
+
- Azure OpenAI - Standard tier, gpt-4, gpt-4o-mini and text-embedding-ada-002 models. [See Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/)
Copy file name to clipboardexpand all lines: docs/README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -12,18 +12,18 @@ products:
12
12
- azure-cognitive-search
13
13
- azure-cosmos-db
14
14
urlFragment: contoso-chat
15
-
name: Contoso Chat - Retail RAG Copilot with Azure AI Studio and Prompty (Python Implementation)
15
+
name: Contoso Chat - Retail RAG Copilot with Azure AI Foundry and Prompty (Python Implementation)
16
16
description: Build, evaluate, and deploy, a RAG-based retail copilot that responds to customer questions with responses grounded in the retailer's product and customer data.
> **This sample is being actively updated at present and make have breaking changes**. We are refactoring the code to use new Azure AI platform features and moving deployment from Azure AI Studio to Azure Container Apps. We will remove this notice once the migration is complete. Till then, please pause on submitting new issues as codebase is changing.
21
+
> **This sample is being actively updated at present and make have breaking changes**. We are refactoring the code to use new Azure AI platform features and moving deployment from Azure AI Foundry to Azure Container Apps. We will remove this notice once the migration is complete. Till then, please pause on submitting new issues as codebase is changing.
22
22
>
23
23
> **Some of the features used in this repository are in preview.** Preview versions are provided without a service level agreement, and they are not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/).**
24
24
25
25
26
-
# Contoso Chat: Retail RAG Copilot with Azure AI Studio and Prompty
26
+
# Contoso Chat: Retail RAG Copilot with Azure AI Foundry and Prompty
27
27
28
28
[](https://github.com/codespaces/new?hide_repo_select=true&machine=basicLinux32gb&repo=725257907&ref=main&devcontainer_path=.devcontainer%2Fdevcontainer.json&geo=UsEast)
29
29
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/azure-samples/contoso-chat)
@@ -108,7 +108,7 @@ To deploy and explore the sample, you will need:
108
108
1. An active GitHub account - [Signup for a free account here](https://github.com/signup)
109
109
1. Access to Azure OpenAI Services - [Learn about Limited Access here](https://learn.microsoft.com/legal/cognitive-services/openai/limited-access)
110
110
1. Access to Azure AI Search - [With Semantic Ranker](https://learn.microsoft.com/en-us/azure/search/semantic-search-overview) (premiun feature)
111
-
1. Available Quota for: `text-embedding-ada-002`, `gpt-35-turbo`. and `gpt-4`
111
+
1. Available Quota for: `text-embedding-ada-002`, `gpt-4`. and `gpt-4o-mini`
112
112
113
113
We recommend deployments to `swedencentral` or `francecentral` as regions that can support all these models. In addition to the above, you will also need the ability to:
114
114
- provision Azure Monitor (free tier)
@@ -220,7 +220,7 @@ We can now proceed with next steps - click to expand for detailed instructions.
220
220
<details>
221
221
<summary> 3️⃣ | Validate the Infrastructure </summary>
222
222
223
-
1. Visit the [Azure Portal](https://portal.azure.con) - look for the `rg-ENVNAME` resource group created above
223
+
1. Visit the [Azure Portal](https://portal.azure.com) - look for the `rg-ENVNAME` resource group created above
224
224
1. Click the `Deployments` link in the **Essentials** section - wait till all are completed.
225
225
1. Return to `Overview` page - you should see: **35** deployments, **15** resources
226
226
1. Click on the `Azure CosmosDB resource`in the list
@@ -232,7 +232,7 @@ We can now proceed with next steps - click to expand for detailed instructions.
232
232
1. Click on the `Azure Container Apps` resource in the list
233
233
- Visit the resource detail page - click `Application Url`
234
234
- Verify that you see a hosted endpoint with a `Hello World` message on page
235
-
1. Next, visit the [Azure AI Studio](https://ai.azure.com) portal
235
+
1. Next, visit the [Azure AI Foundry](https://ai.azure.com) portal
236
236
- Sign in - you should be auto-logged in with existing Azure credential
237
237
- Click on `All Resources` - you should see an `AIServices` and `Hub` resources
238
238
- Click the hub resource - you should see an `AI Project` resource listed
@@ -322,7 +322,7 @@ This template currently uses the following models: `gpt35-turbo`, `gpt-4` and `t
322
322
323
323
Pricing for services may vary by region and usage and exact costs are hard to determine. You can _estimate_ the cost of this project's architecture with [Azure's pricing calculator](https://azure.microsoft.com/pricing/calculator/) with these services:
324
324
325
-
- Azure OpenAI - Standard tier, GPT-35-turbo and Ada models. [See Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/)
325
+
- Azure OpenAI - Global Standard tier, gpt-4, gpt-4o-mini [See Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/)
Copy file name to clipboardexpand all lines: docs/workshop/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
## About Contoso Chat
9
9
10
-
The Contoso Chat repository provides a reference sample for an Azure AI Architecture and workflow to build a custom RAG-based copilot **code-first** on Azure AI Studio. The sample has been actively used to skill up developers in core Azure AI tools, services, and practices, since its creation in 2023.
10
+
The Contoso Chat repository provides a reference sample for an Azure AI Architecture and workflow to build a custom RAG-based copilot **code-first** on Azure AI Foundry. The sample has been actively used to skill up developers in core Azure AI tools, services, and practices, since its creation in 2023.
11
11
12
12
**The current version (v3) of the sample follows this architecture**.
Copy file name to clipboardexpand all lines: docs/workshop/docs/01-Introduction/02-RAG-Pattern.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -40,4 +40,4 @@ Let's learn how this design pattern works in the context of our Contoso Chat app
40
40
41
41
!!! info "The chat model uses prompt to generate a grounded response to user question."
42
42
43
-
This enhanced prompt is now sent to the Large Language "chat" model (e.g., Azure OpenAI `gpt-35-turbo` or `gpt-4o`) which sees the enhanced prompt (retrieved documents, customer profile data, chat history) as _grounding_ context for generating the final response, improving the quality (e.g., relevance, groundedness) of results returned from Contoso Chat.
43
+
This enhanced prompt is now sent to the Large Language "chat" model (e.g., Azure OpenAI `gpt-4` or `gpt-4o-mini`) which sees the enhanced prompt (retrieved documents, customer profile data, chat history) as _grounding_ context for generating the final response, improving the quality (e.g., relevance, groundedness) of results returned from Contoso Chat.
Copy file name to clipboardexpand all lines: docs/workshop/docs/01-Introduction/index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,15 @@
5
5
The workshop teaches you to **build, evaluate, and deploy a retail copilot** code-first on Azure AI. By the end of the workshop, you will learn to:
6
6
7
7
- Use the [Retrieval Augmented Generation (RAG) pattern](https://learn.microsoft.com/azure/ai-studio/concepts/retrieval-augmented-generation) <br/> (to ground responses in your own data).
8
-
- Use [Prompty](https://prompty.ai) with [Azure AI Studio](https://ai.azure.com) for code-first development <br/> (to take your copilot from prompt to production)
8
+
- Use [Prompty](https://prompty.ai) with [Azure AI Foundry](https://ai.azure.com) for code-first development <br/> (to take your copilot from prompt to production)
9
9
- Use [Azure Container Apps](https://aka.ms/azcontainerapps) <br/> for deployment (to get a hosted API endpoint for real-world use).
10
10
- Use [Dev Containers](https://containers.dev) with GitHub Codespaces <br/> (to get a consistent, reproducible environment across teams)
11
11
- Use [Azure Developer CLI](https://aka.ms/azd) with AI Application Templates <br/> (to provision & deploy apps consistently across teams)
Copy file name to clipboardexpand all lines: docs/workshop/docs/02-Setup/0-PreRequisites/index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ You **must** have a GitHub account to get started. Take a minute to [sign up for
38
38
On completing this workshop, you will have:
39
39
40
40
1. A personal copy of the [Contoso Chat](https://aka.ms/aitour/contoso-chat) repository in your GitHub profile. This contains all the materials you need to reproduce the workshop on your own later (e.g., as a _Self-Guided_ session).
41
-
1. Hands-on understanding of the [Azure AI Studio](https://ai.azure.com) platform and relevant developer tools (e.g., Azure Developer CLI, Prompty, Fast API) to streamline end-to-end development workflows for your own AI apps.
41
+
1. Hands-on understanding of the [Azure AI Foundry](https://ai.azure.com) platform and relevant developer tools (e.g., Azure Developer CLI, Prompty, Fast API) to streamline end-to-end development workflows for your own AI apps.
!!! info "Prompty will use the AZURE_OPENAI_CHAT_DEPLOYMENT variable from the .env file we created earlier to find the OpenAI endpoint we pre-deployed. For now, that env specifies _gpt-35-turbo_ as the model."
26
+
!!! info "Prompty will use the AZURE_OPENAI_CHAT_DEPLOYMENT variable from the .env file we created earlier to find the OpenAI endpoint we pre-deployed. For now, that env specifies _gpt-4o-mini_ as the model."
Copy file name to clipboardexpand all lines: docs/workshop/in-person-starts/MSIgnite-2024-Skillable.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ DO NOT DELETE OR EDIT THIS FILE UNLESS YOU ARE AN INSTRUCTOR FOR LAB 401
3
3
This file is dynamically retrieved and used by the Skillable VM as the Instruction Guide
4
4
-->
5
5
6
-
# LAB 401: Build a Retail Copilot Code-First on Azure AI Studio
6
+
# LAB 401: Build a Retail Copilot Code-First on Azure AI Foundry
7
7
8
8
This is a 75-minute instructor-led workshop at Microsoft Ignite 2024 where you learn to build, evaluate, and deploy, a RAG-based retail copilot on Azure AI.
0 commit comments