Zuckerberg's AI voiced by Morgan Freeman

Mark Zuckerberg spent a year developing his own artificial-intelligence home butler, so he went for the best when it came to finding a voice: actor Morgan Freeman.

The Facebook founder and CEO revealed earlier this week that he'd finished the AI home assistant he'd been developing in his free time. Called Jarvis, the home AI assistant can control lighting and heating, as well as play music based on Zuckerberg's mood, open the front gate using facial recognition, and make him toast in the morning.

In the videos showing off the creation, the AI assistant has the standard robotic female voice. While still in the development process, Zuckerberg asked his Facebook followers who should be the voice of the system. The "Jarvis" name is an homage to the AI from the Iron Man films, inspiring Robert Downey Jr to offer his voice talents. However, the vote went to Freeman, known for his deep, authoritative voice.

Zuckerberg told Fast Company that he called up Freeman after seeing the actor at a science award earlier in the month, asking if he'd be Jarvis' voice. "Yeah, sure", was the answer. The report said it wasn't clear if or how much Freeman was paid for the odd work.

Much of the Jarvis AI system is actually text based, controlled with a an app or via a Facebook Messenger bot, but there are a few aspects that can be managed with voice. "Once you can speak to it, and it can speak back, it just feels much more I don't want to say part of the family, because that's too much but it just feels more embodied, so Max just loves it," Zuckerberg told Fast Company.

In his original blog post detailing Jarvis, Zuckerberg said he believes text "will be more important for communicating with AIs than people realise", but said voice will have a role, too.

"The most useful aspect of voice is that it's very fast. You don't need to take out your phone, open an app, and start typing you just speak," he said.

Zuckerberg had to build a dedicated iPhone app that listens to his speech all the time, saying it was similar to Amazon Echo, but he preferred it on his handset so it could be used out of the house.

He noted the speech recognition has come a long way, but remains more limited to specific uses than most people realise. "If you train a machine learning system on data from Google of people speaking to a search engine, it will perform relatively worse on Facebook at understanding people talking to real people," he noted. "In the case of Jarvis, training an AI that you'll talk to at close range is also different from training a system you'll talk to from all the way across the room, like Echo. These systems are more specialised than it appears, and that implies we are further off from having general systems than it might seem."

He added: "There's a lot more to explore with voice. The AI technology is just getting good enough for this to be the basis of a great product, and it will get much better in the next few years."