This reminds me of the great Sci-fi book series "Old Man's War", where the soldiers get a thought-controlled computer called "Brain Pal™" installed in their head. After installation they first have to choose a name and almost everyone uses a swear word for that. The main protagonist then keeps activating it with the phrase "Hey Asshole".
I'm pretty sure that this book came out way before Google Assistant.