Google's chairman says the search giant can create your ideal artificial personal assistant. The catch? You need to give up more and more of your personal information.

In the next twenty years, Google (GOOGL) Chairman Eric Schmidt envisions a connected world with driverless cars and medical diagnostics on your cell phone.

He says technology like Google will guide people to better, smarter decisions.

"The evolution of Google is to go from you asking Google what to search for, to Google helping you anticipate, to make you smarter," Schmidt told CNNMoney. "You let Google know things, Google will help you. Will you use it? Absolutely, because it will be cheap or free."

Free, of course, with just a little information.

Related: Google rejects 58% of 'right to be forgotten' requests

Like any good personal assistant, Google needs to know everything about you. The search giant keeps track of what sites you visit, what you search, and who you email.

Schmidt points out that you can change your Google privacy settings to share less information, and anything you do share remains between you and Google. The company doesn't sell specific information about you to third party advertisers, though Google does anonymously share some more general information about you that allows companies to tailor ads.

As more people keep their whole lives online, concerns are surfacing about who really has access to that information. Schmidt says data breaches are going to happen less frequently as companies update their technology and security.

Related: Google says Tim Cook is wrong

Meanwhile, Google believes the more you give up, the more you'll get in return.