The issue was by default the Apple Intelligence might not have been turned on and the models are not downloaded in the local device.
So, go to Setting -> Apple Intelligence & Siri -> Turn On Apple Intelligence
The models will start downloading. Check for response again, won't get that error again.