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/Exercises/01-get-started-azure-openai.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ Azure OpenAI provides a web-based portal named **Azure OpenAI Studio**, that you
36
36
-**Deployment name**: *A unique name of your choice*
37
37
-**Advanced options**
38
38
-**Content filter**: Default
39
+
-**Deployment type**: Standard
39
40
-**Tokens per minute rate limit**: 5K\*
40
41
-**Enable dynamic quota**: Enabled
41
42
@@ -54,14 +55,14 @@ The *Chat* playground provides a chatbot interface for GPT 3.5 and higher models
54
55
1. In the **Configuration** section, ensure that your model deployment is selected.
55
56
1. In the **Assistant setup** section, in the **System message** box, replace the current text with the following statement: `The system is an AI teacher that helps people learn about AI`.
56
57
57
-
3. Below the **System message** box, select **Add an example**, and type the following message and response in the designated boxes:
58
+
3. Below the **System message** box, in the **Examples** section, select **Add**. Then type the following message and response in the designated boxes:
58
59
59
60
-**User**: `What are different types of artificial intelligence?`
60
61
-**Assistant**: `There are three main types of artificial intelligence: Narrow or Weak AI (such as virtual assistants like Siri or Alexa, image recognition software, and spam filters), General or Strong AI (AI designed to be as intelligent as a human being. This type of AI does not currently exist and is purely theoretical), and Artificial Superintelligence (AI that is more intelligent than any human being and can perform tasks that are beyond human comprehension. This type of AI is also purely theoretical and has not yet been developed).`
61
62
62
63
> **Note**: Few-shot examples are used to provide the model with examples of the types of responses that are expected. The model will attempt to reflect the tone and style of the examples in its own responses.
63
64
64
-
4.Save the changes to start a new session and set the behavioral context of the chat system.
65
+
4.Apply the changes to start a new session and set the behavioral context of the chat system.
65
66
5. In the **Chat session** section, enter the user query `What is artificial intelligence?`
66
67
67
68
> **Note**: You may receive a response that the API deployment is not yet ready. If so, wait for a few minutes and try again.
@@ -104,7 +105,7 @@ You can use the prompt and parameters to maximize the likelihood of generating t
104
105
In addition to generating natural language responses, you can use GPT models to generate code.
105
106
106
107
1. In the **Assistant setup** pane, select the **Empty Example** template to reset the system message.
107
-
2. Enter the system message: `You are a Python developer.` and save the changes.
108
+
2. Enter the system message: `You are a Python developer.` and apply the changes.
108
109
3. In the **Chat session** pane, select **Clear chat** to clear the chat history and start a new session.
Copy file name to clipboardExpand all lines: Instructions/Exercises/03-prompt-engineering.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ Azure OpenAI provides a web-based portal named **Azure OpenAI Studio**, that you
36
36
-**Deployment name**: *A unique name of your choice. You'll use this name later in the lab.*
37
37
-**Advanced options**
38
38
-**Content filter**: Default
39
+
-**Deployment type**: Standard
39
40
-**Tokens per minute rate limit**: 5K\*
40
41
-**Enable dynamic quota**: Enabled
41
42
@@ -69,7 +70,7 @@ Let's start by exploring some prompt engineering techniques in the Chat playgrou
69
70
70
71
5. In the **Assistant setup** section change the system message to `You are a news aggregator that categorizes news articles.`
71
72
72
-
6. Under the new system message, select the **Add an example** button. Add the following example.
73
+
6. Under the new system message, in the **Examples** section, select the **Add** button. Then add the following example.
73
74
74
75
**User:**
75
76
@@ -114,7 +115,7 @@ Let's start by exploring some prompt engineering techniques in the Chat playgrou
114
115
Entertainment
115
116
```
116
117
117
-
8. Use the **Save changes** button at the top of the **Assistent setup** section to update the system message.
118
+
8. Use the **Apply changes** button at the top of the **Assistent setup** section to update the system message.
118
119
119
120
9. In the **Chat session** section, resubmit the following prompt:
120
121
@@ -132,7 +133,7 @@ Let's start by exploring some prompt engineering techniques in the Chat playgrou
132
133
133
134
The combination of a more specific system message and some examples of expected queries and responses results in a consistant format for the results.
134
135
135
-
10. In the **Assistant setup** section, change the system message back to the default template, which should be `You are an AI assistant that helps people find information.` with no examples. Then save the changes.
136
+
10. In the **Assistant setup** section, change the system message back to the default template, which should be `You are an AI assistant that helps people find information.` with no examples. Then apply the changes.
136
137
137
138
11. In the **Chat session** section, submit the following prompt:
138
139
@@ -144,7 +145,7 @@ Let's start by exploring some prompt engineering techniques in the Chat playgrou
144
145
145
146
The model will likely respond with an answer to satisfy the prompt, split into a numbered list. This is an appropriate response, but suppose what you actually wanted was for the model to write a Python program that performs the tasks you described?
146
147
147
-
12. Change the system message to `You are a coding assistant helping write python code.` and click **Save changes**
148
+
12. Change the system message to `You are a coding assistant helping write python code.` and apply the changes.
0 commit comments