Skip to content

Commit 698c48a

Browse files
committed
address data lab feedback
1 parent 7386802 commit 698c48a

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

Instructions/Labs/06-use-own-data.md

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,24 @@ To chat with the Azure OpenAI, you must first deploy a model to use through the
3636
1. On the **Overview** page for your Azure OpenAI resource, use the **Explore** button to open Azure OpenAI Studio in a new browser tab. Alternatively, navigate to [Azure OpenAI Studio](https://oai.azure.com/?azure-portal=true) directly.
3737
2. In Azure OpenAI Studio, create a new deployment with the following settings:
3838
- **Model name**: gpt-35-turbo
39-
- **Deployment name**: 35turbo
39+
- **Model version**: *Use the default version*
40+
- **Deployment name**: text-turbo
4041

4142
## Observe normal chat behavior without adding your own data
4243

4344
Before connecting Azure OpenAI to your data, first observe how the base model responds to queries without any grounding data.
4445

45-
1. Navigate to the **Chat** playground.
46+
1. Navigate to the **Chat** playground, and make sure the `gpt-35-turbo` model you deployed is selected in the **Configuration** pane (this should be the default, if you only have one deployed model).
4647
1. Enter the following prompts, and observe the output.
47-
- *I'd like to take a trip to New York. Where should I stay?*
48-
- *What are some facts about New York?*
48+
49+
```code
50+
I'd like to take a trip to New York. Where should I stay?
51+
```
52+
53+
```code
54+
What are some facts about New York?
55+
```
56+
4957
1. Try similar questions about tourism and places to stay for other locations that will be included in our grounding data, such as London, or San Francisco. You'll likely get complete responses about areas or neighborhoods, and some general facts about the city.
5058
5159
## Connect your data in the chat playground
@@ -55,8 +63,15 @@ Next, add your data in the chat playground to see how it responds with your data
5563
1. [Download the data](https://aka.ms/own-data-brochures) that you will use from GitHub. Extract the PDFs in the `.zip` provided.
5664
1. Navigate to the **Chat** playground, and select *Add your data* in the Assistant setup pane.
5765
1. Select **Add a data source** and choose *Upload files* from the dropdown.
58-
1. You'll need to create a storage account and Azure Cognitive Search resource. Under the dropdow for the storage resource, select **Create a new Azure Blob storage resource** and create the resource with a globally unique name.
59-
1. Once the resource is being created, come back to Azure OpenAI Studio and select **Create a new Azure Cognitive Search resource** with the following settings.
66+
1. You'll need to create a storage account and Azure Cognitive Search resource. Under the dropdown for the storage resource, select **Create a new Azure Blob storage resource**, and create a storage account with the following settings. Anything not specified leave as the default.
67+
68+
- **Subscription**: *Same subscription as your Azure OpenAI resource*
69+
- **Resource group**: *Same resource group as your Azure OpenAI resource*
70+
- **Storage account name**: *Enter globally unique name*
71+
- **Region**: *Same region as your Azure OpenAI resource*
72+
- **Redundancy**: Locally-redundant storage (LRS)
73+
74+
1. Once the resource is being created, come back to Azure OpenAI Studio and select **Create a new Azure Cognitive Search resource** with the following settings. Anything not specified leave as the default.
6075
6176
- **Subscription**: *Same subscription as your Azure OpenAI resource*
6277
- **Resource group**: *Same resource group as your Azure OpenAI resource*
@@ -81,8 +96,13 @@ Next, add your data in the chat playground to see how it responds with your data
8196
8297
Now that you've added your data, ask the same questions as you did previously, and see how the response differs.
8398
84-
- *I'd like to take a trip to New York. Where should I stay?*
85-
- *What are some facts about New York?*
99+
```code
100+
I'd like to take a trip to New York. Where should I stay?
101+
```
102+
103+
```code
104+
What are some facts about New York?
105+
```
86106

87107
You'll notice a very different response this time, with specifics about certain hotels and a mention of Margie's Travel, as well as references to where the information provided came from. If you open the PDF reference listed in the response, you'll see the same hotels as the model provided.
88108

0 commit comments

Comments
 (0)