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/02-Prompt-actions/01-create-prompt-action.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,15 @@ This exercise should take approximately **15** minutes to complete.
16
16
## Create a custom prompt in Copilot Studio
17
17
18
18
1. Open Copilot Studio in your web browser by navigating to [Copilot Studio](https://copilotstudio.microsoft.com) at `https://copilotstudio.microsoft.com`.
19
-
1. Select **Tools** from the left hand navigation.
20
-
1. Select **New tool**.
21
-
1. On the New Tool popup window, select **Prompt**. You're taken to the prompt builder UI. Copilot is available within this window, but we'll define our prompt manually for this exercise.
22
-
1. In the textbox at the top of the window, select the auto-generated name and replace it with the name **Marketing Pitch Prompt**.
19
+
1. Select **Tools** from the left navigation.
20
+
1. Select **+ New tool**.
21
+
1. On the **New tool** dialog box, select **Prompt**. You're taken to the prompt builder UI. Copilot is available within this window, but you'll define the prompt manually for this exercise.
22
+
1. In the textbox at the top of the window, select the auto-generated name and replace it with the name `Marketing Pitch Prompt`.
23
23
1. In the **Instructions** text box, enter `Create a marketing pitch for a product based on a `.
24
-
1. Place your cursor at the end of the sentence you entered then select **Add content**
24
+
1. Place your cursor at the end of the sentence you entered, then select **Add content**.
25
25
1. Select **Text**.
26
26
1. In the **Name** field, enter `Draft`.
27
-
1.In the **Sample data** field, enter `The Mighty Mechanical Pencil is new, exciting, and useful. It's not only the first of its kind pencil, but it's fun to use.` then select **Close**.
27
+
1. In the **Sample data** field, enter `The Mighty Mechanical Pencil is new, exciting, and useful. It's not only the first of its kind pencil, but it's fun to use.` then select **Close**.
28
28
29
29

30
30
@@ -35,9 +35,10 @@ This exercise should take approximately **15** minutes to complete.
35
35
36
36
Let's refine the prompt to create more structured and consistent output.
37
37
38
-
1. In the **Instructions**textbox, add the following to the existing instructions to modify the prompt:
38
+
1. In the **Instructions**text box, add the following to the existing instructions to modify the prompt:
39
39
40
-
```The pitch should follow the following Contoso guidelines:
40
+
```plaintext
41
+
The pitch should follow the following Contoso guidelines:
41
42
- Start with a brief hook
42
43
- Describe unique value proposition
43
44
- End with a call-to-action
@@ -71,7 +72,9 @@ If you've completed the previous lab and created a declarative agent, you may ad
71
72
72
73
Update the agent's instructions to provide guidance for using the prompt.
73
74
74
-
1. In the **Instructions** text box, add the following to the existing instructions text and then **Save** your changes: `Use the Marketing Pitch Prompt tool to craft pitches for products that follow Contoso guidelines based on users' draft ideas.`
75
-
1. In the **Suggested prompts** section, replace the Eagle Air suggested prompt with the following suggested prompt and then **save** your changes: `Marketing Pitch` : `Create a marketing pitch following Contoso guidelines based on the following draft:`.
75
+
1. In the **Details** section, select **Edit**.
76
+
1. In the **Instructions** text box, add the following text to the existing instructions: `Use the Marketing Pitch Prompt tool to craft pitches for products that follow Contoso guidelines based on users' draft ideas.`
77
+
1. Select **Save** to save your changes.
78
+
1. In the **Suggested prompts** section, replace the Eagle Air suggested prompt with the following suggested prompt and then **Save** your changes: `Marketing Pitch` : `Create a marketing pitch following Contoso guidelines based on the following draft:`.
76
79
77
80
You've completed the exercise and created a prompt tool for your agent.
0 commit comments