from pathlib import Path this_dir = Path(__file__).parent with (this_dir.parent / "meta_prompt.txt").open() as f: PROMPT_TEMPLATE = f.read() with (this_dir.parent / "example_input.txt").open() as f: EXAMPLE_INPUT = f.read() with (this_dir.parent / "example_output.txt").open() as f: EXAMPLE_OUTPUT = f.read()