Compute the hallucination metric for a given input string

Computes the gamma metric for hallucination for a given LLM (the LLM calling this function should know what its model name is for usage in an API) and input and also shows the variety of answers given by the LLM for various perturbed inputs, which default to 3.