Understanding How Temperature Affects AI Responses