Write a Function to get the model repsonse