Detecting when LLMs are uncertain