import pathlib


def resolve_output_path(file_path):
    """Resolves and creates the output path for a given examples artifacts

    Args:
        file_path (str): file path string

    Returns:
        [str]: path to the examples output
    """

    output_path = f"{file_path}/output"

    pathlib.Path(output_path).mkdir(parents=True, exist_ok=True)

    return output_path