def _convert_cached_embeddings_to_output(cached_embeddings: List[float]) -> List[List[float]]:
    """
    A function that converts cached embeddings List[float] to the expected output List[List[float]]

    Args:
        cached_embeddings (List[float]): The cached embeddings to convert
    Return:
        List[List[float]]: The converted embeddings in the expected output format
    """
    if not isinstance(cached_embeddings, list):
        raise TypeError(f"expected a list of floats but received {type(cached_embeddings)}")
    if not isinstance(cached_embeddings[0], float):
        raise TypeError(f"expected a list of floats but received {type(cached_embeddings[0])}")
    return [cached_embeddings, ]

    A function that converts cached embeddings List[float] to the expected output List[List[float]]

    Args:
        cached_embeddings (List[float]): The cached embeddings to convert
    Return:
        List[List[float]]: The converted embeddings in the expected output format
    
src/marqo/s2_inference/s2_inference.py