Thankfully, you can easily disable Ask Photos and Gemini features in Google Photos right from the app on your Android phone.
Google has put it's AI assistant in many of its most popular apps, but you can disable it if you won't want to use AI.