forked from BotBuilderCommunity/botbuilder-community-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLuisServiceResult.cs
More file actions
27 lines (22 loc) · 834 Bytes
/
Copy pathLuisServiceResult.cs
File metadata and controls
27 lines (22 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using Bot.Builder.Community.Dialogs.Luis.Models;
namespace Bot.Builder.Community.Dialogs.Luis
{
/// <summary>
/// Matches a LuisResult object with the best scored IntentRecommendation of the LuisResult
/// and corresponding Luis service.
/// </summary>
public class LuisServiceResult
{
public LuisServiceResult(LuisResult result, IntentRecommendation intent, ILuisService service, ILuisOptions luisRequest = null)
{
this.Result = result;
this.BestIntent = intent;
this.LuisService = service;
this.LuisRequest = luisRequest;
}
public LuisResult Result { get; }
public IntentRecommendation BestIntent { get; }
public ILuisService LuisService { get; }
public ILuisOptions LuisRequest { get; }
}
}