def get_value(amps, path):
    """
    This function extracts a value from a nested dictionary
    by following the path of the value.
    """
    current_value = amps
    for key in path.split('/')[1:]:
        current_value = current_value[key]

    return current_value