-
Notifications
You must be signed in to change notification settings - Fork 177
/
ILuisModel.cs
59 lines (53 loc) · 1.54 KB
/
ILuisModel.cs
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
using System.Text;
namespace Bot.Builder.Community.Dialogs.Luis
{
/// <summary>
/// A mockable interface for the LUIS model.
/// </summary>
public interface ILuisModel
{
/// <summary>
/// Gets the LUIS model ID.
/// </summary>
/// <value>
/// The LUIS model ID.
/// </value>
string ModelID { get; }
/// <summary>
/// Gets he LUIS subscription key.
/// </summary>
/// <value>
/// He LUIS subscription key.
/// </value>
string SubscriptionKey { get; }
/// <summary>
/// Gets the base Uri for accessing LUIS.
/// </summary>
/// <value>
/// The base Uri for accessing LUIS.
/// </value>
Uri UriBase { get; }
/// <summary>
/// Gets the Luis Api Version.
/// </summary>
/// <value>
/// The Luis Api Version.
/// </value>
LuisApiVersion ApiVersion { get; }
/// <summary>
/// Gets the Threshold for top scoring intent
/// </summary>
/// <value>
/// The Threshold for top scoring intent
/// </value>
double Threshold { get; }
/// <summary>
/// Modify a Luis request to specify query parameters like spelling or logging.
/// </summary>
/// <param name="request">Request so far.</param>
/// <returns>Modified request.</returns>
LuisRequest ModifyRequest(LuisRequest request);
}
}