General Motors said Wednesday it had reached a partnership to integrate tech giant IBM's artificial intelligence platform into its vehicle infotainment system, giving it the ability to make dining recommendations and order prescriptions.

The Detroit-based automaker will pair IBM's Watson with its popular safety and connectivity system in more than 2 million 4G LTE-connected vehicles to create OnStar Go.

The company said examples of how the pairing could bear fruit include getting dining recommendations, reminders about the need to buy household items and help retrieving prescriptions from the pharmacy.

Among the first applications: Drivers will be able to use the "cognitive mobility platform" to locate ExxonMobil gas stations and pay on screen in the vehicle, GM said. They will also be able to use the OnStar Go system to get customized music playlists from mobile app iHeartRadio. And Mastercard is integrating payments capability into the vehicle through a secure tokenization platform.

"By leveraging OnStar’s connectivity and combining it with the power of Watson, we’re looking to provide safer, simpler and better solutions to make our customers’ mobility experience more valuable and productive," said Phil Abram, executive director of connected products and strategy for GM, in a statement.

Follow USA TODAY reporter Nathan Bomey on Twitter @NathanBomey.