def METHOD_NAME(self, prompts):
    """Generates an embedding for the given text prompts.
    Args:
        prompts: an iterable of text strings
    Returns:
        a ``num_prompts x num_dims`` array of prompt embeddings
    """
    return self._embed_prompts(prompts).detach().cpu().numpy()