MockLuisRecognizer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Test class for creating cached LUIS responses for testing.
public class MockLuisRecognizer : Microsoft.Bot.Builder.Dialogs.Recognizer
type MockLuisRecognizer = class
inherit Recognizer
Public Class MockLuisRecognizer
Inherits Recognizer
- Inheritance
Remarks
This will either use a cached LUIS response or generate a new one by calling LUIS.
Constructors
MockLuisRecognizer(LuisAdaptiveRecognizer, String, String) |
Initializes a new instance of the MockLuisRecognizer class. |
Methods
RecognizeAsync(DialogContext, Activity, CancellationToken, Dictionary<String,String>, Dictionary<String,Double>) |
Runs current DialogContext.TurnContext.Activity through a recognizer and returns a generic recognizer result. |