MockLuisRecognizer(LuisAdaptiveRecognizer, String, String) 构造函数

定义

初始化 MockLuisRecognizer 类的新实例。

public MockLuisRecognizer (Microsoft.Bot.Builder.AI.Luis.LuisAdaptiveRecognizer recognizer, string resourceDir, string name);
new Microsoft.Bot.Builder.AI.Luis.Testing.MockLuisRecognizer : Microsoft.Bot.Builder.AI.Luis.LuisAdaptiveRecognizer * string * string -> Microsoft.Bot.Builder.AI.Luis.Testing.MockLuisRecognizer
Public Sub New (recognizer As LuisAdaptiveRecognizer, resourceDir As String, name As String)

参数

recognizer
LuisAdaptiveRecognizer

LUIS 识别器定义。

resourceDir
String

找到 lubuild 生成的设置文件的位置。

name
String

LUIS 模型的名称。

适用于