Many developers think that the artificial intelligence is a hard task to accomplish. Some will think about creating a virtual assistant who will answer to commands not by typing but by just having a conversation like an almost human chat. This pattern has what you need to create this virtual assistant, which I call Watson-Alex.

With simple setup of IBM cognitive services, this application will take in a voice recording through a microphone, convert it to text, check what was asked to do (whether to check the weather or perform IoT actions), analyze the tone, convert it to a speech to speak it aloud or also take action at the same time.

This is just a start. I hope you like it and share with us what you end up building with this pattern.