Generating output responses from the model