Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ritika2502 authored Nov 28, 2016
1 parent 01e6bed commit 2d3777e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CSharp/intelligence-LUIS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Finally, edit the [RootLuisDialog.cs](Dialogs/RootLuisDialog.cs#L20) file and up


````C#
#define useSampleModel
define useSampleModel

[Serializable]
#if useSampleModel
Expand Down Expand Up @@ -62,7 +62,7 @@ Check out the use of LuisIntent attributes decorating [RootLuisDialog](Dialogs/R
public async Task Search(IDialogContext context, IAwaitable<IMessageActivity> 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).
Expand Down

0 comments on commit 2d3777e

Please sign in to comment.