语言

LuisApplication 构造函数

定义

重载

名称 说明
LuisApplication()

初始化 LuisApplication 类的新实例。

LuisApplication(LuisService)
已过时.

初始化 LuisApplication 类的新实例。

LuisApplication(String)

初始化 LuisApplication 类的新实例。

LuisApplication(String, String, String)

初始化 LuisApplication 类的新实例。

LuisApplication()

初始化 LuisApplication 类的新实例。

public LuisApplication();
Public Sub New ()

适用于

LuisApplication(LuisService)

注意

The LuisService class is obsolete and it will be removed in a future version of the framework, use LuisApplication(string applicationId, string endpointKey, string endpoint) instead.

初始化 LuisApplication 类的新实例。

[System.Obsolete("The LuisService class is obsolete and it will be removed in a future version of the framework, use LuisApplication(string applicationId, string endpointKey, string endpoint) instead.", false)]
public LuisApplication(Microsoft.Bot.Configuration.LuisService service);
[<System.Obsolete("The LuisService class is obsolete and it will be removed in a future version of the framework, use LuisApplication(string applicationId, string endpointKey, string endpoint) instead.", false)>]
new Microsoft.Bot.Builder.AI.Luis.LuisApplication : Microsoft.Bot.Configuration.LuisService -> Microsoft.Bot.Builder.AI.Luis.LuisApplication
Public Sub New (service As LuisService)

参数

service
LuisService

LUIS 配置。

属性

适用于

LuisApplication(String)

初始化 LuisApplication 类的新实例。

public LuisApplication(string applicationEndpoint);
new Microsoft.Bot.Builder.AI.Luis.LuisApplication : string -> Microsoft.Bot.Builder.AI.Luis.LuisApplication
Public Sub New (applicationEndpoint As String)

参数

applicationEndpoint
String

LUIS 应用程序终结点。

适用于

LuisApplication(String, String, String)

初始化 LuisApplication 类的新实例。

public LuisApplication(string applicationId, string endpointKey, string endpoint);
new Microsoft.Bot.Builder.AI.Luis.LuisApplication : string * string * string -> Microsoft.Bot.Builder.AI.Luis.LuisApplication
Public Sub New (applicationId As String, endpointKey As String, endpoint As String)

参数

applicationId
String

LUIS 应用程序 ID。

endpointKey
String

LUIS 订阅或终结点密钥。

endpoint
String

LUIS 端点用 类似 https://westus.api.cognitive.microsoft.com。

适用于