def METHOD_NAME(encoded_params: dict) -> dict:
    """
    Decode a SageMaker parameters dictionary where all values are strings.
    Example:
    >>> decode_sagemaker_parameters({
    ...     "foo": "[1, 2, 3]",
    ...     "bar": "hello"
    ... })
    {'foo': [1, 2, 3], 'bar': 'hello'}
    """
    return valmap(decode_sagemaker_parameter, encoded_params)