Added a function to get confidence scores from the user.