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: learn-pr/wwl-azure/guided-project-create-ai-travel-agent/includes/4-exercise-create-travel-itenerary.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
-
In this exercise, you create a handlebars prompt function that instructs the model to get the length of the user's trip before offering an itenerary. Let's get started!
1
+
In this exercise, you create a handlebars prompt function that instructs the model to get the length of the user's trip before offering an itinerary. Let's get started!
2
2
3
3
1. Navigate to the **Program.cs** file.
4
4
5
5
1. Add a handlebars prompt with the following text:
6
6
7
7
```c#
8
8
stringhbprompt="""
9
-
<message role="system">Instructions: Before providing the the user with a travel itenerary, ask how many days their trip is.</message>
10
-
<message role="user">I'm going to Rome. Can you create an itenerary for me?</message>
9
+
<message role="system">Instructions: Before providing the the user with a travel itinerary, ask how many days their trip is.</message>
10
+
<message role="user">I'm going to Rome. Can you create an itinerary for me?</message>
11
11
<message role="assistant">Sure, how many days is your trip?</message>
12
12
<message role="user">{{input}}</message>
13
13
""";
@@ -21,19 +21,19 @@ In this exercise, you create a handlebars prompt function that instructs the mod
0 commit comments