From 2d3777ecf8fe2ef8d31b253d5da144f776788dc8 Mon Sep 17 00:00:00 2001 From: ritika2502 Date: Mon, 28 Nov 2016 11:30:01 -0800 Subject: [PATCH] Update README.md --- CSharp/intelligence-LUIS/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CSharp/intelligence-LUIS/README.md b/CSharp/intelligence-LUIS/README.md index abc93d850a..dd960530e5 100644 --- a/CSharp/intelligence-LUIS/README.md +++ b/CSharp/intelligence-LUIS/README.md @@ -26,7 +26,7 @@ Finally, edit the [RootLuisDialog.cs](Dialogs/RootLuisDialog.cs#L20) file and up ````C# -#define useSampleModel +define useSampleModel [Serializable] #if useSampleModel @@ -62,7 +62,7 @@ Check out the use of LuisIntent attributes decorating [RootLuisDialog](Dialogs/R public async Task Search(IDialogContext context, IAwaitable activity, LuisResult result) { ... -f} +} ```` Each intent handler method accepts the `IDialogContext`, the original incoming `IMessageActivity` message and the `LuisResult` including the matching Intents and Entities for the LUIS query. In the sample below, the [RootLuisDialog](Dialogs/RootLuisDialog.cs#L52) class retrieves a city value from the processed [pre-built entity](https://www.luis.ai/Help/#PreBuiltEntities).