public void GetLuisReponseTest() { string[] query = new string[] { @"Line 16 remove ""This"" and replace with ""That""" }; string response = LuisEndPoints.GetCompositeResponse(query); //string expectedModel = System.IO.File.ReadAllText(""); Assert.True(true); }
public string CheckForCompositeEntityMatch(string[] query, ResponseType responseType) { switch (responseType) { case ResponseType.CompositeEntity: return(LuisEndPoints.GetCompositeResponse(query)); case ResponseType.TopScoringIntent: return(LuisEndPoints.GetTopScoringIntent(query)); default: return(LuisEndPoints.GetFullLuisModel(query)); } }