示例#1
0
        public static MockQnAMaker CreateRecognizer()
        {
            var recognizer = new MockQnAMaker(defaultAnswer: CreateAnswer(@"Resources\chitchat_default.json"));

            recognizer.RegisterAnswers(_utterances);
            return(recognizer);
        }
        public static MockQnAMaker CreateRecognizer()
        {
            var recognizer = new MockQnAMaker(defaultAnswer: CreateAnswer(Path.Combine("Resources", "faq_default.json")));

            recognizer.RegisterAnswers(_utterances);
            return(recognizer);
        }