Skip to content

Commit 3fb2f33

Browse files
committed
trying code include file syntax
1 parent 90851f4 commit 3fb2f33

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/cognitive-services/LUIS/luis-csharp-tutorial-bf-v4.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,23 @@ In order to develop the web app bot code, download the code and use on your loca
103103

104104
## Review code to send utterance to LUIS and get response
105105

106-
1. Open the **LuiHelper.cs** file. This is where the user utterance entered into the bot is sent to LUIS. The response from LUIS is returned from the method as a **BookDetails** object. When you create your own bot, you should also create your own object to return the details from LUIS.
106+
1. Open the **LuisHelper.cs** file. This is where the user utterance entered into the bot is sent to LUIS. The response from LUIS is returned from the method as a **BookDetails** object. When you create your own bot, you should also create your own object to return the details from LUIS.
107107

108108
[!code-csharp[Console app code that calls a LUIS endpoint](~/samples-luis/documentation-samples/quickstarts/analyze-text/csharp/Program.cs)]
109109

110-
[!code-csharp[Open the LuisHelper.js file. This is where the user utterance entered into the bot is sent to LUIS.](~/samples-luis/documentation-samples/tutorial-web-app-bot/v4/luis-csharp-bot-johnsmith-src/LuisHelper.cs)]
110+
[!code-csharp[Console app code that calls a LUIS endpoint](~/samples-luis/documentation-samples/tutorial-web-app-bot/v4/luis-csharp-bot-johnsmith-src/LuisHelper.cs)]
111111

112-
1. Open **BookingDetails.cs** to view how the object abstracts the LUIS information.
112+
1. Open **BookingDetails.cs** to view how the object abstracts the LUIS information.
113+
114+
[!code-csharp[Console app code that calls a LUIS endpoint](~/samples-luis/documentation-samples/quickstarts/analyze-text/csharp/Program.cs)]
113115

114116
[!code-csharp[Open the BookingDetails.cs file to view how the object abstracts the LUIS information.](~/samples-luis/documentation-samples/tutorial-web-app-bot/v4/luis-csharp-bot-johnsmith-src/BookingDetails.cs "Open the BookingDetails.cs file to view how the object abstracts the LUIS information.")]
115117
```
116118
117119
1. Open **Dialogs -> BookingDialog.cs** to understand how the BookingDetails object is used to manage the conversation flow. Travel details are asked in steps, then the entire booking is confirmed and finally repeated back to the user.
118120
121+
[!code-csharp[Console app code that calls a LUIS endpoint](~/samples-luis/documentation-samples/quickstarts/analyze-text/csharp/Program.cs)]
122+
119123
[!code-csharp[Open the Dialogs folder, then the BookingDialog.cs file to understand how the BookingDetails object is used to manage the conversation flow.](~/samples-luis/documentation-samples/tutorial-web-app-bot/v4/luis-csharp-bot-johnsmith-src/Dialogs/BookingDialog.cs "Open the Dialogs folder, then the BookingDialog.cs file to understand how the BookingDetails object is used to manage the conversation flow.")]
120124
```
121125

0 commit comments

Comments
 (0)