Skip to content

Commit 95f5fc7

Browse files
authored
Merge pull request #26 from Desiderio25/Fix/lab2.1/update-instructions
style(lab02/ex01): apply Microsoft Learn style to prompt action lab
2 parents e5ed1f7 + 31e7cfd commit 95f5fc7

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

Instructions/Labs/02-Prompt-actions/01-create-prompt-action.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ This exercise should take approximately **15** minutes to complete.
1616
## Create a custom prompt in Copilot Studio
1717

1818
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`.
2323
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**.
2525
1. Select **Text**.
2626
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**.
2828

2929
![Screenshot of the prompt builder UI in Copilot Studio showing an input variable being configured with the name "Draft".](../Media/prompt-content-sample-data.png)
3030

@@ -35,9 +35,10 @@ This exercise should take approximately **15** minutes to complete.
3535

3636
Let's refine the prompt to create more structured and consistent output.
3737

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:
3939

40-
```The pitch should follow the following Contoso guidelines:
40+
```plaintext
41+
The pitch should follow the following Contoso guidelines:
4142
- Start with a brief hook
4243
- Describe unique value proposition
4344
- 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
7172
7273
Update the agent's instructions to provide guidance for using the prompt.
7374
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:`.
7679
7780
You've completed the exercise and created a prompt tool for your agent.
70.5 KB
Loading
51.7 KB
Loading

0 commit comments

Comments
 (0)