def read_global_config_value(name: Text, unavailable_ok: bool=True) -> Any:
    'Read a value from the global Rasa configuration.'

    def not_found():
        if unavailable_ok:
            return None
        else:
            raise ValueError(f"Configuration '{name}' key not found.")
    config_path = rasa.constants.GLOBAL_USER_CONFIG_PATH
    if (not os.path.exists(config_path)):
        return not_found()
    c = read_global_config(config_path)
    if (name in c):
        return c[name]
    else:
        return not_found()
Read a value from the global Rasa configuration.
def read_global_config_value(name: Text, unavailable_ok: bool=True) -> Any:
    

    def not_found():
        if unavailable_ok:
            return None
        else:
            raise ValueError(f"Configuration '{name}' key not found.")
    config_path = rasa.constants.GLOBAL_USER_CONFIG_PATH
    if (not os.path.exists(config_path)):
        return not_found()
    c = read_global_config(config_path)
    if (name in c):
        return c[name]
    else:
        return not_found()