Esempio n. 1
0
        static async Task ReplaceAlterations(QnAMaker client)
        {
            var alt = new Alterations();

            alt.wordAlterations.Add(new Wordalteration()
            {
                alterations = new List <string>()
                {
                    "qnamaker",
                    "qna maker",
                    "banco de soluções"
                }
            });

            alt.wordAlterations.Add(new Wordalteration()
            {
                alterations = new List <string>()
                {
                    "botframework",
                    "bot framework",
                    "bote"
                }
            });

            alt.wordAlterations.Add(new Wordalteration()
            {
                alterations = new List <string>()
                {
                    "webchat",
                    "web chat",
                    "chate"
                }
            });

            await client.ReplaceAlterations(alt);
        }