QnAMaker UCMA Sample
This is the source code which accompanies the blog post: Building a QnAMaker Bot in UCMA for Skype for Business On-Premise Environments
This sample application uses artificial intelligence capabilities from QnAMaker annd consumes them in UCMA to enable an on-premise Skype for Business application that can intelligently answer frequently asked questions (FAQs). More information in the blog post.
To quote James Whittaker: “you might be a creative if … you are less proud of the code you wrote than the possibilities it creates.”
This code is written in a hurry. It’s written in time snatched at home after work, at weekends, in between doing chores. It’s messy. Class files are large, nulls abound, comments are scarce. The potential for an exception to break everything is high. It’s still a Console Application.
And that’s OK. Because I’ve spent the limited time I’ve had in proving a point, in doing something which (as far I know) hasn’t been done yet. This code isn’t ready for production use, it’s meant as a learning aid, as a stepping stone to something greater. If you’re the sort of person that cares more about how the code looks than what it does, this code probably isn’t for you. Feel free to step out of the way of those of us that are happy to hold our noses in order to get stuff done. There is absolutely a time for well-written, easily maintainable code, but a POC is not it.
My name is Tom Morgan and I blog about developing software solutions with Microsoft Skype for Business, Microsoft Teams, Cognitive Services and AI. For more code samples, see the full list at thoughtstuff.co.uk/code