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: Instructions/Labs/06-use-own-data.md
+28-8Lines changed: 28 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -36,16 +36,24 @@ To chat with the Azure OpenAI, you must first deploy a model to use through the
36
36
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.
37
37
2. In Azure OpenAI Studio, create a new deployment with the following settings:
38
38
-**Model name**: gpt-35-turbo
39
-
-**Deployment name**: 35turbo
39
+
-**Model version**: *Use the default version*
40
+
-**Deployment name**: text-turbo
40
41
41
42
## Observe normal chat behavior without adding your own data
42
43
43
44
Before connecting Azure OpenAI to your data, first observe how the base model responds to queries without any grounding data.
44
45
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).
46
47
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
+
49
57
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.
50
58
51
59
## 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
55
63
1. [Download the data](https://aka.ms/own-data-brochures) that you will use from GitHub. Extract the PDFs in the `.zip` provided.
56
64
1. Navigate to the **Chat** playground, and select *Add your data* in the Assistant setup pane.
57
65
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*
- **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.
60
75
61
76
- **Subscription**: *Same subscription as your Azure OpenAI resource*
62
77
- **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
81
96
82
97
Now that you've added your data, ask the same questions as you did previously, and see how the response differs.
83
98
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
+
```
86
106
87
107
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.
0 commit comments