def test_empty_input(self):
        """Ensures function returns empty list when input is empty."""
        token_logprob_dicts = []
        expected_result = []
        result = _from_token_logprob_dicts(token_logprob_dicts)
        assert result == expected_result
Ensures function returns empty list when input is empty.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_utils.py