def test_empty_logprobs(self):
        """Ensures function returns empty list when no logprobs are provided."""
        logprobs = {}
        expected_result = []
        result = _from_completion_logprobs_dict(logprobs)
        assert result == expected_result
Ensures function returns empty list when no logprobs are provided.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_utils.py