If identification isn’t enough, you can set the iPhone to block notifications for any number not in your personal network.
Open the Settings app, and tap Apple Intelligence & Siri. Scroll down to Extensions and tap ChatGPT. Switch off the toggle ...