def _summarized_groundedness(self, premise: str, hypothesis: str) -> float:
        """A groundedness measure best used for summarized premise against
        simple hypothesis.

        This HuggingFace implementation uses NLI.

        Args:
            premise (str): NLI Premise hypothesis (str): NLI Hypothesis

        Returns:
            float: NLI Entailment
        """

        if not "." == premise[len(premise) - 1]:
            premise = premise + "."
        nli_string = "<s> " + premise + " </s><s> " + hypothesis + " </s>"
        return self._summarized_groundedness_endpoint(nli_string)
A groundedness measure best used for summarized premise against
        simple hypothesis.

        This HuggingFace implementation uses NLI.

        Args:
            premise (str): NLI Premise hypothesis (str): NLI Hypothesis

        Returns:
            float: NLI Entailment
        
src/providers/huggingface/trulens/providers/huggingface/provider.py